Skip to content
Snippets Groups Projects
Commit 401c04f8 authored by David Bergström's avatar David Bergström
Browse files

Add build instructions for Linux

parent fc6408d0
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,8 @@ First you need to make sure you got all the build dependencies:
Now, you are ready to build the python library:
1. Run `git clone --recurse-submodules
https://gitlab.ida.liu.se/davbe125/s2-python-api.git` in order to get the
code and all its dependencies
1. Open up a terminal, download the source code using the command:
`git clone --recurse-submodules https://gitlab.ida.liu.se/davbe125/s2-python-api.git`
2. Next, open the repository in your file viewer and run the batch script
called `create-visual-studio-solution.bat` in order to use cmake to create a
Visual studio solution
......@@ -42,6 +41,19 @@ Now, you are ready to build the python library:
file. The file will be located at `build\python-api-src\Release` and its
name will depend on the python version used.
# How to build (Linux, untested)
Same dependencies applies as for Windows, although you don't need Visual
Studio.
1. Open up a terminal, download the source code using the command: `git clone
--recurse-submodules https://gitlab.ida.liu.se/davbe125/s2-python-api.git`
2. Next, enter the directory and run the command `mkdir build` followed by `cd
build` and `cmake ..` in order to create the makefiles needed for building the
library.
3. Run `make` to build the project (use `make -j N` if you want to use N
threads)
# Credits
CommandCenter is written by [David Churchill](http://www.cs.mun.ca/~dchurchill/), Assistant Professor of [Computer Science](https://www.cs.mun.ca/) at Memorial University, and organizer of the [AIIDE StarCraft AI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment