raytracing-in-a-weekend-cuda/CMakeLists.txt
2023-11-28 23:36:11 +02:00

9 lines
222 B
CMake

cmake_minimum_required(VERSION 3.12)
project(raytracing-in-a-weekend)
set(CMAKE_CXX_STANDARD 14)
enable_language(CUDA)
add_executable(main src/main.cu)
set_target_properties(main PROPERTIES CUDA_ARCHITECTURES all-major)