summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-05-01 20:33:27 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-05-01 20:33:27 (GMT)
commit099436db26c0a46b3df4b5aaf51e8777e35bfe06 (patch)
treecdcbf890cd3e3cc61b9cb398d1a00ee1d53325be /Source/cmMakefile.h
parent36f80fe6c8f7593462c450789b01f4eb37792996 (diff)
downloadCMake-099436db26c0a46b3df4b5aaf51e8777e35bfe06.zip
CMake-099436db26c0a46b3df4b5aaf51e8777e35bfe06.tar.gz
CMake-099436db26c0a46b3df4b5aaf51e8777e35bfe06.tar.bz2
ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index d6db91c..742e622 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -155,13 +155,13 @@ public:
const std::vector<std::string> &depends,
const std::vector<std::string> &outputs);
- /**
- * Get a list of link libraries in the build.
- */
- cmTarget::LinkLibraries& GetLinkLibraries()
- {
- return m_LinkLibraries;
- }
+// /**
+// * Get a list of link libraries in the build.
+// */
+// cmTarget::LinkLibraries& GetLinkLibraries()
+// {
+// return m_LinkLibraries;
+// }
/**
* Get a list of link libraries in the build.
@@ -519,6 +519,11 @@ public:
///! Enable support for the named language, if null then all languages are enabled.
void EnableLanguage(const char* );
+
+ /**
+ * Adds the specified library to the explicit dependency list of target.
+ */
+ void AddDependencyToCache( std::string target, const std::string& lib );
protected:
std::string m_Prefix;