summaryrefslogtreecommitdiff
path: root/winbuild/moc.rules
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/moc.rules')
-rw-r--r--winbuild/moc.rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/winbuild/moc.rules b/winbuild/moc.rules
new file mode 100644
index 0000000..b40274c
--- /dev/null
+++ b/winbuild/moc.rules
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="Run Moc"
+ Version="8.00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="moc"
+ DisplayName="Moc"
+ CommandLine="$(QTDIR)/bin/moc.exe $(InputPath) -o moc_$(InputName).cpp"
+ Outputs="moc_$(InputName).cpp"
+ AdditionalDependencies="$(QTDIR)/bin/moc.exe"
+ FileExtensions="*.h"
+ ExecutionDescription="Moc&apos;ing $(InputPath)"
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>