diff options
author | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-26 08:51:14 -0800 |
---|---|---|
committer | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-28 07:43:29 -0800 |
commit | 21d26a9ecde5a23d6deb6432153c2aede533aead (patch) | |
tree | 0f24d39ab55cc146fe1afe0d6bfc3265ea3343f6 /Templates | |
parent | 44dc9fc48af8171423b4d5e996a8415dfd5f96c0 (diff) | |
download | cmake-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.json | 7 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v141_CL.json | 7 |
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", |