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

Update build instructions for macOS #219

Merged
merged 1 commit into from
Sep 19, 2023
Merged
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
12 changes: 5 additions & 7 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,21 @@ Go to folder with sjasmplus project. Edit install path `PREFIX` in file `Makefil

Go to folder with sjasmplus project and run following set of commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --build build
cmake --install build

The project will use internal copy of Lua 5.4.4 by default, but you can use system Lua 5.4 by using `-DSYSTEM_LUA=ON`.

For disabling of LUA scripting support add `-DENABLE_LUA=OFF` option:

cmake -DENABLE_LUA=OFF ..
cmake -DENABLE_LUA=OFF -DCMAKE_BUILD_TYPE=Release -S . -B build

Binary sjasmplus file will be placed in `/usr/bin` by default.

To change install directory prefix add `-DCMAKE_INSTALL_PREFIX:PATH` option with specified prefix:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DCMAKE_BUILD_TYPE=Release -S . -B build

## CMake method for MS Windows

Expand Down