60 lines
1.9 KiB
XML
60 lines
1.9 KiB
XML
<xml>
|
|
|
|
<set name="NO_PRECOMPILED_HEADERS" value="1" if="GCC_OLD" />
|
|
<set name="USE_PRECOMPILED_HEADERS" value="gcc" unless="NO_PRECOMPILED_HEADERS"/>
|
|
|
|
<set name="USE_GCC_FILETYPES" value="1"/>
|
|
|
|
<linker id="static_link" exe="ar" unless="windows">
|
|
<ext value="${LIBEXT}"/>
|
|
|
|
<exe name="${EXEPREFIX}-ar" if="EXEPREFIX" />
|
|
<exe name="${HXCPP_AR}" if="HXCPP_AR" />
|
|
<fromfile value="" if="GCC_OLD" />
|
|
<fromfile value="" if="tizen" />
|
|
<fromfile value="" if="blackberry" />
|
|
<outflag value="-cr "/>
|
|
<outflag value="cr " if="emscripten" />
|
|
<section if="HXCPP_USE_LIBTOOL">
|
|
<exe name="libtool" />
|
|
<exe name="${HXCPP_LIBTOOL}" if="HXCPP_LIBTOOL" />
|
|
<outflag value="-o " />
|
|
<fromfile value="-filelist " needsQuotes="false" />
|
|
</section>
|
|
<!-- <outflag value="-o " if="emscripten" /> -->
|
|
<recreate value="1" unless="HXCPP_LIBTOOL" />
|
|
|
|
<expandAr value="1" if="android" />
|
|
<expandAr value="1" if="emscripten" />
|
|
<expandAr value="1" if="linux" />
|
|
<section unless="HXCPP_USE_LIBTOOL">
|
|
<ranlib name="ranlib" />
|
|
<ranlib name="${EXEPREFIX}-ranlib" if="EXEPREFIX" />
|
|
<ranlib name="${HXCPP_RANLIB}" if="HXCPP_RANLIB" />
|
|
</section>
|
|
</linker>
|
|
|
|
<set name="nostrip" value="1" if="debug"/>
|
|
<set name="nostrip" value="1" if="dll_import"/>
|
|
<set name="nostrip" value="1" if="dll_export"/>
|
|
<set name="nostrip" value="1" if="HXCPP_DEBUG_LINK"/>
|
|
<unset name="nostrip" if="HXCPP_DEBUG_LINK_AND_STRIP"/>
|
|
|
|
|
|
<stripper id="strip" exe="strip" unless="nostrip">
|
|
<exe name="strip"/>
|
|
<exe name="arm-none-linux-gnueabi-strip" if="webos" />
|
|
<exe name="${EXEPREFIX}-strip" if="EXEPREFIX" />
|
|
<exe name="${HXCPP_STRIP}" if="HXCPP_STRIP" />
|
|
<exe name="mipsel-linux-strip" if="gcw0" />
|
|
<exe name="mipsel-gcw0-linux-uclibc-strip" if="gcw0 windows_host" />
|
|
<flag value="-u" if="macos"/>
|
|
<flag value="-r" if="macos"/>
|
|
<flag value="-x" if="macos"/>
|
|
<flag value="-d" if="linux"/>
|
|
</stripper>
|
|
|
|
|
|
|
|
</xml>
|