summaryrefslogtreecommitdiffstats
path: root/Source/cmAddLibraryCommand.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/cmAddLibraryCommand.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/cmAddLibraryCommand.h')
-rw-r--r--Source/cmAddLibraryCommand.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index e13870e..cb41ccc 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -44,6 +44,13 @@ public:
virtual bool InitialPass(std::vector<std::string> const& args);
/**
+ * This is called at the end after all the information specified by
+ * the command is accumulated. This is where we add in the
+ * dependencies that were globally specified.
+ */
+ virtual void FinalPass();
+
+ /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "ADD_LIBRARY";}
@@ -72,6 +79,9 @@ public:
}
cmTypeMacro(cmAddLibraryCommand, cmCommand);
+
+private:
+ std::string m_LibName;
};