summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableTestingCommand.cxx
blob: 89212c8013117c96a5aad0b3ad7b3184d7e69c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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;
}