84 lines
2.1 KiB
XML
84 lines
2.1 KiB
XML
<xml>
|
|
|
|
<include name="${HXCPP}/build-tool/BuildCommon.xml"/>
|
|
|
|
<set name="dynamic_link" value="1" unless="static_link" />
|
|
|
|
<import name="libs/std/Build.xml" />
|
|
<import name="libs/zlib/Build.xml" />
|
|
<import name="libs/regexp/Build.xml" />
|
|
<import name="libs/mysql/Build.xml" />
|
|
<import name="libs/sqlite/Build.xml" />
|
|
|
|
|
|
|
|
|
|
<files id="msvccompat" >
|
|
<file name="StlLink.cpp"/>
|
|
</files>
|
|
|
|
<target id="msvccompat" output="${HX_TARGET_PREFIX}msvccompat${LIB_DBG}-${MSVC_VER}" tool="linker" toolid="${STD_MODULE_LINK}">
|
|
<files id="msvccompat"/>
|
|
<builddir name="libs/msvccompat"/>
|
|
<outdir name="${this_dir}/../${DESTDIR}/${BINDIR}"/>
|
|
</target>
|
|
|
|
|
|
<files id="linuxcompat" >
|
|
<file name="FdeltChk.c"/>
|
|
</files>
|
|
|
|
|
|
<target id="linuxcompat" output="${HX_TARGET_PREFIX}linuxcompat${HX_TARGET_SUFFIX}" tool="linker" toolid="${STD_MODULE_LINK}">
|
|
<files id="linuxcompat"/>
|
|
<builddir name="libs/linuxcompat"/>
|
|
<outdir name="${this_dir}/../${DESTDIR}/${BINDIR}"/>
|
|
</target>
|
|
|
|
|
|
|
|
<files id="nekoapi" >
|
|
<depend name="libs/nekoapi/neko.h"/>
|
|
<depend name="${HXCPP}/include/hx/Macros.h"/>
|
|
<depend name="${HXCPP}/include/hx/CFFI.h"/>
|
|
<file name="NekoAPI.cpp"/>
|
|
<compilerflag value="-Dneko_v1" if="neko_v1" />
|
|
</files>
|
|
|
|
|
|
|
|
<set name="neko_v2" value="1" unless="neko_v1" />
|
|
|
|
<set name="NEKO_LIB_DIR" value="bin/${BINDIR}" />
|
|
|
|
<target id="nekoapi" output="nekoapi" tool="linker" toolid="dll">
|
|
<ext value=".ndll"/>
|
|
<files id="nekoapi"/>
|
|
<builddir name="libs/nekoapi"/>
|
|
<lib name="${NEKO_LIB_DIR}/neko.lib" if="windows" />
|
|
<lib name="-L${NEKO_LIB_DIR}" unless="windows"/>
|
|
<lib name="-lneko" unless="windows"/>
|
|
<outdir name="${this_dir}/../bin/${BINDIR}"/>
|
|
</target>
|
|
|
|
|
|
<target id="default" if="linuxcompat" >
|
|
<target id="linuxcompat" />
|
|
</target>
|
|
|
|
<target id="default" unless="linuxcompat" >
|
|
<target id="std"/>
|
|
<target id="regexp"/>
|
|
<target id="zlib"/>
|
|
<target id="mysql"/>
|
|
<target id="sqlite" unless="winrt"/><!-- TODO -->
|
|
<section if="static_link">
|
|
<target id="msvccompat" if="windows" unless="mingw||MSVC19" />
|
|
<target id="linuxcompat" if="linux" />
|
|
<target id="linuxcompat" if="gcw0" />
|
|
</section>
|
|
</target>
|
|
|
|
|
|
</xml>
|