cmFindLibraryRule.cxx 399 B

123456789101112131415161718
  1. #include "cmFindLibraryRule.h"
  2. // cmFindLibraryRule
  3. bool cmFindLibraryRule::Invoke(std::vector<std::string>& args)
  4. {
  5. return false;
  6. if(args.size() < 1 )
  7. {
  8. this->SetError("called with incorrect number of arguments");
  9. return false;
  10. }
  11. for(std::vector<std::string>::iterator i = args.begin();
  12. i != args.end(); ++i)
  13. {
  14. m_Makefile->AddDefineFlag((*i).c_str());
  15. }
  16. }