Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apprentice Alchemist - Hashlink implementation #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ haxe-fmod.zip

# Generated code
*raw.js
faxe/obj
test/out/*
33 changes: 33 additions & 0 deletions faxe/Build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<xml>
<section if="windows">
<set name="NATIVE_TOOLKIT_PATH" value="${this_dir}/../lib/Windows" />
</section>
<echo value="${this_dir}"/>
<!-- <echo value="Found your FMOD API ${NATIVE_TOOLKIT_PATH}!" ifExists="${NATIVE_TOOLKIT_PATH}/api" /> -->
<files id="faxe">
<compilerflag value="-DFAXE_HL"/>
<compilerflag value="-I${this_dir}/" />
<compilerflag value="-I${this_dir}/misc/" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/api/core/inc/" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/api/studio/inc/" />
<compilerflag value="-I${HASHLINK}/include" />
<file name="${this_dir}/linc_faxe.cpp" />
</files>


<target id="default" output="faxe" toolid="dll" tool="linker">
<section if="windows HXCPP_M32">
<lib name="${NATIVE_TOOLKIT_PATH}/api/core/lib/x86/fmod_vc.lib" />
<lib name="${NATIVE_TOOLKIT_PATH}/api/studio/lib/x86/fmodstudio_vc.lib" />
</section>

<section if="windows HXCPP_M64">
<lib name="${NATIVE_TOOLKIT_PATH}/api/core/lib/x64/fmod_vc.lib" />
<lib name="${NATIVE_TOOLKIT_PATH}/api/studio/lib/x64/fmodstudio_vc.lib" />
</section>

<files id="faxe"/>
<lib name="libhl32.lib"/>
<!-- <ext value=".hdll"/> -->
</target>
</xml>
Binary file added faxe/libhl32.lib
Binary file not shown.
Loading