forked from NatLabRockies/SolTrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (20 loc) · 798 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (20 loc) · 798 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
cmake_minimum_required(VERSION 3.19)
Project(soltrace_ui VERSION 1.0.0)
include(cmake/CPM.cmake)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
option(SOLTRACE_BUILD_GUI "Build the GUI parts of Soltrace" OFF)
option(
SOLTRACE_BUILD_CORETRACE
"Legacy ray tracing backend including the strace executable"
OFF)
option(SOLTRACE_BUILD_EMBREE_SUPPORT "Build Embree support for ray tracing" OFF)
option(SOLTRACE_BUILD_OPTIX_SUPPORT "Build the OptiX support for ray tracing" OFF)
option(SOLTRACE_BUILD_PERF_TEST "Build performance tests (not built for debug)" OFF)
option(FULL_FIELD_VALIDATION_TEST "Include full field validation tests" OFF)
enable_testing()
add_subdirectory(coretrace)
add_subdirectory(google-tests)
if(SOLTRACE_BUILD_GUI)
add_subdirectory(app)
endif()