[FEAT] Update CMake project.

This commit is contained in:
NADAL Jean-Baptiste
2024-01-30 11:43:37 +01:00
parent 3573d634ac
commit db4fa8556a
13 changed files with 126 additions and 63 deletions

11
apps/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.14)
project(main)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(raytracer main.cpp)
# We need hello.h and the hello library
target_link_libraries(raytracer
PRIVATE raytracing)