summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-10 13:02:41 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-10 13:34:12 (GMT)
commit8f076acdb0af6e319005338e3e25d127043e3275 (patch)
tree6c8a60642c5142d937b6b67ae465bdc4bed1ea47 /Source/cmLocalGenerator.h
parentf39bc297dbd5fbce2f547408e583f0e9a8205aef (diff)
downloadCMake-8f076acdb0af6e319005338e3e25d127043e3275.zip
CMake-8f076acdb0af6e319005338e3e25d127043e3275.tar.gz
CMake-8f076acdb0af6e319005338e3e25d127043e3275.tar.bz2
cmLocalGenerator: Remove AddCompileDefinitions method
This method offers the same definitions as `GetTargetDefines` except that it excludes the "export" macro on shared libraries. Update call sites to use `GetTargetDefines` instead. Some of them were incorrectly excluding the export macro.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 58b7762..f8d70ca 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -251,10 +251,6 @@ public:
bool appendAllImplicitDirs = false) const;
void AddCompileOptions(std::string& flags, cmGeneratorTarget* target,
const std::string& lang, const std::string& config);
- void AddCompileDefinitions(std::set<std::string>& defines,
- cmGeneratorTarget const* target,
- const std::string& config,
- const std::string& lang) const;
std::string GetProjectName() const;