Created
June 24, 2018 21:00
-
-
Save Turupawn/bc17c812764cb2190d53dc84194f0442 to your computer and use it in GitHub Desktop.
Building a haxe ndll on x64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
mkdir bin | |
cl /D_USRDLL /D_WINDLL ./src/modioWrapper.cpp ./src/modioWrapperCallbacks.cpp lib/windows64/modio.lib /I include /link /DLL /OUT:bin/modioWrapperWindows_x64.ndll | |
haxe -cp src -main Main -cpp bin -D HXCPP_M64 | |
copy lib\windows64\modio.dll bin | |
cd bin | |
Main.exe | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment