summaryrefslogtreecommitdiffstats
path: root/winbuild/Gen_head.rules
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/Gen_head.rules')
-rw-r--r--winbuild/Gen_head.rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/winbuild/Gen_head.rules b/winbuild/Gen_head.rules
new file mode 100644
index 0000000..5b0b2b7
--- /dev/null
+++ b/winbuild/Gen_head.rules
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="gen_head"
+ Version="8.00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="Gen_head"
+ DisplayName="Gen_head"
+ CommandLine="python $(ProjectDir)..\src\to_c_cmd.py [AllOptions] [AdditionalOptions] [inputs] &lt; $(InputPath) &gt; $(InputPath).h"
+ Outputs="$(InputPath).h"
+ FileExtensions=".*"
+ AdditionalDependencies="$(ProjectDir)..\src\to_c_cmd.py"
+ ExecutionDescription="Executing to_c_cmd on $(InputPath) ..."
+ ShowOnlyRuleProperties="false"
+ >
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>