summaryrefslogtreecommitdiffstats
path: root/winbuild/Settings.rules
blob: b72dd164a2f5b7fe26d7210913ad6a7be21b6e83 (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
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
	Name="settings"
	Version="8.00"
	>
	<Rules>
		<CustomBuildRule
			Name="Settings"
			DisplayName="Settings"
			CommandLine="python $(InputPath) [AllOptions] [AdditionalOptions] [inputs]"
			Outputs="$(InputDir)../src/$(InputName).h"
			FileExtensions="*.py"
			AdditionalDependencies="$(ProjectDir)..\src\configure"
			ExecutionDescription="Executing Settings ..."
			ShowOnlyRuleProperties="false"
			>
			<Properties>
				<EnumProperty
					Name="SqlLite3"
					DisplayName="Use SqlLite3"
					Description="Use SqlLite3"
					DefaultValue="0"
				>
					<Values>
						<EnumValue
						Value="0"
						Switch="NO"
						DisplayName="Don't use SqlLite3"
						/>
						<EnumValue
						Value="1"
						Switch="YES"
						DisplayName="Use SqlLite3"
						/>
					</Values>
				</EnumProperty>
				<EnumProperty
					Name="CLANG"
					DisplayName="Use CLANG"
					Description="Use CLANG"
					DefaultValue="0"
				>
					<Values>
						<EnumValue
						Value="0"
						Switch="NO"
						DisplayName="Don't use CLANG"
						/>
						<EnumValue
						Value="1"
						Switch="YES"
						DisplayName="Use CLANG"
						/>
					</Values>
				</EnumProperty>
			</Properties>
		</CustomBuildRule>
	</Rules>
</VisualStudioToolFile>