This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
mkdir bin | ||
cp mod.io-sdk-v0.8.0/lib/macos/x64/libmodio.dylib bin/ | ||
clang++ -shared -L./mod.io-sdk-v0.8.0/lib/macos/x64 -lmodio ./src/modioWrapper.cpp ./src/modioWrapperCallbacks.cpp ./src/modioWrapperObjects.cpp -o ./bin/modioWrapperMacOS.ndll -I./include -I./mod.io-sdk-v0.8.0/include -std=c++11 | ||
haxe -cp src/examples -main Ex01_Authentication -cpp bin -D macos | ||
haxe -cp src/examples -main Ex02_BrowseMods -cpp bin -D macos | ||
haxe -cp src/examples -main Ex03_SubscribeToMod -cpp bin -D macos | ||
haxe -cp src/examples -main Ex04_UnsubscribeFromMod -cpp bin -D macos | ||
haxe -cp src/examples -main Ex05_AutomaticDownloads -cpp bin -D macos | ||
haxe -cp src/examples -main Ex06_AddMod -cpp bin -D macos | ||
haxe -cp src/examples -main Ex07_EditMod -cpp bin -D macos | ||
|
||
# Run an individual example by typing the following | ||
# LD_LIBRARY_PATH=./bin ./bin/Ex01_Authentication |