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 premake #10
Add premake #10
Conversation
8fc2778
to
fa6fa82
Compare
Would it be OK for me to push the latest AMX to this branch? Then I can get rid of the AMX version problems and get Linux running as well, all under premake. |
By the way, how does one get lua5.1.so? Line 72 in e374a2b
|
Feel free to push to this branch. lua5.1.so: don't know I just copied the config from multitheftauto/mtasa-blue#120 |
* AMX pulled from https://github.com/pawn-lang/compiler/tree/Branch_burger * Delete unused Makefile * Renamed float.c to amxfloat.c * Include "linux" files when building for Linux * Define FLOATPOINT when building AMX
* Only include king.rc when building for Windows * Only include "linux/" files when building for Linux * Omit "linux/" from the list of built files (only header is enough)
I went ahead and built lua5.1.so by myself to have it in the lib folder for everyone else to build (since the Windows .lib files where already there anyways). I'll merge master to this PR otherwise it won't build. Linux should build now, I haven't tested it yet though. |
This PR has only been tested on Windows!
Also switches to a better AMX version, so this fixes #7.
Additional tasks:
king
./premake5.exe vs2019