https://github.com/Kitware/CMake
Revision 3453e6bd480c67c4a9cb3275c4dc982aa07b8155 authored by Craig Scott on 19 August 2022, 04:30:50 UTC, committed by Craig Scott on 19 August 2022, 04:30:50 UTC
2 parent s 26f824f + 8981e88
Raw File
Tip revision: 3453e6bd480c67c4a9cb3275c4dc982aa07b8155 authored by Craig Scott on 19 August 2022, 04:30:50 UTC
Merge branch 'backport-3.24-doc-ctest_test-output-control' into doc-ctest_test-output-control
Tip revision: 3453e6b
cmEnableTestingCommand.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#include "cmEnableTestingCommand.h"

#include "cmExecutionStatus.h"
#include "cmMakefile.h"

bool cmEnableTestingCommand(std::vector<std::string> const&,
                            cmExecutionStatus& status)
{
  status.GetMakefile().AddDefinition("CMAKE_TESTING_ENABLED", "1");
  return true;
}
back to top