summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-26 08:51:14 -0800
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 07:43:29 -0800
commit21d26a9ecde5a23d6deb6432153c2aede533aead (patch)
tree0f24d39ab55cc146fe1afe0d6bfc3265ea3343f6 /Templates
parent44dc9fc48af8171423b4d5e996a8415dfd5f96c0 (diff)
downloadcmake-21d26a9ecde5a23d6deb6432153c2aede533aead.tar.gz
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 49ad6257b7..0bf6063b7d 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 2da38aa4c6..773f84e215 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",