summaryrefslogtreecommitdiffstats
path: root/winbuild/Settings.rules
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/Settings.rules')
-rw-r--r--winbuild/Settings.rules59
1 files changed, 59 insertions, 0 deletions
diff --git a/winbuild/Settings.rules b/winbuild/Settings.rules
new file mode 100644
index 0000000..b72dd16
--- /dev/null
+++ b/winbuild/Settings.rules
@@ -0,0 +1,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>