source: dev/branches/egtra/ab5.0/deploy/build.xml@ 789

Last change on this file since 789 was 659, checked in by dai_9181, 16 years ago

・デプロイ環境を整備。
・innosetup用のスクリプトを追加

File size: 2.4 KB
Line 
1<project name="ActiveBasic" default="deploy_all">
2
3 <!-- å…
4±é€šãƒ—ロパティ -->
5 <property name="root.dir" value="../abdev/build/release"/>
6 <property name="abc32" value="${root.dir}/bin/x86/abc.exe"/>
7 <property name="abc64" value="${root.dir}/bin/x64/abc.exe"/>
8
9 <target name="deploy_all">
10 <antcall target="make_x86_core_lib" />
11 <antcall target="make_x86_cored_lib" />
12 <antcall target="make_x64_core_lib" />
13 <antcall target="make_x64_cored_lib" />
14 <antcall target="copy_files" />
15 </target>
16
17 <target name="deploy_x86_only">
18 <antcall target="make_x86_core_lib" />
19 <antcall target="make_x86_cored_lib" />
20 <antcall target="copy_files" />
21 </target>
22
23 <target name="copy_files">
24 <property name="dest.dir" value="./dest" />
25 <property name="application" value="${dest.dir}/ab5.0" />
26
27 <!-- 本体をコピー -->
28 <mkdir dir="${dest.dir}" />
29 <mkdir dir="${application}" />
30 <copy todir="${application}">
31 <fileset dir="${root.dir}">
32 <exclude name="**/UserSetting" />
33 <exclude name="**/UserSetting/**" />
34 <exclude name="**/*.log" />
35 <exclude name="*.log" />
36 <exclude name="*.tmp" />
37 </fileset>
38 </copy>
39 </target>
40
41 <target name="make_x86_core_lib">
42 <exec executable="${abc32}" failonerror="true">
43 <arg value="${root.dir}/ablib/src/basic.sbp" />
44 <arg value="${root.dir}/ablib/lib/core.lib" />
45 <arg value="/static_library" />
46 <arg value="/include_dir:${root.dir}/ablib/src" />
47 </exec>
48 </target>
49
50 <target name="make_x86_cored_lib">
51 <exec executable="${abc32}" failonerror="true">
52 <arg value="${root.dir}/ablib/src/basic.sbp" />
53 <arg value="${root.dir}/ablib/lib/cored.lib" />
54 <arg value="/static_library" />
55 <arg value="/debug" />
56 <arg value="/include_dir:${root.dir}/ablib/src" />
57 </exec>
58 </target>
59
60 <target name="make_x64_core_lib">
61 <exec executable="${abc64}" failonerror="true">
62 <arg value="${root.dir}/ablib/src/basic.sbp" />
63 <arg value="${root.dir}/ablib/lib/x64/core.lib" />
64 <arg value="/static_library" />
65 <arg value="/include_dir:${root.dir}/ablib/src" />
66 </exec>
67 </target>
68
69 <target name="make_x64_cored_lib">
70 <exec executable="${abc64}" failonerror="true">
71 <arg value="${root.dir}/ablib/src/basic.sbp" />
72 <arg value="${root.dir}/ablib/lib/x64/cored.lib" />
73 <arg value="/static_library" />
74 <arg value="/debug" />
75 <arg value="/include_dir:${root.dir}/ablib/src" />
76 </exec>
77 </target>
78
79</project>
Note: See TracBrowser for help on using the repository browser.