-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.xml
104 lines (103 loc) · 3.9 KB
/
build.xml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<project name="7Zip_arh" basedir="." default="orig7z">
<property name="version_orig7z" value="2408" />
<property name="version_nsis" value="1806" />
<property name="version_zstd" value="21.03_v1.5.0_R1" />
<target name="orig7z_res">
<echo>
replace ${theme.dir}
</echo>
<ant antfile="childbuild.xml">
<property name="arc_file_name" value="7z${version_orig7z}_${theme.suffix}_ico" />
<property name="script_32" value="7z32_res_script.txt" />
<property name="script_64" value="7z64_res_script.txt" />
<property name="path_script" location="${theme.dir}\scripts\Orig7z" />
<property name="path_result" location="${theme.dir}\result\Orig7z" />
<property name="path_info" location="${theme.dir}\info" />
</ant>
</target>
<target name="orig7z_toolbars_res">
<echo>
replace ${theme.dir}
</echo>
<ant antfile="childbuild.xml">
<property name="arc_file_name" value="7z${version_orig7z}_toolbars_${theme.suffix}_ico" />
<property name="script_32" value="7z32_res_script.txt" />
<property name="script_64" value="7z64_res_script.txt" />
<property name="path_script" location="${theme.dir}\scripts" />
<property name="path_result" location="${theme.dir}\result" />
<property name="path_info" location="${theme.dir}\info" />
</ant>
</target>
<target name="nsis_res">
<echo>
replace ${theme.dir}
</echo>
<ant antfile="childbuild.xml">
<property name="arc_file_name" value="7z${version_nsis}_NSIS_${theme.suffix}_ico" />
<property name="script_32" value="7z32_NSIS_res_script.txt" />
<property name="script_64" value="7z64_NSIS_res_script.txt" />
<property name="path_script" location="${theme.dir}\scripts\NSIS" />
<property name="path_result" location="${theme.dir}\result\NSIS" />
<property name="path_info" location="${theme.dir}\info" />
</ant>
</target>
<target name="zstd_res">
<echo>
replace ${theme.dir}
</echo>
<ant antfile="childbuild.xml">
<property name="arc_file_name" value="7z${version_zstd}_zstd_${theme.suffix}_ico" />
<property name="script_32" value="7z32_zstd_res_script.txt" />
<property name="script_64" value="7z64_zstd_res_script.txt" />
<property name="path_script" location="${theme.dir}\scripts\zstd" />
<property name="path_result" location="${theme.dir}\result\zstd" />
<property name="path_info" location="${theme.dir}\info" />
</ant>
</target>
<target name="orig7z">
<antcall target="orig7z_res">
<param name="theme.dir" value="theme_windows_10" />
<param name="theme.suffix" value="win_10" />
</antcall>
<antcall target="orig7z_toolbars_res">
<param name="theme.dir" value="W11.Ribbon" />
<param name="theme.suffix" value="W11_Ribbon" />
</antcall>
<antcall target="orig7z_res">
<param name="theme.dir" value="theme_fluent" />
<param name="theme.suffix" value="fluent" />
</antcall>
<antcall target="orig7z_res">
<param name="theme.dir" value="theme_fluent_blue" />
<param name="theme.suffix" value="fluent_blue" />
</antcall>
</target>
<target name="nsis">
<antcall target="nsis_res">
<param name="theme.dir" value="theme_windows_10" />
<param name="theme.suffix" value="win_10" />
</antcall>
<antcall target="nsis_res">
<param name="theme.dir" value="theme_fluent" />
<param name="theme.suffix" value="fluent" />
</antcall>
<antcall target="nsis_res">
<param name="theme.dir" value="theme_fluent_blue" />
<param name="theme.suffix" value="fluent_blue" />
</antcall>
</target>
<target name="zstd">
<!-- <antcall target="zstd_res">
<param name="theme.dir" value="theme_windows_10" />
<param name="theme.suffix" value="win_10" />
</antcall> -->
<antcall target="zstd_res">
<param name="theme.dir" value="theme_fluent" />
<param name="theme.suffix" value="fluent" />
</antcall>
<antcall target="zstd_res">
<param name="theme.dir" value="theme_fluent_blue" />
<param name="theme.suffix" value="fluent_blue" />
</antcall>
</target>
</project>