summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-26 02:40:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-29 19:11:49 (GMT)
commit0e10782ba795050e1ea82530d79c323f60478df4 (patch)
treeb6d8b92725537591b13f0f7a439008f5516178cf /Source/cmTarget.h
parent21fc6c46df7f2271d7baace04f239f031785b917 (diff)
downloadCMake-0e10782ba795050e1ea82530d79c323f60478df4.zip
CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.gz
CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.bz2
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 9909bae..11dfdf7 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