You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/tools/microsoft/msbuildtoolchain.rst
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,8 @@ conf
74
74
``MSBuildToolchain`` is affected by these ``[conf]`` variables:
75
75
76
76
- ``tools.microsoft.msbuildtoolchain:compile_options`` dict-like object of extra compile options to be added to ``<ClCompile>`` section.
77
-
The dict will be translated as follows: ``<[KEY]>[VALUE]</[KEY]>``.
77
+
The dict will be translated as follows: ``<[KEY]>[VALUE]</[KEY]>`` and inserted inside the ``<ClCompile>`` element. If the ``compile_options``
78
+
attribute is defined, it will be updated with the values from this dict.
78
79
- ``tools.microsoft:winsdk_version`` value will define the ``<WindowsTargetPlatformVersion>`` element in the toolchain file.
79
80
- ``tools.build:cxxflags`` list of extra C++ flags that will be appended to ``<AdditionalOptions>`` section from ``<ClCompile>`` and ``<ResourceCompile>`` one.
80
81
- ``tools.build:cflags`` list of extra of pure C flags that will be appended to ``<AdditionalOptions>`` section from ``<ClCompile>`` and ``<ResourceCompile>`` one.
@@ -128,3 +129,28 @@ in its contents:
128
129
...
129
130
</PropertyGroup>
130
131
</Project>
132
+
133
+
134
+
* **compile_options**: Additional compile options added to the generated ``.props`` files. You can
0 commit comments