summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2015-03-12 16:44:36 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-08-27 10:49:53 (GMT)
commit9b6797e71d28d4ee201cb0f8ed5efa39784a2af3 (patch)
tree7d2f9dea125a78743b12d6e000eccb5b0679dab8 /Source/cmCommands.cxx
parent0467a2f91b632e9eb69805b7f0a2034ed4c8f39e (diff)
downloadCMake-9b6797e71d28d4ee201cb0f8ed5efa39784a2af3.zip
CMake-9b6797e71d28d4ee201cb0f8ed5efa39784a2af3.tar.gz
CMake-9b6797e71d28d4ee201cb0f8ed5efa39784a2af3.tar.bz2
PCH: add target_precompile_headers command
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index ead16d2..41aabbb 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -78,6 +78,7 @@
#include "cmTargetCompileOptionsCommand.h"
#include "cmTargetIncludeDirectoriesCommand.h"
#include "cmTargetLinkLibrariesCommand.h"
+#include "cmTargetPrecompileHeadersCommand.h"
#include "cmTargetSourcesCommand.h"
#include "cmTryCompileCommand.h"
#include "cmTryRunCommand.h"
@@ -277,6 +278,9 @@ void GetProjectCommands(cmState* state)
state->AddBuiltinCommand("try_compile",
cm::make_unique<cmTryCompileCommand>());
state->AddBuiltinCommand("try_run", cm::make_unique<cmTryRunCommand>());
+ state->AddBuiltinCommand(
+ "target_precompile_headers",
+ cm::make_unique<cmTargetPrecompileHeadersCommand>());
#if !defined(CMAKE_BOOTSTRAP)
state->AddBuiltinCommand("add_compile_definitions",