cmEndWhileCommand.cxx 546 B

1234567891011121314
  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. bool cmEndWhileCommand::InitialPass(std::vector<std::string> const&,
  6. cmExecutionStatus&)
  7. {
  8. this->SetError("An ENDWHILE command was found outside of a proper "
  9. "WHILE ENDWHILE structure. Or its arguments did not "
  10. "match the opening WHILE command.");
  11. return false;
  12. }