forked from SCIInstitute/ImageVis3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_files.rules
30 lines (30 loc) · 1 KB
/
ui_files.rules
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
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="Custom Build Rules"
Version="8,00"
>
<Rules>
<CustomBuildRule
Name="UI"
DisplayName="Compile QT UserInterface File (*.ui)"
CommandLine="$(QTDIR32)\bin\uic.exe "$(InputPath)" -o "$(InputDir)..\AutoGen\ui_$(InputName).h""
Outputs="$(InputDir)..\AutoGen\ui_$(InputName).h"
FileExtensions="*.ui"
ExecutionDescription="Creating UI File ui_$(InputName).h ..."
>
<Properties>
</Properties>
</CustomBuildRule>
<CustomBuildRule
Name="QRC"
DisplayName="Compile QRC Recource File (*.qrc)"
CommandLine="$(QTDIR32)\bin\rcc.exe "$(InputPath)" -o "$(OutDir)..\..\..\rcc\qrc_$(InputName).cpp""
Outputs="$(OutDir)..\..\..\rcc\qrc_$(InputName).cpp"
FileExtensions="*.qrc"
ExecutionDescription="Creating CPP File from resource $(InputName).rcc ..."
>
<Properties>
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>