[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git] / tools / msbuild / llvm-general.xml
blob66a2cfec0b4cb5c8d1202ca490178106faf3f2c9
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Rule\r
3       Name="LLVMGeneral"\r
4       DisplayName="LLVM"\r
5       PageTemplate="generic"\r
6       Description="LLVM"\r
7       xmlns="http://schemas.microsoft.com/build/2009/properties">\r
8   <Rule.Categories>\r
9     <Category Name="General" DisplayName="General" Description="General" />\r
10   </Rule.Categories>\r
11   <Rule.DataSource>\r
12     <DataSource Persistence="ProjectFile" Label="LLVM" />\r
13   </Rule.DataSource>\r
15   <BoolProperty Name="UseClangCl" \r
16                 DisplayName="Use clang-cl" \r
17                 Description="Use clang-cl for compiling.  If this option is disabled, the Microsoft compiler (cl.exe) will be used instead." \r
18                 Category="General" \r
19                 Default="true">\r
20   </BoolProperty>\r
21   <StringProperty Name="ClangClExecutable"\r
22                   DisplayName="clang-cl Executable"\r
23                   Description="Specifies the path to clang-cl.exe."\r
24                   Category="General"\r
25                   Default="$(LLVMInstallDir)bin\clang-cl.exe"\r
26                   Subtype="file">\r
27   </StringProperty>\r
29   <StringProperty Name="ClangClAdditionalOptions"\r
30                   DisplayName="Additional Compiler Options"\r
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."\r
32                   Category="General">\r
33   </StringProperty>\r
35   <BoolProperty Name="UseLldLink"\r
36                 DisplayName="Use lld-link"\r
37                 Description="Use lld-link for linking.  If this option is disabled, the Microsoft linker (link.exe) will be used instead."\r
38                 Category="General"\r
39                 Default="true">\r
40   </BoolProperty>\r
41   <StringProperty Name="LldLinkExecutable"\r
42                   DisplayName="lld-link Executable"\r
43                   Description="Specifies the path to lld-link.exe."\r
44                   Category="General"\r
45                   Default="$(LLVMInstallDir)bin\lld-link.exe"\r
46                   Subtype="file">\r
47   </StringProperty>\r
49   <StringProperty Name="LldLinkAdditionalOptions"\r
50                   DisplayName="Additional Linker Options"\r
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."\r
52                   Category="General">\r
53   </StringProperty>\r
56   <BoolProperty Name="UseLlvmLib"\r
57                 DisplayName="Use llvm-lib"\r
58                 Description="Use llvm-lib for managing libraries.  If this option is disabled, the Microsoft librarian (lib.exe) will be used instead."\r
59                 Category="General"\r
60                 Default="true">\r
61   </BoolProperty>\r
62   <StringProperty Name="LlvmLibExecutable"\r
63                   DisplayName="llvm-lib Executable"\r
64                   Description="Specifies the path to llvm-lib.exe."\r
65                   Category="General"\r
66                   Default="$(LLVMInstallDir)bin\llvm-lib.exe"\r
67                   Subtype="file">\r
68   </StringProperty>\r
70   <StringProperty Name="LlvmLibAdditionalOptions"\r
71                   DisplayName="Additional Librarian Options"\r
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."\r
73                   Category="General">\r
74   </StringProperty>\r
76 </Rule>\r