-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (52 loc) · 1.66 KB
/
CMakeLists.txt
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
cmake_minimum_required(VERSION 3.5)
project(quacry)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
add_subdirectory(kipod)
set(SPDLOG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/kipod/external_libs/spdlog/include/)
include_directories(${SPDLOG_DIR})
include_directories(kipod/include)
include_directories(kipod/external_libs/)
file(GLOB quickhull
"external_libs/quickhull/*.hpp"
"external_libs/quickhull/Structs/*.hpp"
"external_libs/quickhull/*.cpp"
)
add_executable(quacry
${quickhull}
main.cpp
src/quasicrystals_pointset.h
src/quasicrystals_pointset.cpp
src/quasicrystal.h
src/quasicrystal.cpp
src/quasicrystals_scene.h
src/quasicrystals_scene.cpp
src/quasicrystals_sidebar.h
src/quasicrystals_sidebar.cpp
src/quasicrystals_console.h
src/quasicrystals_console.cpp
src/quasicrystals_module.h
src/quasicrystals_module.cpp
src/quasicrystals_examples.h
src/quasicrystals_examples.cpp
src/quasicrystals_physical_window.h
src/quasicrystals_physical_window.cpp
src/quasicrystals_guimathcontrol.h
src/quasicrystals_guimathcontrol.cpp
src/examples/penrose.h
src/examples/penrose.cpp
src/examples/ammannbeenker.h
src/examples/ammannbeenker.cpp
src/examples/quasi23.h
src/examples/quasi23.cpp
src/math/lattice.cpp
src/math/minkowski_embedding.cpp
src/math/sl.cpp
src/math/lattice.h
src/math/minkowski_embedding.h
src/math/sl.h
)
target_link_libraries(quacry PUBLIC kipod)
file( COPY ${CMAKE_CURRENT_SOURCE_DIR}/shaders DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
file( COPY ${CMAKE_CURRENT_SOURCE_DIR}/imgui.ini DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )