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

Add macOS building of X-Plane plugin #1

Open
wants to merge 1 commit into
base: main
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 JoinFS-XP/Build-macOS.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
arch -x86_64 g++ -o ../JoinFS/mac.xpl Common.cpp Link.cpp JoinFS-XP.cpp -F SDK/Libraries/Mac -F XPMP2/lib/ -framework XPMP2 -Os -shared -rdynamic -fPIC -std=c++17 -I SDK/CHeaders/XPLM -I XPMP2/lib/XPMP2.framework/Headers -Wno-non-pod-varargs -framework CoreFoundation -framework XPLM
echo Done.
3 changes: 3 additions & 0 deletions JoinFS-XP/JoinFS-XP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

#else

#ifndef __APPLE__
#include <sys/sysinfo.h>
#endif

#include <sys/time.h>
#include <sys/socket.h>
#define LIN 1
Expand Down
Binary file added JoinFS-XP/XPMP2/lib/XPMP2.framework.zip
Binary file not shown.
1 change: 0 additions & 1 deletion JoinFS-XP/XPMP2/lib/XPMP2.framework/Headers

This file was deleted.

1 change: 0 additions & 1 deletion JoinFS-XP/XPMP2/lib/XPMP2.framework/Modules

This file was deleted.

1 change: 0 additions & 1 deletion JoinFS-XP/XPMP2/lib/XPMP2.framework/Resources

This file was deleted.

This file was deleted.

Loading