-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
38 lines (30 loc) · 932 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
38 lines (30 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
cmake_minimum_required(VERSION 3.17)
project(ACLIBSharedMemory)
set(CMAKE_CXX_STANDARD 11)
# AC uses python 3.3
# Requires msvc++ 10.0
# find_package(PythonLibs 3.3 EXACT REQUIRED)
find_package(PythonLibs REQUIRED)
include_directories(
source/
${PYTHON_INCLUDE_DIRS})
set(SOURCES
source/AC.hpp
source/ACLIB.hpp
source/SharedMemory.hpp
source/EventLoop.cpp
source/EventLoop.hpp
source/python/ACLIBSharedMemory.cpp
source/python/PyPhysics.cpp
source/python/PyPhysics.hpp
source/python/PyGraphics.cpp
source/python/PyGraphics.hpp
source/python/PyStatics.cpp
source/python/PyStatics.hpp
source/python/PyEventLoop.cpp
source/python/PyEventLoop.hpp)
# The module
add_library(ACLIBSharedMemory
${SOURCES}
${PYTHON_LIBRARIES})
target_link_libraries(ACLIBSharedMemory ${PYTHON_LIBRARIES})