summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-29 19:52:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-29 19:52:13 (GMT)
commit3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd (patch)
tree255649e6fb377ba37579f90d82a6532382befef2 /Source/cmTarget.h
parentc42deac744e1f5637ab592d696b3e8709da2a10c (diff)
parent429e369974015640d7a0878d986e3e418b42b7a4 (diff)
downloadCMake-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.h2
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