1 |
+ |
# RCSid $Id$ |
2 |
+ |
|
3 |
|
set(rtrad_SOURCES |
4 |
|
addobjnotify.c |
5 |
|
badarg.c |
22 |
|
colrops.c |
23 |
|
cone.c |
24 |
|
cvtcmd.c |
25 |
+ |
data.c |
26 |
+ |
depthcodec.c |
27 |
|
dircode.c |
28 |
|
disk2square.c |
29 |
+ |
dmessage.c |
30 |
|
ealloc.c |
31 |
|
eputs.c |
32 |
|
erf.c |
40 |
|
fgetval.c |
41 |
|
fgetword.c |
42 |
|
fixargv0.c |
43 |
+ |
fltdepth.c |
44 |
|
font.c |
45 |
|
fputword.c |
46 |
|
free_os.c |
51 |
|
getpath.c |
52 |
|
header.c |
53 |
|
hilbert.c |
54 |
+ |
idmap.c |
55 |
|
image.c |
56 |
|
instance.c |
57 |
|
interp2d.c |
58 |
|
invmat4.c |
59 |
+ |
jitteraperture.c |
60 |
|
lamps.c |
61 |
|
linregr.c |
62 |
|
loadbsdf.c |
67 |
|
modobject.c |
68 |
|
multisamp.c |
69 |
|
myhostname.c |
70 |
+ |
normcodec.c |
71 |
|
objset.c |
72 |
|
octree.c |
73 |
|
otypes.c |
106 |
|
|
107 |
|
if(UNIX) |
108 |
|
list(APPEND rtrad_SOURCES unix_process.c) |
109 |
+ |
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
110 |
+ |
list(APPEND rtrad_SOURCES strnstr.c strlcpy.c) |
111 |
+ |
endif() |
112 |
|
else() |
113 |
< |
list(APPEND rtrad_SOURCES win_process.c win_popen.c strlcpy.c) |
113 |
> |
list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strnstr.c strlcpy.c strncasecmp.c) |
114 |
|
endif() |
115 |
|
|
116 |
|
add_library(rtrad ${rtrad_SOURCES}) |
119 |
|
target_link_libraries(rtrad ws2_32) |
120 |
|
endif() |
121 |
|
|
122 |
+ |
add_library(cpprad |
123 |
+ |
abitmap.cpp |
124 |
+ |
abitmapio.cpp |
125 |
+ |
) |
126 |
+ |
|
127 |
|
add_library(rgl |
128 |
|
rgldomat.c |
129 |
|
rglfile.c |
140 |
|
mgf_xf.c |
141 |
|
) |
142 |
|
|
143 |
< |
add_library(libreetz |
143 |
> |
add_library(wfobj |
144 |
> |
objutil.c |
145 |
> |
readwfobj.c |
146 |
> |
convertobj.c |
147 |
> |
writewfobj.c |
148 |
> |
objtriangulate.c |
149 |
> |
) |
150 |
> |
|
151 |
> |
add_library(reetz |
152 |
|
g3affine.c |
128 |
– |
g3affine.h |
153 |
|
g3flist.c |
130 |
– |
g3flist.h |
131 |
– |
g3list.h |
132 |
– |
g3nlist.h |
154 |
|
g3sphere.c |
134 |
– |
g3sphere.h |
155 |
|
g3vector.c |
136 |
– |
g3vector.h |
156 |
|
gbasic.c |
138 |
– |
gbasic.h |
139 |
– |
maxheap.c |
140 |
– |
maxheap.h |
157 |
|
muc_randvar.c |
142 |
– |
muc_randvar.h |
158 |
|
) |
159 |
|
|
160 |
|
add_executable(testBSDF |
164 |
|
) |
165 |
|
target_link_libraries(testBSDF radiance rtrad) |
166 |
|
|
167 |
< |
install(TARGETS rtrad mgf |
167 |
> |
install(TARGETS rtrad cpprad mgf |
168 |
|
LIBRARY DESTINATION "bin" |
169 |
|
ARCHIVE DESTINATION "bin" |
170 |
|
) |