Changeset 472 in dev for trunk/ab5.0/build.xml


Ignore:
Timestamp:
Mar 31, 2008, 12:33:24 PM (17 years ago)
Author:
dai_9181
Message:

デプロイ時にcore.lib/cored.libのビルドもできるようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/build.xml

    r446 r472  
    1 <project name="ActiveBasic" default="deploy">
     1<project name="ActiveBasic" default="deploy_all">
    22
    3     <target name="deploy">
     3    <!-- å
     4±é€šãƒ—ロパティ -->
     5    <property name="abc32" value="./ablib/bin/BasicCompiler32.exe"/>
     6    <property name="abc64" value="./ablib/bin/BasicCompiler64.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">
    423        <property name="rootdir" value="./dest" />
    524        <property name="application" value="${rootdir}/ActiveBasic" />
     
    3150    </target>
    3251
     52    <target name="make_x86_core_lib">
     53        <exec executable="${abc32}" failonerror="true">
     54            <arg value="../Include/basic.sbp" />
     55            <arg value="../lib/core.lib" />
     56            <arg value="/static_library" />
     57            <arg value="/include_dir:..\Include\" />
     58        </exec>
     59    </target>
     60
     61    <target name="make_x86_cored_lib">
     62        <exec executable="${abc32}" failonerror="true">
     63            <arg value="../Include/basic.sbp" />
     64            <arg value="../lib/cored.lib" />
     65            <arg value="/static_library" />
     66            <arg value="/debug" />
     67            <arg value="/include_dir:..\Include\" />
     68        </exec>
     69    </target>
     70
     71    <target name="make_x64_core_lib">
     72        <exec executable="${abc64}" failonerror="true">
     73            <arg value="../Include/basic.sbp" />
     74            <arg value="../lib/x64/core.lib" />
     75            <arg value="/static_library" />
     76            <arg value="/include_dir:..\Include\" />
     77        </exec>
     78    </target>
     79
     80    <target name="make_x64_cored_lib">
     81        <exec executable="${abc64}" failonerror="true">
     82            <arg value="../Include/basic.sbp" />
     83            <arg value="../lib/x64/cored.lib" />
     84            <arg value="/static_library" />
     85            <arg value="/debug" />
     86            <arg value="/include_dir:..\Include\" />
     87        </exec>
     88    </target>
     89
    3390</project>
Note: See TracChangeset for help on using the changeset viewer.