summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-12-01 17:15:32 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-07 13:24:00 (GMT)
commit8f47a5f16aa685e15e6b49c0b90a58b18ea38d0a (patch)
treea8476a57b461bc1b74b89bf09dd9417ac0c6162c /Source/cmGeneratorTarget.h
parent057ac11bfbc5501c8037b173a73a55466163774d (diff)
downloadCMake-8f47a5f16aa685e15e6b49c0b90a58b18ea38d0a.zip
CMake-8f47a5f16aa685e15e6b49c0b90a58b18ea38d0a.tar.gz
CMake-8f47a5f16aa685e15e6b49c0b90a58b18ea38d0a.tar.bz2
cmGeneratorTarget: Add AddIncludeDirectory method (experimental)
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 4c3c14b..f568699 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -396,6 +396,12 @@ public:
void AddTracedSources(std::vector<std::string> const& srcs);
/**
+ * Adds an entry to the INCLUDE_DIRECTORIES list.
+ * If before is true the entry is pushed at the front.
+ */
+ void AddIncludeDirectory(const std::string& src, bool before = false);
+
+ /**
* Flags for a given source file as used in this target. Typically assigned
* via SET_TARGET_PROPERTIES when the property is a list of source files.
*/