diff options
author | Brad King <brad.king@kitware.com> | 2008-07-29 18:01:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-07-29 18:01:04 (GMT) |
commit | 01d143c77b7d50424950e59ef2912de31f836de5 (patch) | |
tree | a0dc27fde8d2c4d091222fab4b26e3933812151a /Source/cmOrderDirectories.h | |
parent | 478fbdfc238dade9d10bb7cc199de0108c900a39 (diff) | |
download | CMake-01d143c77b7d50424950e59ef2912de31f836de5.zip CMake-01d143c77b7d50424950e59ef2912de31f836de5.tar.gz CMake-01d143c77b7d50424950e59ef2912de31f836de5.tar.bz2 |
ENH: Provide context in path ordering warnings
Diffstat (limited to 'Source/cmOrderDirectories.h')
-rw-r--r-- | Source/cmOrderDirectories.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h index 00a5955..aa09a4e 100644 --- a/Source/cmOrderDirectories.h +++ b/Source/cmOrderDirectories.h @@ -24,6 +24,7 @@ class cmGlobalGenerator; class cmOrderDirectoriesConstraint; class cmOrderDirectoriesConstraintLibrary; +class cmTarget; /** \class cmOrderDirectories * \brief Compute a safe runtime path order for a set of shared libraries. @@ -31,7 +32,7 @@ class cmOrderDirectoriesConstraintLibrary; class cmOrderDirectories { public: - cmOrderDirectories(cmGlobalGenerator* gg, const char* name, + cmOrderDirectories(cmGlobalGenerator* gg, cmTarget* target, const char* purpose); ~cmOrderDirectories(); void AddRuntimeLibrary(std::string const& fullPath, const char* soname = 0); @@ -44,7 +45,7 @@ public: std::vector<std::string> const& GetOrderedDirectories(); private: cmGlobalGenerator* GlobalGenerator; - std::string Name; + cmTarget* Target; std::string Purpose; bool Computed; |