ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/CMakeLists.txt
(Generate patch)

Comparing ray/src/util/CMakeLists.txt (file contents):
Revision 1.32 by greg, Fri Jul 19 22:25:03 2019 UTC vs.
Revision 1.48 by greg, Tue Dec 12 16:31:45 2023 UTC

# Line 16 | Line 16 | target_link_libraries(glarendx rtrad)
16   add_executable(rad rad.c)
17   target_link_libraries(rad rtrad)
18  
19 + add_executable(rcrop rcrop.c)
20 + target_link_libraries(rcrop rtrad)
21 +
22   if(WIN32)
23    set(netproc_SOURCES win_netproc.c)
24   else()
# Line 34 | Line 37 | target_link_libraries(vwrays rtrad)
37   add_executable(vwright vwright.c)
38   target_link_libraries(vwright rtrad)
39  
40 + add_executable(dcglare dcglare.c cmbsdf.c cmatrix.c cmglare.c)
41 + target_link_libraries(dcglare rtrad)
42 +
43   #the next few libraries all need to include header files from the rt directory
44   include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../rt")
45  
# Line 52 | Line 58 | target_link_libraries(rcollate rtrad)
58   add_executable(rmtxop rmtxop.c rmatrix.c cmbsdf.c cmatrix.c)
59   target_link_libraries(rmtxop rtrad)
60  
61 + add_executable(rcomb rcomb.c rmatrix.c cmbsdf.c cmatrix.c)
62 + target_link_libraries(rcomb rtrad)
63 +
64   add_executable(wrapBSDF wrapBSDF.c)
65   target_link_libraries(wrapBSDF rtrad)
66  
# Line 62 | Line 71 | add_executable(rfluxmtx rfluxmtx.c)
71   target_link_libraries(rfluxmtx rtrad)
72  
73   add_executable(evalglare evalglare.c pictool.c)
74 < target_link_libraries(evalglare rtrad libreetz)
74 > target_link_libraries(evalglare rtrad reetz)
75  
76   add_executable(radcompare radcompare.c)
77   target_link_libraries(radcompare rtrad)
78  
79 < add_executable(rcode_depth rcode_depth.c depthcodec.c)
79 > add_executable(rcode_depth rcode_depth.c)
80   target_link_libraries(rcode_depth rtrad)
81  
82 < add_executable(rcode_norm rcode_norm.c normcodec.c)
82 > add_executable(rcode_norm rcode_norm.c)
83   target_link_libraries(rcode_norm rtrad)
84  
85 < add executable(rcode_ident rcode_ident.c idmap.c)
85 > add_executable(rcode_ident rcode_ident.c)
86   target_link_libraries(rcode_ident rtrad)
87  
88   if(X11_FOUND)
# Line 126 | Line 135 | if(UNIX)
135   endif()
136  
137   install(TARGETS
138 +  dcglare
139    dctimestep
140    eplus_adduvf
141    evalglare
# Line 136 | Line 146 | install(TARGETS
146    radcompare
147    ranimate
148    ranimove
149 +  rcode_depth
150 +  rcode_ident
151 +  rcode_norm
152    rcollate
153 +  rcrop
154    rfluxmtx
155    rmtxop
156 +  rcomb
157    rsensor
158    rttree_reduce
159    vwrays
# Line 150 | Line 165 | install(TARGETS
165   file(COPY
166    ambpos.cal
167    disk2square.cal
168 +  hsv_rgb.cal
169    klems_full.cal
170    klems_half.cal
171    klems_quarter.cal
# Line 162 | Line 178 | file(COPY
178   )
179  
180   if(WIN32)
181 +   add_custom_target(bsdfview ALL
182 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
183 +  )
184 +  add_custom_target(genBSDF ALL
185 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
186 +  )
187 +  add_custom_target(genklemsamp ALL
188 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
189 +  )
190 +  add_custom_target(genskyvec ALL
191 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
192 +  )
193 +  add_custom_target(ltpict ALL
194 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
195 +  )
196 +  add_custom_target(ltview ALL
197 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
198 +  )
199 +  add_custom_target(objpict ALL
200 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
201 +  )
202 +  add_custom_target(objview ALL
203 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
204 +  )
205 +  add_custom_target(genambpos ALL
206 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
207 +  )
208 +  add_custom_target(rcode2bmp ALL
209 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
210 +  )
211 +  add_custom_target(rtpict ALL
212 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
213 +  )
214    install(PROGRAMS
215 <    bsdfview.pl
216 <    genBSDF.pl
217 <    genklemsamp.pl
218 <    genskyvec.pl
219 <    ltpict.pl
220 <    ltview.pl
221 <    objpict.pl
222 <    objview.pl
215 >    bsdfview.exe
216 >    genBSDF.exe
217 >    genklemsamp.exe
218 >    genskyvec.exe
219 >    ltpict.exe
220 >    ltview.exe
221 >    objpict.exe
222 >    objview.exe
223 >    genambpos.exe
224 >    rcode2bmp.exe
225 >    rtpict.exe
226      DESTINATION "bin"
227    )
228   else()
# Line 180 | Line 232 | else()
232      dayfact.csh
233      fieldcomb.csh
234      genBSDF.pl
235 <    genambpos.csh
235 >    genambpos.pl
236      genklemsamp.pl
237      genskyvec.pl
238      glare.csh
# Line 190 | Line 242 | else()
242      objpict.pl
243      objview.pl
244      raddepend.csh
245 +    rcode2bmp.pl
246      rlux.csh
247      rtpict.pl
195    trad.wsh
248      vinfo.csh
249    )
250 +  # add_custom_target(trad ALL
251 +  #   COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
252 +  # )
253 +  # install(FILES
254 +  #   ${CMAKE_BINARY_DIR}/bin/trad
255 +  #   DESTINATION "bin"
256 +  #   PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
257 +  # )
258   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines