[cmake-developers] Autogen subdirectories patches
Ben Boeckel
ben.boeckel at kitware.com
Wed Jul 27 13:31:06 EDT 2016
On Wed, Jul 27, 2016 at 17:49:40 +0200, Sebastian Holtermann wrote:
> Is there an error exit function in CMake?
> Or just exit(-1);
Here's an example I found:
this->Makefile->IssueMessage(
cmake::INTERNAL_ERROR, "fileFound is true but FileFound is empty!");
after that, it is treated as if an error occurred; this loop should
probably be bailed from.
--Ben
More information about the cmake-developers
mailing list