From 5583c69754053ee941c02e3a3eb0754ccce065f6 Mon Sep 17 00:00:00 2001 From: Davide Toldo Date: Sun, 17 Sep 2023 14:08:35 +0200 Subject: [PATCH] Update build instructions for macOS Using "correct" / intended cmake usage. Cleaner and shorter, as well. --- INSTALL.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 100ca857..91b92b52 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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