summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-02 19:23:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-02 19:23:09 (GMT)
commit0d63bdd2d9690cfdb43671af7465704675a68733 (patch)
tree17370b9ce679a48de0ed5f3baf7cddd27ed08e01 /Source/cmGlobalGenerator.h
parentc0ea0604a0dcd1d580e9b6a976aae0069cab2986 (diff)
parentd25ad482e978cbf5e4fcfa8b1dcc342ba93dcda0 (diff)
downloadCMake-0d63bdd2d9690cfdb43671af7465704675a68733.zip
CMake-0d63bdd2d9690cfdb43671af7465704675a68733.tar.gz
CMake-0d63bdd2d9690cfdb43671af7465704675a68733.tar.bz2
Merge topic 'rpath-default'
d25ad48 OS X: Add CMP0042 to enable MACOSX_RPATH by default
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index f60d24d..049b0e6 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -315,6 +315,8 @@ public:
bool GenerateImportFile(const std::string &file);
cmExportBuildFileGenerator*
GetExportedTargetsFile(const std::string &filename) const;
+ void AddCMP0042WarnTarget(const std::string& target);
+
protected:
typedef std::vector<cmLocalGenerator*> GeneratorVector;
// for a project collect all its targets by following depend
@@ -449,6 +451,9 @@ private:
// Set of binary directories on disk.
std::set<cmStdString> BinaryDirectories;
+
+ // track targets to issue CMP0042 warning for.
+ std::set<std::string> CMP0042WarnTargets;
};
#endif