summaryrefslogtreecommitdiff
path: root/xmake/scripts/vsxmake/vsproj/Xmake.xml
blob: 9bccf1b28c64baf2b580c2065e16cbfce1a0fa5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<ProjectSchemaDefinitions
  xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:sys="clr-namespace:System;assembly=mscorlib">
  <Rule Name="XmakeConfiguration" DisplayName="Xmake" PageTemplate="generic" SwitchPrefix="--" Description="Xmake Properties">
    <Rule.Categories>
      <Category Name="Common" DisplayName="Common" Description="Xmake common configurations"/>
      <Category Name="Flags" DisplayName="Additional flags" Description="Xmake additional flags"/>
      <Category Name="Paths" DisplayName="Paths" Description="Xmake configurable paths"/>
    </Rule.Categories>
    <Rule.DataSource>
      <DataSource Persistence="UserFile" Label="XmakeConfiguration"/>
    </Rule.DataSource>

    <BoolProperty
      Name="XmakeVerbose"
      DisplayName="Print verbose information"
      Category="Common"
      Description="Print lots of verbose information for users."
      Switch="verbose" />
    <BoolProperty
      Name="XmakeDiagnosis"
      DisplayName="Print diagnosis information"
      Category="Common"
      Description="Print lots of diagnosis information (backtrace, check info ..) only for developers."
      Switch="diagnosis" />
    <BoolProperty
      Name="XmakeCleanAll"
      DisplayName="Clean all"
      Category="Common"
      Description="Clean all auto-generated files by xmake for clean tasks."
      Switch="all" />
    <BoolProperty
      Name="XmakeRebuildFile"
      DisplayName="Force rebuild selected files"
      Category="Common"
      Description="When use 'compile' command to build selected files, add '--rebuild' flag to force rebuild files."
      Switch="rebuild" />

    <StringProperty
      Name="XmakeCleanFlags"
      DisplayName="Clean flags"
      Category="Flags"
      Description="Additional flags for 'xmake clean'" />
    <StringProperty
      Name="XmakeBuildFlags"
      DisplayName="Build flags"
      Category="Flags"
      Description="Additional flags for 'xmake build'" />
    <StringProperty
      Name="XmakeConfigFlags"
      DisplayName="Config flags"
      Category="Flags"
      Description="Additional flags for 'xmake config'" />
    <StringProperty
      Name="XmakeCommonFlags"
      DisplayName="Common flags"
      Category="Flags"
      Description="Additional flags for all xmake call" />

    <StringProperty
      Name="XmakeConfigDir"
      DisplayName="Config dir"
      Category="Paths"
      Description="Set environment XMAKE_CONFIGDIR for xmake tasks"
      Subtype="folder" />
    <StringProperty
      Name="XmakeBuildDir"
      DisplayName="Build dir"
      Category="Paths"
      Description="Set output dir for xmake tasks"
      Subtype="folder" />
  </Rule>

</ProjectSchemaDefinitions>