summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2016-09-23 10:15:40 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-19 15:14:19 (GMT)
commitf27492a4db2c56f334b2ca5c746b01b8e9a04995 (patch)
tree4d89162f6654d7fa30dbcbaebf77b694826b222d /Source/cmVisualStudioGeneratorOptions.cxx
parent4f78b9ff2df89d5b4104f92251feb0a7f0976d7f (diff)
downloadCMake-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.cxx5
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.