summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-16 15:15:28 +0200
committerStephen Kelly <steveire@gmail.com>2013-06-02 11:56:37 +0200
commit80ca9c4b41ecdce069a6c3f4c1b558084a748876 (patch)
treee96eb29cd532378cd79c3e3ea4bb975ffbc2e285 /Source/cmTarget.h
parent7cb23084b2595d06aea46cead0e077b5f13aeddb (diff)
downloadcmake-80ca9c4b41ecdce069a6c3f4c1b558084a748876.tar.gz
Add COMPILE_OPTIONS target property.
This method reads generator expressions from the COMPILE_OPTIONS target property, as well as INTERFACE_COMPILE_OPTIONS from linked dependents.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 508fc11ea3..7ec10dff13 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -503,6 +503,9 @@ public:
void AppendBuildInterfaceIncludes();
+ void GetCompileOptions(std::vector<std::string> &result,
+ const char *config);
+
bool IsNullImpliedByLinkLibraries(const std::string &p);
bool IsLinkInterfaceDependentBoolProperty(const std::string &p,
const char *config);
@@ -627,6 +630,7 @@ private:
bool IsApple;
bool IsImportedTarget;
bool DebugIncludesDone;
+ bool DebugCompileOptionsDone;
mutable std::set<std::string> LinkImplicitNullProperties;
bool BuildInterfaceIncludesAppended;