-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
44 lines (40 loc) · 1.35 KB
/
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
37
38
39
40
41
42
43
44
cmake_minimum_required(VERSION 3.8)
project(RayCaster3000)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXE_LINKER_FLAGS "-static")
if (NOT CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions(-NDEBUG)
endif()
set(SOURCE_FILES main.cpp
Primitives/Vector3.h
Primitives/Color.h
Primitives/Ray.h
Primitives/Intersection.h
Modals/Materials/Material.h
Modals/Shapes/Shape.h
Modals/Shapes/Sphere.h
Modals/Shapes/Plane.h
Modals/Modal.h
Lights/Light.h
Cameras/Camera.h
Scenes/Scene.cpp
Scenes/Scene.h
"File IO/Parser.h"
"File IO/Composer.h"
"File IO/Basic_IO.h"
Primitives/Vector3.cpp
Primitives/Color.cpp
Primitives/Ray.cpp
Primitives/Intersection.cpp
Modals/Materials/Material.cpp
Modals/Shapes/Shape.cpp
Modals/Shapes/Sphere.cpp
Modals/Shapes/Plane.cpp
Modals/Modal.cpp
Lights/Light.cpp
Cameras/Camera.cpp
"File IO/Parser.cpp"
"File IO/Composer.cpp"
"File IO/Basic_IO.cpp"
Scenes/Settings.h Lights/AmbientLight.cpp Lights/AmbientLight.h Lights/PointLight.cpp Lights/PointLight.h Modals/Shapes/Disk.cpp Modals/Shapes/Disk.h Debug/LeakCounter.h Scenes/Render.cpp Scenes/Render.h Debug/Config.h Config.h)
add_executable(RayCaster3000 ${SOURCE_FILES})