OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 | |
3 <Rule Name="CL" PageTemplate="tool" DisplayName="C/C++" SwitchPrefix="-" Order="
10" xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://s
chemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=m
scorlib"> | |
4 | |
5 <Rule.Categories> | |
6 <Category Name="General" DisplayName="General" /> | |
7 <Category Name="Optimization" DisplayName="Optimization" /> | |
8 <Category Name="Preprocessor" DisplayName="Preprocessor" /> | |
9 <Category Name="Code Generation" DisplayName="Code Generation" /> | |
10 <Category Name="Output Files" DisplayName="Output Files" /> | |
11 <Category Name="Advanced" DisplayName="Advanced" /> | |
12 <Category Name="Command Line" DisplayName="Command Line" Subtype="CommandLin
e" /> | |
13 </Rule.Categories> | |
14 <Rule.DataSource> | |
15 <DataSource Persistence="ProjectFile" ItemType="ClCompile" Label="" HasConfi
gurationCondition="true" /> | |
16 </Rule.DataSource> | |
17 | |
18 | |
19 <StringListProperty Subtype="folder" Name="AdditionalIncludeDirectories" Displ
ayName="Additional Include Directories" Category="General" Switch="I"> | |
20 </StringListProperty> | |
21 <BoolProperty Name="GenerateDebuggingInformation" DisplayName="Generate Debugg
ing Information" Category="General" Switch="g"> | |
22 </BoolProperty> | |
23 <EnumProperty Name="Warnings" DisplayName="Warnings" Category="General"> | |
24 <EnumValue Name="DisableAllWarnings" DisplayName="Disable All Warnings" Swit
ch="w" /> | |
25 <EnumValue Name="NormalWarnings" DisplayName="Enable Normal Warnings" /> | |
26 <EnumValue Name="AllWarnings" DisplayName="Enable All Warnings" Switch="Wall
" /> | |
27 </EnumProperty> | |
28 <BoolProperty Name="WarningsAsErrors" DisplayName="Treat Warnings as Errors" C
ategory="General" Switch="Werror"> | |
29 </BoolProperty> | |
30 <BoolProperty Name="OutputCommandLine" DisplayName="Output Command Line" Categ
ory="General"> | |
31 </BoolProperty> | |
32 <EnumProperty Name="ConfigurationType" DisplayName="Configuration Type" Catego
ry="General"> | |
33 <EnumValue Name="Application" DisplayName="Application (.nexe)" /> | |
34 <EnumValue Name="DynamicLibrary" DisplayName="Dynamic Library (.so)" Switch=
"shared"/> | |
35 <EnumValue Name="StaticLibrary" DisplayName="Static library (.a)" /> | |
36 </EnumProperty> | |
37 <BoolProperty Name="UserHeaderDependenciesOnly" Category="General" Visible="tr
ue" Switch="MMD"> | |
38 </BoolProperty> | |
39 | |
40 <BoolProperty Name="PositionIndependentCode" DisplayName="Generate Position-
Independent Code" Category="Code Generation" Switch="fpic"> | |
41 </BoolProperty> | |
42 <BoolProperty Name="ExceptionHandling" DisplayName="Enable C++ Exceptions" Cat
egory="Code Generation" Switch="fexceptions" ReverseSwitch="fno-exceptions"> | |
43 </BoolProperty> | |
44 | |
45 <EnumProperty Name="OptimizationLevel" DisplayName="Optimization" Category="Op
timization"> | |
46 <EnumValue Name="O0" DisplayName="No Optimization" Switch="O0" > | |
47 </EnumValue> | |
48 <EnumValue Name="O1" DisplayName="Moderate Optimization" Switch="O1"> | |
49 </EnumValue> | |
50 <EnumValue Name="O2" DisplayName="Full Optimization" Switch="O2"> | |
51 </EnumValue> | |
52 <EnumValue Name="O3" DisplayName="Full Optimization and Aggressive Inlining"
Switch="O3"> | |
53 </EnumValue> | |
54 <EnumValue Name="Os" DisplayName="Optimize for Size" Switch="Os"> | |
55 </EnumValue> | |
56 </EnumProperty> | |
57 | |
58 | |
59 <StringListProperty Name="PreprocessorDefinitions" DisplayName="Preprocessor D
efinitions" Category="Preprocessor" Switch="D"> | |
60 </StringListProperty> | |
61 | |
62 | |
63 <EnumProperty Name="CompileAs" DisplayName="Compile As" Category="Advanced"> | |
64 <EnumValue Name="Default" DisplayName="Default"> | |
65 </EnumValue> | |
66 <EnumValue Name="CompileAsC" DisplayName="Compile as C Code" Switch="x c"> | |
67 </EnumValue> | |
68 <EnumValue Name="CompileAsCpp" DisplayName="Compile as C++ Code" Switch="x c
++"> | |
69 </EnumValue> | |
70 </EnumProperty> | |
71 | |
72 | |
73 <StringProperty Subtype="file" Name="ObjectFileName" DisplayName="Object File
Name" Category="Output Files" Switch="o "> | |
74 </StringProperty> | |
75 | |
76 | |
77 <StringProperty Name="AdditionalOptions" DisplayName="Additional Options" Desc
ription="Additional Options" Category="Command Line"> | |
78 </StringProperty> | |
79 | |
80 | |
81 <StringListProperty Name="SystemPreprocessorDefinitions" Category="General" Vi
sible="false" Switch="D"> | |
82 </StringListProperty> | |
83 | |
84 <StringListProperty Subtype="folder" Name="SystemIncludeDirectories" Category=
"General" Visible="false" Switch="I"> | |
85 </StringListProperty> | |
86 </Rule> | |
OLD | NEW |