From 21d26a9ecde5a23d6deb6432153c2aede533aead Mon Sep 17 00:00:00 2001 From: Stephan Szabo Date: Mon, 26 Nov 2018 08:51:14 -0800 Subject: VS: in Clang/C2 toolset, setup correct compiler settings Original header commit v3.6.0-rc1~279^2~10 --- Templates/MSBuild/FlagTables/v140_CL.json | 7 +++++++ Templates/MSBuild/FlagTables/v141_CL.json | 7 +++++++ 2 files changed, 14 insertions(+) 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", -- cgit v0.12