Skip to content

Commit

Permalink
Create Build.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Jan 2, 2025
1 parent 7eece6f commit 5674852
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions ndlls/memory/Build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<xml>
<!-- TO EDIT THE NAME OF THE NDLL EDIT THIS -->
<set name="NDLL_NAME" value="memory"/>

<include name="${HXCPP}/build-tool/BuildCommon.xml"/>

<files id="common">
<compilerflag value="-Iinclude"/>

<file name="common/ExternalInterface.cpp"/>
</files>

<set name="SLIBEXT" value=".lib" if="windows"/>
<set name="SLIBEXT" value=".a" unless="windows"/>
<set name="SLIBEXT" value=".so" if="webos"/>

<set name="DEBUGEXTRA" value="-debug" if="fulldebug" />

<!-- prefix = ${LIBPREFIX} -->
<!-- suffix = ${MSVC_LIB_VERSION}${DEBUGEXTRA}${LIBEXTRA} -->
<target id="NDLL" output="memory" tool="linker" toolid="${STD_MODULE_LINK}">
<outdir name="../ndll/${BINDIR}"/>
<ext value=".ndll" if="windows || mac || linux"/>
<files id="common"/>
</target>

<target id="default">
<target id="NDLL"/>
</target>
</xml>

0 comments on commit 5674852

Please sign in to comment.