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(+) (limited to 'Templates') 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 @@ -111,6 +111,13 @@ "value": "Disabled", "flags": [] }, + { + "name": "Optimization", + "switch": "Os", + "comment": "Minimize Size", + "value": "MinSize", + "flags": [] + }, { "name": "Optimization", "switch": "O1", 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 @@ -132,6 +132,13 @@ "value": "Disabled", "flags": [] }, + { + "name": "Optimization", + "switch": "Os", + "comment": "Minimize Size", + "value": "MinSize", + "flags": [] + }, { "name": "Optimization", "switch": "O1", -- cgit v1.2.1