diff options
author | Pavel Solodovnikov <hellyeahdominate@gmail.com> | 2017-06-22 07:53:42 (GMT) |
---|---|---|
committer | Pavel Solodovnikov <hellyeahdominate@gmail.com> | 2017-06-22 07:53:42 (GMT) |
commit | d44bd1c25f3a1cba977eee5a6b2f5bd14c46c73d (patch) | |
tree | 627bd0cbe3d05955bea82c7dbf1e6636f0d5ea22 /Source/cmCommands.cxx | |
parent | 4ba2d2e3d76cb1ec04c612f9646c47d3f1231ad2 (diff) | |
download | CMake-d44bd1c25f3a1cba977eee5a6b2f5bd14c46c73d.zip CMake-d44bd1c25f3a1cba977eee5a6b2f5bd14c46c73d.tar.gz CMake-d44bd1c25f3a1cba977eee5a6b2f5bd14c46c73d.tar.bz2 |
include_guard: implement new command
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index e1d8ef1..485dd50 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -42,6 +42,7 @@ #include "cmIfCommand.h" #include "cmIncludeCommand.h" #include "cmIncludeDirectoryCommand.h" +#include "cmIncludeGuardCommand.h" #include "cmIncludeRegularExpressionCommand.h" #include "cmInstallCommand.h" #include "cmInstallFilesCommand.h" @@ -132,6 +133,7 @@ void GetScriptingCommands(cmState* state) state->AddBuiltinCommand("get_property", new cmGetPropertyCommand); state->AddBuiltinCommand("if", new cmIfCommand); state->AddBuiltinCommand("include", new cmIncludeCommand); + state->AddBuiltinCommand("include_guard", new cmIncludeGuardCommand); state->AddBuiltinCommand("list", new cmListCommand); state->AddBuiltinCommand("macro", new cmMacroCommand); state->AddBuiltinCommand("make_directory", new cmMakeDirectoryCommand); |