9 lines
222 B
CMake
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)
|