summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio15Generator.cxx
diff options
context:
space:
mode:
authorDon Olmstead <don.j.olmstead@gmail.com>2016-10-18 00:50:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-25 13:19:49 (GMT)
commite2ed9a70929092ab7b32e036886859e53fbff897 (patch)
tree8da37a4d6ab2242391b943421a2080f8db02f8e9 /Source/cmGlobalVisualStudio15Generator.cxx
parent584ab5285b51945e0dd523caf77342985ac97ce4 (diff)
downloadCMake-e2ed9a70929092ab7b32e036886859e53fbff897.zip
CMake-e2ed9a70929092ab7b32e036886859e53fbff897.tar.gz
CMake-e2ed9a70929092ab7b32e036886859e53fbff897.tar.bz2
VS: Move toolset flag table lookup to global generator
Move `Get*FlagTable` methods to the global generator and have each VS generator version pre-populate its default flag table.
Diffstat (limited to 'Source/cmGlobalVisualStudio15Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio15Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.cxx b/Source/cmGlobalVisualStudio15Generator.cxx
index a833a5f..fbc7a10 100644
--- a/Source/cmGlobalVisualStudio15Generator.cxx
+++ b/Source/cmGlobalVisualStudio15Generator.cxx
@@ -5,6 +5,7 @@
#include "cmAlgorithms.h"
#include "cmLocalVisualStudio10Generator.h"
#include "cmMakefile.h"
+#include "cmVS141CLFlagTable.h"
static const char vs15generatorName[] = "Visual Studio 15";
@@ -80,6 +81,7 @@ cmGlobalVisualStudio15Generator::cmGlobalVisualStudio15Generator(
"ProductDir",
vc15Express, cmSystemTools::KeyWOW64_32);
this->DefaultPlatformToolset = "v141";
+ this->DefaultClFlagTable = cmVS141CLFlagTable;
this->Version = VS15;
}