mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
19 lines
405 B
C++
19 lines
405 B
C++
#include "cmLinkLibrariesRule.h"
|
|
|
|
// cmLinkLibrariesRule
|
|
bool cmLinkLibrariesRule::Invoke(std::vector<std::string>& args)
|
|
{
|
|
if(args.size() < 1 )
|
|
{
|
|
this->SetError("called with incorrect number of arguments");
|
|
return false;
|
|
}
|
|
for(std::vector<std::string>::iterator i = args.begin();
|
|
i != args.end(); ++i)
|
|
{
|
|
m_Makefile->AddLinkLibrary((*i).c_str());
|
|
}
|
|
return true;
|
|
}
|
|
|