summaryrefslogtreecommitdiff
path: root/Source/cmIDEOptions.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-29 13:14:50 +0000
committerKitware Robot <kwrobot@kitware.com>2017-03-29 09:14:54 -0400
commit6dc7262bf77f551a7f3c36d7ca3023c63ef20af8 (patch)
tree456a43d8f048f74bfc8de345c0a984c58431d9b4 /Source/cmIDEOptions.cxx
parent4a6a27ad85a4be666a3bb4260105a54ba1cea0eb (diff)
parentfff34934e70da77c359e47c53ffd04701bcd7611 (diff)
downloadcmake-6dc7262bf77f551a7f3c36d7ca3023c63ef20af8.tar.gz
Merge topic 'vs-rc-defines'
fff34934 MSVC: Restore _DEBUG preprocessor definition in RC debug builds 79a91538 RC: Add missing CMAKE_RC_FLAGS_<CONFIG> entries to cache c77194ec VS: Honor preprocessor definitions in RC flags 1449f6f6 cmVisualStudio10TargetGenerator: De-duplicate preprocessor defs 8a619e8c cmIDEOptions: Add GetDefines method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !640
Diffstat (limited to 'Source/cmIDEOptions.cxx')
-rw-r--r--Source/cmIDEOptions.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmIDEOptions.cxx b/Source/cmIDEOptions.cxx
index 1c0a99e2c6..bda6b750fd 100644
--- a/Source/cmIDEOptions.cxx
+++ b/Source/cmIDEOptions.cxx
@@ -150,6 +150,11 @@ void cmIDEOptions::AddDefines(const std::vector<std::string>& defines)
this->Defines.insert(this->Defines.end(), defines.begin(), defines.end());
}
+std::vector<std::string> const& cmIDEOptions::GetDefines() const
+{
+ return this->Defines;
+}
+
void cmIDEOptions::AddFlag(const char* flag, const char* value)
{
this->FlagMap[flag] = value;