-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
36 lines (27 loc) · 1.06 KB
/
CMakeLists.txt
File metadata and controls
36 lines (27 loc) · 1.06 KB
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
cmake_minimum_required(VERSION 3.13.4)
set(CMAKE_BUILD_TYPE Debug)
project(Algorithms LANGUAGES CXX C ) #Algorithms = ${PROJECT_NAME}
add_executable(${PROJECT_NAME} main.cpp)
add_subdirectory(include)
add_subdirectory(src)
target_link_directories(${PROJECT_NAME} PRIVATE src)
target_link_directories(${PROJECT_NAME}
PRIVATE include/algorithms
PRIVATE include/shapes
PRIVATE include/external
PRIVATE src
)
target_include_directories(${PROJECT_NAME}
PUBLIC include
PUBLIC include/external/glfw/include
PUBLIC external/stb
PUBLIC external/imgui
)
target_link_libraries( ${PROJECT_NAME}
algorithms
src
imgui
glfw
stb
shapes
)