diff options
author | Brad King <brad.king@kitware.com> | 2013-01-29 19:52:13 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-29 19:52:13 (GMT) |
commit | 3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd (patch) | |
tree | 255649e6fb377ba37579f90d82a6532382befef2 /Source/cmTarget.h | |
parent | c42deac744e1f5637ab592d696b3e8709da2a10c (diff) | |
parent | 429e369974015640d7a0878d986e3e418b42b7a4 (diff) | |
download | CMake-3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd.zip CMake-3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd.tar.gz CMake-3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd.tar.bz2 |
Merge topic 'fix-automoc-compile-defs'
429e369 Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc.
0e10782 Move GetCompileDefinitions to cmTarget.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 4457bec..cf2d4c4 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -430,6 +430,8 @@ public: If no macro should be defined null is returned. */ const char* GetExportMacro(); + std::string GetCompileDefinitions(const char *config = 0); + // Compute the set of languages compiled by the target. This is // computed every time it is called because the languages can change // when source file properties are changed and we do not have enough |