2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2001-06-06 17:58:18 +00:00
|
|
|
#include "cmEnableTestingCommand.h"
|
|
|
|
|
2016-10-25 18:35:04 +00:00
|
|
|
#include "cmMakefile.h"
|
|
|
|
|
|
|
|
class cmExecutionStatus;
|
|
|
|
|
2012-08-13 17:42:58 +00:00
|
|
|
// we do this in the final pass so that we now the subdirs have all
|
2001-06-06 17:58:18 +00:00
|
|
|
// been defined
|
2008-01-23 15:28:26 +00:00
|
|
|
bool cmEnableTestingCommand::InitialPass(std::vector<std::string> const&,
|
2016-05-16 14:34:04 +00:00
|
|
|
cmExecutionStatus&)
|
2003-12-29 21:27:06 +00:00
|
|
|
{
|
2016-05-16 14:34:04 +00:00
|
|
|
this->Makefile->AddDefinition("CMAKE_TESTING_ENABLED", "1");
|
2003-12-29 21:27:06 +00:00
|
|
|
return true;
|
|
|
|
}
|