summaryrefslogtreecommitdiffstats
path: root/VS8QtRules.rules
diff options
context:
space:
mode:
Diffstat (limited to 'VS8QtRules.rules')
-rwxr-xr-xVS8QtRules.rules41
1 files changed, 41 insertions, 0 deletions
diff --git a/VS8QtRules.rules b/VS8QtRules.rules
new file mode 100755
index 0000000..cdb6162
--- /dev/null
+++ b/VS8QtRules.rules
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="Qt-Rules"
+ Version="8,00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="UIC"
+ DisplayName="UIC"
+ CommandLine="uic.exe &quot;$(InputDir)$(InputName).ui&quot; -o &quot;$(OutDir)\tmp\uic\ui_$(InputName).h&quot;"
+ Outputs="$(OutDir)\tmp\uic\ui_$(InputName).h"
+ FileExtensions="*.ui"
+ ExecutionDescription="UICing $(InputName).h..."
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ <CustomBuildRule
+ Name="MOC"
+ DisplayName="MOC"
+ CommandLine="moc.exe &quot;$(InputDir)$(InputName).h&quot; -o &quot;$(OutDir)\tmp\moc\moc_$(InputName).cpp&quot;"
+ Outputs="$(OutDir)\tmp\moc\moc_$(InputName).cpp"
+ FileExtensions="*.h"
+ ExecutionDescription="MOCing $(InputName).h..."
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ <CustomBuildRule
+ Name="QRC"
+ DisplayName="QRC"
+ CommandLine="rcc.exe -name $(InputName) &quot;$(InputDir)$(InputName).qrc&quot; -o &quot;$(OutDir)\tmp\qrc\qrc_$(InputName).cpp&quot;"
+ Outputs="$(OutDir)\tmp\qrc\qrc_$(InputName).cpp"
+ FileExtensions="*.qrc"
+ ExecutionDescription="QRCing $(InputName).h..."
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>