From f96da9e21a098b1b0ca5a7d87e3887d5b8b933be Mon Sep 17 00:00:00 2001 From: Rojikku98 <be.edvin@gmail.com> Date: Mon, 21 Jun 2021 13:16:19 +0200 Subject: [PATCH] Removed unteded stuff for building on mac --- CMakeLists.txt | 7 ------- README.md | 13 ------------- 2 files changed, 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae7fce9..6a79da2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/README.md b/README.md index f3e644f..568d479 100644 --- a/README.md +++ b/README.md @@ -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 -- GitLab