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 "cmEnableTestingCommand.h"
5 #include "cmExecutionStatus.h"
6 #include "cmMakefile.h"
8 bool cmEnableTestingCommand(std::vector<std::string> const&,
9 cmExecutionStatus& status)
11 status.GetMakefile().AddDefinition("CMAKE_TESTING_ENABLED", "1");