* Everything is built using cmake, allowing for one Visual studio project to
* Everything is built using cmake, allowing for one Visual studio project to
build PyCommandCenter together with all its dependencies
build PyCommandCenter together with all its dependencies
[Download page for Windows](https://gitlab.ida.liu.se/course-starcraft-ai/pycommandcenter/tags)
[Download page for Windows](https://gitlab.liu.se/course-starcraft-ai/pycommandcenter/tags)
# Code example for making a bot
# Code example for making a bot
...
@@ -66,11 +66,11 @@ First you need to make sure you got all the build dependencies:
...
@@ -66,11 +66,11 @@ First you need to make sure you got all the build dependencies:
* git
* git
* python 3.7 or later (earlier might work, but untested)
* python 3.7 or later (earlier might work, but untested)
If you ever want to make any changes to the library, e.g. adding new features or making bug fixes, it's easier to fork the project before cloning the repository. For instructions on how to fork, see [the gitlab documentation](https://gitlab.liu.se/help/gitlab-basics/fork-project.md).
If you ever want to make any changes to the library, e.g. adding new features or making bug fixes, it's easier to fork the project before cloning the repository. For instructions on how to fork, see [the gitlab documentation](https://gitlab.liu.se/help/gitlab-basics/fork-project.md).
Now, you are ready to build the python library:
Now, you are ready to build the python library:
1. Open up a terminal, download the source code using the command: `git clone --recurse-submodules https://gitlab.ida.liu.se/course-starcraft-ai/pycommandcenter.git`
1. Open up a terminal, download the source code using the command: `git clone --recurse-submodules https://gitlab.liu.se/course-starcraft-ai/pycommandcenter.git`
2. Next, open the repository in your file viewer and run the batch script
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
called `create-visual-studio-solution.bat` in order to use cmake to create
a Visual studio solution
a Visual studio solution
...
@@ -90,7 +90,7 @@ Now, you are ready to build the python library:
...
@@ -90,7 +90,7 @@ Now, you are ready to build the python library:
Same dependencies applies as for Windows, although you don't need Visual
Same dependencies applies as for Windows, although you don't need Visual
Studio.
Studio.
1. Open up a terminal, download the source code using the command: `git clone --recurse-submodules https://gitlab.ida.liu.se/course-starcraft-ai/pycommandcenter.git`
1. Open up a terminal, download the source code using the command: `git clone --recurse-submodules https://gitlab.liu.se/course-starcraft-ai/pycommandcenter.git`
2. Next, enter the directory and run the command `mkdir build` followed by `cd
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
build` and `cmake ..` in order to create the makefiles needed for building the