1
0

cmEndWhileCommand.cxx 943 B

1234567891011121314151617181920212223
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #include "cmEndWhileCommand.h"
  11. bool cmEndWhileCommand
  12. ::InvokeInitialPass(std::vector<cmListFileArgument> const&,
  13. cmExecutionStatus &)
  14. {
  15. this->SetError("An ENDWHILE command was found outside of a proper "
  16. "WHILE ENDWHILE structure. Or its arguments did not "
  17. "match the opening WHILE command.");
  18. return false;
  19. }