Skip to content

Commit

Permalink
Add missing build instruction to cd Build directory on Mac/Linux
Browse files Browse the repository at this point in the history
- Fixes #81
  • Loading branch information
shinymerlyn committed May 12, 2024
1 parent ba9913e commit 6eab492
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions COMPILING.md
Expand Up @@ -54,16 +54,18 @@ The following command should install all necessary dependencies to build Overgro

1. Go to the folder of the project
2. Create a build directory ```% mkdir Build```
3. Run cmake to generate Makefiles, include the path to an already installed instance of Overgrowth ```% cmake ../Projects -DAUX_DATA="/path/to/installed/Overgrowth.app/Contents/MacOS"```
4. Run make to build the game ```% make```
5. Run the game by first moving to the project directory ```% cd ..```
6. Then start the game ```% ./Build/Overgrowth.app/Contents/MacOS/Overgrowth```
3. Switch the terminal to the directory you just created. ```% cd Build```
4. Run cmake to generate Makefiles, include the path to an already installed instance of Overgrowth ```% cmake ../Projects -DAUX_DATA="/path/to/installed/Overgrowth.app/Contents/MacOS"```
5. Run make to build the game ```% make```
6. Run the game by first moving to the project directory ```% cd ..```
7. Then start the game ```% ./Build/Overgrowth.app/Contents/MacOS/Overgrowth```

## Linux

1. Go to the folder of the project
2. Create a build directory ```$ mkdir Build```
3. Run cmake to generate Makefiles, include the path to an already installed instance of Overgrowth ```$ cmake ../Projects -DAUX_DATA="/path/to/installed/Overgrowth"```
4. Run make to build the game ```$ make```
5. Run the game by first moving to the project directory ```$ cd ..```
6. Then start the game ```$ Build/Release/Overgrowth.x86_64```
3. Switch the terminal to the directory you just created. ```% cd Build```
4. Run cmake to generate Makefiles, include the path to an already installed instance of Overgrowth ```$ cmake ../Projects -DAUX_DATA="/path/to/installed/Overgrowth"```
5. Run make to build the game ```$ make```
6. Run the game by first moving to the project directory ```$ cd ..```
7. Then start the game ```$ Build/Release/Overgrowth.x86_64```

0 comments on commit 6eab492

Please sign in to comment.