summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-26 16:51:14 (GMT)
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 15:43:29 (GMT)
commit21d26a9ecde5a23d6deb6432153c2aede533aead (patch)
tree0f24d39ab55cc146fe1afe0d6bfc3265ea3343f6 /Templates
parent44dc9fc48af8171423b4d5e996a8415dfd5f96c0 (diff)
downloadCMake-21d26a9ecde5a23d6deb6432153c2aede533aead.zip
CMake-21d26a9ecde5a23d6deb6432153c2aede533aead.tar.gz
CMake-21d26a9ecde5a23d6deb6432153c2aede533aead.tar.bz2
VS: in Clang/C2 toolset, setup correct compiler settings
Original header commit v3.6.0-rc1~279^2~10
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v140_CL.json7
-rw-r--r--Templates/MSBuild/FlagTables/v141_CL.json7
2 files changed, 14 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v140_CL.json b/Templates/MSBuild/FlagTables/v140_CL.json
index 49ad625..0bf6063 100644
--- a/Templates/MSBuild/FlagTables/v140_CL.json
+++ b/Templates/MSBuild/FlagTables/v140_CL.json
@@ -113,6 +113,13 @@
},
{
"name": "Optimization",
+ "switch": "Os",
+ "comment": "Minimize Size",
+ "value": "MinSize",
+ "flags": []
+ },
+ {
+ "name": "Optimization",
"switch": "O1",
"comment": "Minimize Size",
"value": "MinSpace",
diff --git a/Templates/MSBuild/FlagTables/v141_CL.json b/Templates/MSBuild/FlagTables/v141_CL.json
index 2da38aa..773f84e 100644
--- a/Templates/MSBuild/FlagTables/v141_CL.json
+++ b/Templates/MSBuild/FlagTables/v141_CL.json
@@ -134,6 +134,13 @@
},
{
"name": "Optimization",
+ "switch": "Os",
+ "comment": "Minimize Size",
+ "value": "MinSize",
+ "flags": []
+ },
+ {
+ "name": "Optimization",
"switch": "O1",
"comment": "Maximum Optimization (Favor Size)",
"value": "MinSpace",