-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (26 loc) · 1.06 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
cmake_minimum_required(VERSION 3.28)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
project(Blockbuster LANGUAGES CXX)
add_executable(${PROJECT_NAME} ./src/main.cpp)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/clients)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/data)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/datatables)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/movies)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/terminal)
target_include_directories(${PROJECT_NAME}
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/clients
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/data
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/datatables
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/movies
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/terminal)
target_link_libraries(${PROJECT_NAME}
PRIVATE clients
PRIVATE data
PRIVATE datatables
PRIVATE movies
PRIVATE namespaces
PRIVATE terminal
PRIVATE stdc++fs)