2016-09-27 22:01:08 +03: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 21:58:18 +04:00
|
|
|
#include "cmEnableTestingCommand.h"
|
|
|
|
|
2012-08-13 21:42:58 +04:00
|
|
|
// we do this in the final pass so that we now the subdirs have all
|
2001-06-06 21:58:18 +04:00
|
|
|
// been defined
|
2008-01-23 18:28:26 +03:00
|
|
|
bool cmEnableTestingCommand::InitialPass(std::vector<std::string> const&,
|
2016-05-16 17:34:04 +03:00
|
|
|
cmExecutionStatus&)
|
2003-12-30 00:27:06 +03:00
|
|
|
{
|
2016-05-16 17:34:04 +03:00
|
|
|
this->Makefile->AddDefinition("CMAKE_TESTING_ENABLED", "1");
|
2003-12-30 00:27:06 +03:00
|
|
|
return true;
|
|
|
|
}
|