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