-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
36 lines (30 loc) · 1011 Bytes
/
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
cmake_minimum_required(VERSION 3.11)
project(df_common LANGUAGES CXX)
set(cmake_utils_dir "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
list(INSERT CMAKE_MODULE_PATH 0 "${cmake_utils_dir}")
# Use FetchContent to make visible cmake-lemmata contents
# to cmake
include(FetchContent)
FetchContent_Declare(
cmake-lemmata
GIT_REPOSITORY https://github.com/PenguinLemma/cmake-lemmata.git
)
FetchContent_GetProperties(cmake-lemmata)
if(NOT cmake-lemmata_POPULATED)
FetchContent_Populate(cmake-lemmata)
list(INSERT CMAKE_MODULE_PATH 0 "${cmake_utils_dir}/cmake-lemmata")
endif()
include(libraryAdditionLemma)
include(glancyCompilerOptions)
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
add_subdirectory(glancy)
add_subdirectory(hittables)
add_subdirectory(materials)
add_subdirectory(math)
add_subdirectory(renderer)
add_subdirectory(scenes)
add_subdirectory(testing_utilities)
add_subdirectory(textures)
add_subdirectory(thirdparty)
add_subdirectory(utilities)