ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries.

This commit is contained in:
Amitha Perera
2002-05-01 16:33:27 -04:00
parent 36f80fe6c8
commit 099436db26
6 changed files with 62 additions and 29 deletions
+10
View File
@@ -43,6 +43,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.
*/
@@ -72,6 +79,9 @@ public:
}
cmTypeMacro(cmAddLibraryCommand, cmCommand);
private:
std::string m_LibName;
};