mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added changes for building on Catalina
This commit is contained in:
@@ -73,4 +73,22 @@ Use `CMAKE_BUILD_TYPE=Debug` for a debug build
|
||||
|
||||
## Building on Mac
|
||||
|
||||
It should be possible to use wxWidgets on mac as well, but this is untested so far.
|
||||
Install the dependencies, for example using Homebrew
|
||||
````
|
||||
brew install boost wxwidgets hunspell
|
||||
````
|
||||
Note: Tested with boost 1.72.0_3, wxmac (wxwidgets) 3.0.5.1_1, hunspell 1.7.0_2
|
||||
Then use cmake to build
|
||||
````
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
cmake --build ..
|
||||
````
|
||||
Use `CMAKE_BUILD_TYPE=Debug` for a debug build
|
||||
|
||||
Finally, copy the resources to a SharedSupport directory and run the executable
|
||||
````
|
||||
mkdir SharedSupport && cd SharedSupport
|
||||
cp -r ../resource SharedSupport/
|
||||
./magicseteditor
|
||||
````
|
||||
|
||||
Reference in New Issue
Block a user