diff options
author | Brad King <brad.king@kitware.com> | 2017-03-29 13:14:50 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-03-29 09:14:54 -0400 |
commit | 6dc7262bf77f551a7f3c36d7ca3023c63ef20af8 (patch) | |
tree | 456a43d8f048f74bfc8de345c0a984c58431d9b4 /Source/cmIDEOptions.cxx | |
parent | 4a6a27ad85a4be666a3bb4260105a54ba1cea0eb (diff) | |
parent | fff34934e70da77c359e47c53ffd04701bcd7611 (diff) | |
download | cmake-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.cxx | 5 |
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; |