diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-12 08:12:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-12 14:57:36 (GMT) |
commit | d7dd01083a99055d689c80fe28bbc79a11bf3da1 (patch) | |
tree | 9da31f8cdfcd313524513b73e2e585684ff4eaa4 /Source/cmTarget.h | |
parent | 184121538c2576b2113c0e256ecb0cd9ac354134 (diff) | |
download | CMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.zip CMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.tar.gz CMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.tar.bz2 |
Add target property debugging for COMPILE_DEFINITIONS
Use constructs similar to those for COMPILE_OPTIONS. This is a little
different because there is a command to remove_definitions(), so
we can't populate the equivalent target property until generate-time
in cmGlobalGenerator.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index ab3dff2..adaae47 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -514,6 +514,8 @@ public: bool before = false); void InsertCompileOption(const cmValueWithOrigin &entry, bool before = false); + void InsertCompileDefinition(const cmValueWithOrigin &entry, + bool before = false); void AppendBuildInterfaceIncludes(); @@ -650,6 +652,7 @@ private: bool IsImportedTarget; bool DebugIncludesDone; bool DebugCompileOptionsDone; + bool DebugCompileDefinitionsDone; mutable std::set<std::string> LinkImplicitNullProperties; bool BuildInterfaceIncludesAppended; |