Skip to content
Closed
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: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,17 @@ sudo apt install libboost-dev libwxgtk3.0-gtk3-dev libhunspell-dev
````
Then use cmake to build
````
cmake build -DCMAKE_BUILD_TYPE=Release
cmake --build build
mkdir build
cd build
cmake ..
make

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this you can just do:

$ cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
$ cmake --build build

This is better for two reasons:

  1. It's shorter. :)
  2. It doesn't assume you're using make over ninja.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some fixes to README.md in #131 that does the above btw.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rewrote those steps because they did not work on linux. Can't remember now why though

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because the original steps assumes there's already a build directory present. :)

````
Before running you must copy the resource directory
````
mkdir ~/.magicseteditor
cp -r resource ~/.magicseteditor/
````
Then you need to get data files. The most commonly used data files can be found [here](https://github.com/CajunAvenger/Cajun-Style-Templates/)
Use `CMAKE_BUILD_TYPE=Debug` for a debug build

## Building on Mac
Expand Down