https://github.com/Kitware/CMake
Raw File
Tip revision: 3cc3d42aba879fff5e85b363ae8f21386a3f9f9b authored by Brad King on 06 October 2020, 12:28:17 UTC
CMake 3.18.4
Tip revision: 3cc3d42
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