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

Add sc2client-api to cmake

parent d5e863fe
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required (VERSION 2.8.12)
project (starcraft-python-api)
# Build with C++14 support, required by sc2api
set(CMAKE_CXX_STARDARD 14)
# Allow creating filters for projects in visual studio
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Disable building for examples in the sc2api submodule
set(BUILD_API_EXAMPLES OFF CACHE INTERNAL "" FORCE)
# Disable building for tests in the sc2api submodule
set(BUILD_API_TESTS OFF CACHE INTERNAL "" FORCE)
add_subdirectory(lib/pybind11)
add_subdirectory(lib/s2client-api)
pybind11_add_module(library library.cxx)
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