1<?xml version="1.0" encoding="utf-8"?>
2<Rule
3      Name="LLVMGeneral"
4      DisplayName="LLVM"
5      PageTemplate="generic"
6      Description="LLVM"
7      xmlns="http://schemas.microsoft.com/build/2009/properties">
8  <Rule.Categories>
9    <Category Name="General" DisplayName="General" Description="General" />
10  </Rule.Categories>
11  <Rule.DataSource>
12    <DataSource Persistence="ProjectFile" Label="LLVM" />
13  </Rule.DataSource>
14
15  <BoolProperty Name="UseClangCl"
16                DisplayName="Use clang-cl"
17                Description="Use clang-cl for compiling.  If this option is disabled, the Microsoft compiler (cl.exe) will be used instead."
18                Category="General"
19                Default="true">
20  </BoolProperty>
21  <StringProperty Name="ClangClExecutable"
22                  DisplayName="clang-cl Executable"
23                  Description="Specifies the path to clang-cl.exe."
24                  Category="General"
25                  Default="$(LLVMInstallDir)bin\clang-cl.exe"
26                  Subtype="file">
27  </StringProperty>
28
29  <StringProperty Name="ClangClAdditionalOptions"
30                  DisplayName="Additional Compiler Options"
31                  Description="Additional options to pass to clang.  This is essentially the same as C/C++ > Command Line > Additional Options, except that it is safe to put options here that will be rejected by cl.exe in case you switch toolchains back and forth."
32                  Category="General">
33  </StringProperty>
34
35  <BoolProperty Name="UseLldLink"
36                DisplayName="Use lld-link"
37                Description="Use lld-link for linking.  If this option is disabled, the Microsoft linker (link.exe) will be used instead."
38                Category="General"
39                Default="true">
40  </BoolProperty>
41  <StringProperty Name="LldLinkExecutable"
42                  DisplayName="lld-link Executable"
43                  Description="Specifies the path to lld-link.exe."
44                  Category="General"
45                  Default="$(LLVMInstallDir)bin\lld-link.exe"
46                  Subtype="file">
47  </StringProperty>
48
49  <StringProperty Name="LldLinkAdditionalOptions"
50                  DisplayName="Additional Linker Options"
51                  Description="Additional options to pass to lld-link.  This is essentially the same as General > Linker > Command Line > Additional Options, except that it is safe to put options here that will be rejected by link.exe in case you switch toolchains back and forth."
52                  Category="General">
53  </StringProperty>
54
55
56  <BoolProperty Name="UseLlvmLib"
57                DisplayName="Use llvm-lib"
58                Description="Use llvm-lib for managing libraries.  If this option is disabled, the Microsoft librarian (lib.exe) will be used instead."
59                Category="General"
60                Default="true">
61  </BoolProperty>
62  <StringProperty Name="LlvmLibExecutable"
63                  DisplayName="llvm-lib Executable"
64                  Description="Specifies the path to llvm-lib.exe."
65                  Category="General"
66                  Default="$(LLVMInstallDir)bin\llvm-lib.exe"
67                  Subtype="file">
68  </StringProperty>
69
70  <StringProperty Name="LlvmLibAdditionalOptions"
71                  DisplayName="Additional Librarian Options"
72                  Description="Additional options to pass to llvm-lib.  This is essentially the same as General > Librarian > Command Line > Additional Options, except that it is safe to put options here that will be rejected by lib.exe in case you switch toolchains back and forth."
73                  Category="General">
74  </StringProperty>
75
76</Rule>
77