mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user