cmEndWhileCommand.cxx 553 B

123456789101112131415
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #include "cmEndWhileCommand.h"
  4. class cmExecutionStatus;
  5. struct cmListFileArgument;
  6. bool cmEndWhileCommand::InvokeInitialPass(
  7. std::vector<cmListFileArgument> const&, cmExecutionStatus&)
  8. {
  9. this->SetError("An ENDWHILE command was found outside of a proper "
  10. "WHILE ENDWHILE structure. Or its arguments did not "
  11. "match the opening WHILE command.");
  12. return false;
  13. }