-
Notifications
You must be signed in to change notification settings - Fork 1
/
assignment-03.cmake
78 lines (73 loc) · 1.95 KB
/
assignment-03.cmake
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
cmake_minimum_required(VERSION 3.0)
set(MY_ADDITIONAL_SOURCES
# Please add your source files here
rt/groups/bvh.cpp
)
set(ASSIGNMENT_SOURCES
rt/groups/bvh.h
rt/groups/kdtree.h
rt/loaders/obj.cpp
rt/loaders/obj.h
core/interpolate.cpp
core/interpolate-impl.h
core/interpolate.h
core/random.cpp
core/random.h
rt/cameras/dofperspective.cpp
rt/cameras/dofperspective.h
rt/coordmappers/coordmapper.h
rt/coordmappers/cylindrical.cpp
rt/coordmappers/cylindrical.h
rt/coordmappers/plane.cpp
rt/coordmappers/plane.h
rt/coordmappers/spherical.cpp
rt/coordmappers/spherical.h
rt/coordmappers/tmapper.cpp
rt/coordmappers/tmapper.h
rt/coordmappers/world.cpp
rt/coordmappers/environmental.cpp
rt/coordmappers/environmental.h
rt/coordmappers/world.h
rt/integrators/recraytrace.cpp
rt/integrators/recraytrace.h
rt/lights/arealight.cpp
rt/lights/arealight.h
rt/loaders/objmat.cpp
rt/materials/lambertian.cpp
rt/materials/lambertian.h
rt/materials/phong.cpp
rt/materials/phong.h
rt/materials/cooktor.cpp
rt/materials/cooktor.h
rt/materials/mirror.cpp
rt/materials/mirror.h
rt/materials/combine.cpp
rt/materials/combine.h
rt/materials/flatmaterial.cpp
rt/materials/flatmaterial.h
rt/materials/fuzzymirror.cpp
rt/materials/fuzzymirror.h
rt/materials/glass.cpp
rt/materials/glass.h
rt/solids/striangle.cpp
rt/solids/striangle.h
rt/solids/environmental.cpp
rt/solids/environmental.h
rt/solids/msphere.cpp
rt/solids/msphere.h
rt/textures/texture.h
rt/textures/constant.cpp
rt/textures/constant.h
rt/textures/checkerboard.cpp
rt/textures/checkerboard.h
rt/textures/imagetex.cpp
rt/textures/imagetex.h
rt/textures/perlin.cpp
rt/textures/perlin.h
${MY_ADDITIONAL_SOURCES}
)
file(COPY
models/cow.mtl
models/cow.obj
DESTINATION ${CMAKE_BINARY_DIR}/models
)