Skip to content
Snippets Groups Projects
Commit f96da9e2 authored by Rojikku98's avatar Rojikku98
Browse files

Removed unteded stuff for building on mac

parent cb47ee66
No related branches found
No related tags found
No related merge requests found
Pipeline #48692 passed
......@@ -18,13 +18,6 @@ add_subdirectory(lib/cpp-sc2)
add_subdirectory(src)
add_subdirectory(python-api-src)
set_target_properties(civetweb-c-library PROPERTIES FOLDER contrib)
set_target_properties(libprotobuf PROPERTIES FOLDER contrib)
set_target_properties(libprotobuf-lite PROPERTIES FOLDER contrib)
set_target_properties(libprotoc PROPERTIES FOLDER contrib)
set_target_properties(protoc PROPERTIES FOLDER contrib)
set_target_properties(ipv6-parse PROPERTIES FOLDER contrib)
# Hack to make compile, these flags are otherwise set to give errors on warnings
if (MSVC)
set_target_properties(sc2api PROPERTIES COMPILE_FLAGS "/W4")
......
......@@ -99,19 +99,6 @@ Studio.
3. Run `make` to build the project (use `make -j N` if you want to use N
threads)
# How to build (Mac, untested)
Same dependencies applies as for Windows (i think), although you don't need Visual
Studio but you need Xcode.
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
build` and `cmake ../ -G Xcode ` in order to create the xcode project. Then run `open starcraft-python-api.xcodeproj`
3. Click the "play" button to bulid the library
4. The library file can then be found in `build/python-api-src/Debug`
# How to use the library with PyCharm
......
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