diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-07 23:34:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-10 14:46:58 (GMT) |
commit | fc61a7a746c3c899d42ccff3014686365c36ee11 (patch) | |
tree | 1a8079e72ae1d66b8f73303fb12f73e696aa1e86 /Source/cmCommands.cxx | |
parent | 8a37ebec784cefe4f04cb8897c23a014c3930052 (diff) | |
download | CMake-fc61a7a746c3c899d42ccff3014686365c36ee11.zip CMake-fc61a7a746c3c899d42ccff3014686365c36ee11.tar.gz CMake-fc61a7a746c3c899d42ccff3014686365c36ee11.tar.bz2 |
Add the target_compile_definitions command.
This is a convenience API to populate the corresponding properties.
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 6b315ea..227b226 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -28,6 +28,7 @@ #include "cmRemoveDefinitionsCommand.cxx" #include "cmSourceGroupCommand.cxx" #include "cmSubdirDependsCommand.cxx" +#include "cmTargetCompileDefinitionsCommand.cxx" #include "cmTargetIncludeDirectoriesCommand.cxx" #include "cmTargetPropCommandBase.cxx" #include "cmUseMangledMesaCommand.cxx" @@ -69,6 +70,7 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands.push_back(new cmSourceGroupCommand); commands.push_back(new cmSubdirDependsCommand); commands.push_back(new cmTargetIncludeDirectoriesCommand); + commands.push_back(new cmTargetCompileDefinitionsCommand); commands.push_back(new cmUseMangledMesaCommand); commands.push_back(new cmUtilitySourceCommand); commands.push_back(new cmVariableRequiresCommand); |