1 | <project name="ActiveBasic" default="deploy_all">
|
---|
2 |
|
---|
3 | <!-- å
|
---|
4 | ±éãããã㣠-->
|
---|
5 | <property name="abc32" value="./abdev/build/release/bin/x86/abc.exe"/>
|
---|
6 | <property name="abc64" value="./abdev/build/release/bin/x64/abc.exe"/>
|
---|
7 |
|
---|
8 | <target name="deploy_all">
|
---|
9 | <antcall target="make_x86_core_lib" />
|
---|
10 | <antcall target="make_x86_cored_lib" />
|
---|
11 | <antcall target="make_x64_core_lib" />
|
---|
12 | <antcall target="make_x64_cored_lib" />
|
---|
13 | <antcall target="copy_files" />
|
---|
14 | </target>
|
---|
15 |
|
---|
16 | <target name="deploy_x86_only">
|
---|
17 | <antcall target="make_x86_core_lib" />
|
---|
18 | <antcall target="make_x86_cored_lib" />
|
---|
19 | <antcall target="copy_files" />
|
---|
20 | </target>
|
---|
21 |
|
---|
22 | <target name="copy_files">
|
---|
23 | <property name="rootdir" value="./dest" />
|
---|
24 | <property name="application" value="${rootdir}/ab5.0" />
|
---|
25 |
|
---|
26 | <!-- æ¬ä½ãã³ãã¼ -->
|
---|
27 | <mkdir dir="${rootdir}" />
|
---|
28 | <mkdir dir="${application}" />
|
---|
29 | <copy todir="${application}">
|
---|
30 | <fileset dir="./abdev/build/release">
|
---|
31 | <exclude name="**/UserSetting" />
|
---|
32 | <exclude name="**/UserSetting/**" />
|
---|
33 | <exclude name="**/*.log" />
|
---|
34 | <exclude name="*.log" />
|
---|
35 | <exclude name="*.tmp" />
|
---|
36 | </fileset>
|
---|
37 | </copy>
|
---|
38 | </target>
|
---|
39 |
|
---|
40 | <target name="make_x86_core_lib">
|
---|
41 | <exec executable="${abc32}" failonerror="true">
|
---|
42 | <arg value="./abdev/build/release/ablib/src/basic.sbp" />
|
---|
43 | <arg value="./abdev/build/release/ablib/lib/core.lib" />
|
---|
44 | <arg value="/static_library" />
|
---|
45 | <arg value="/include_dir:./abdev/build/release/ablib/src" />
|
---|
46 | </exec>
|
---|
47 | </target>
|
---|
48 |
|
---|
49 | <target name="make_x86_cored_lib">
|
---|
50 | <exec executable="${abc32}" failonerror="true">
|
---|
51 | <arg value="./abdev/build/release/ablib/src/basic.sbp" />
|
---|
52 | <arg value="./abdev/build/release/ablib/lib/cored.lib" />
|
---|
53 | <arg value="/static_library" />
|
---|
54 | <arg value="/debug" />
|
---|
55 | <arg value="/include_dir:./abdev/build/release/ablib/src" />
|
---|
56 | </exec>
|
---|
57 | </target>
|
---|
58 |
|
---|
59 | <target name="make_x64_core_lib">
|
---|
60 | <exec executable="${abc64}" failonerror="true">
|
---|
61 | <arg value="./abdev/build/release/ablib/src/basic.sbp" />
|
---|
62 | <arg value="./abdev/build/release/ablib/lib/x64/core.lib" />
|
---|
63 | <arg value="/static_library" />
|
---|
64 | <arg value="/include_dir:./abdev/build/release/ablib/src" />
|
---|
65 | </exec>
|
---|
66 | </target>
|
---|
67 |
|
---|
68 | <target name="make_x64_cored_lib">
|
---|
69 | <exec executable="${abc64}" failonerror="true">
|
---|
70 | <arg value="./abdev/build/release/ablib/src/basic.sbp" />
|
---|
71 | <arg value="./abdev/build/release/ablib/lib/x64/cored.lib" />
|
---|
72 | <arg value="/static_library" />
|
---|
73 | <arg value="/debug" />
|
---|
74 | <arg value="/include_dir:./abdev/build/release/ablib/src" />
|
---|
75 | </exec>
|
---|
76 | </target>
|
---|
77 |
|
---|
78 | </project>
|
---|