cmSubdirRule.cxx 384 B

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