diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2016-09-23 10:15:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-19 15:14:19 (GMT) |
commit | f27492a4db2c56f334b2ca5c746b01b8e9a04995 (patch) | |
tree | 4d89162f6654d7fa30dbcbaebf77b694826b222d /Source/cmVisualStudioGeneratorOptions.cxx | |
parent | 4f78b9ff2df89d5b4104f92251feb0a7f0976d7f (diff) | |
download | CMake-f27492a4db2c56f334b2ca5c746b01b8e9a04995.zip CMake-f27492a4db2c56f334b2ca5c746b01b8e9a04995.tar.gz CMake-f27492a4db2c56f334b2ca5c746b01b8e9a04995.tar.bz2 |
VS: Add internal API for detecting "managed" projects
This is in preparation for adding CSharp language support to the VS
generator.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.cxx')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx index 9badda6..4be183d 100644 --- a/Source/cmVisualStudioGeneratorOptions.cxx +++ b/Source/cmVisualStudioGeneratorOptions.cxx @@ -137,6 +137,11 @@ bool cmVisualStudioGeneratorOptions::IsWinRt() const return this->FlagMap.find("CompileAsWinRT") != this->FlagMap.end(); } +bool cmVisualStudioGeneratorOptions::IsManaged() const +{ + return this->FlagMap.find("CompileAsManaged") != this->FlagMap.end(); +} + bool cmVisualStudioGeneratorOptions::UsingUnicode() const { // Look for the a _UNICODE definition. |