diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2015-03-12 16:44:36 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-08-27 10:49:53 (GMT) |
commit | 9b6797e71d28d4ee201cb0f8ed5efa39784a2af3 (patch) | |
tree | 7d2f9dea125a78743b12d6e000eccb5b0679dab8 /Source/cmCommands.cxx | |
parent | 0467a2f91b632e9eb69805b7f0a2034ed4c8f39e (diff) | |
download | CMake-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.cxx | 4 |
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", |