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.37 by greg, Thu Jul 16 19:57:29 2020 UTC vs.
Revision 1.50 by greg, Fri Apr 18 23:59:03 2025 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 55 | 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 cmatrix.c)
62 + target_link_libraries(rcomb rtrad)
63 +
64 + add_executable(pvsum pvsum.c rmatrix.c cmatrix.c)
65 + target_link_libraries(pvsum rtrad)
66 +
67   add_executable(wrapBSDF wrapBSDF.c)
68   target_link_libraries(wrapBSDF rtrad)
69  
# Line 65 | Line 74 | add_executable(rfluxmtx rfluxmtx.c)
74   target_link_libraries(rfluxmtx rtrad)
75  
76   add_executable(evalglare evalglare.c pictool.c)
77 < target_link_libraries(evalglare rtrad libreetz)
77 > target_link_libraries(evalglare rtrad reetz)
78  
79   add_executable(radcompare radcompare.c)
80   target_link_libraries(radcompare rtrad)
# Line 144 | Line 153 | install(TARGETS
153    rcode_ident
154    rcode_norm
155    rcollate
156 +  rcrop
157    rfluxmtx
158    rmtxop
159 +  rcomb
160    rsensor
161    rttree_reduce
162    vwrays
# Line 157 | Line 168 | install(TARGETS
168   file(COPY
169    ambpos.cal
170    disk2square.cal
171 +  hsv_rgb.cal
172    klems_full.cal
173    klems_half.cal
174    klems_quarter.cal
# Line 169 | Line 181 | file(COPY
181   )
182  
183   if(WIN32)
184 +   add_custom_target(bsdfview ALL
185 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
186 +  )
187 +  add_custom_target(genBSDF ALL
188 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
189 +  )
190 +  add_custom_target(genklemsamp ALL
191 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
192 +  )
193 +  add_custom_target(genskyvec ALL
194 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
195 +  )
196 +  add_custom_target(ltpict ALL
197 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
198 +  )
199 +  add_custom_target(ltview ALL
200 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
201 +  )
202 +  add_custom_target(objpict ALL
203 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
204 +  )
205 +  add_custom_target(objview ALL
206 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
207 +  )
208 +  add_custom_target(genambpos ALL
209 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
210 +  )
211 +  add_custom_target(rcode2bmp ALL
212 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
213 +  )
214 +  add_custom_target(rtpict ALL
215 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
216 +  )
217    install(PROGRAMS
218 <    bsdfview.pl
219 <    genBSDF.pl
220 <    genklemsamp.pl
221 <    genskyvec.pl
222 <    ltpict.pl
223 <    ltview.pl
224 <    objpict.pl
225 <    objview.pl
218 >    bsdfview.exe
219 >    genBSDF.exe
220 >    genklemsamp.exe
221 >    genskyvec.exe
222 >    ltpict.exe
223 >    ltview.exe
224 >    objpict.exe
225 >    objview.exe
226 >    genambpos.exe
227 >    rcode2bmp.exe
228 >    rtpict.exe
229      DESTINATION "bin"
230    )
231   else()
# Line 187 | Line 235 | else()
235      dayfact.csh
236      fieldcomb.csh
237      genBSDF.pl
238 <    genambpos.csh
238 >    genambpos.pl
239      genklemsamp.pl
240      genskyvec.pl
241      glare.csh
# Line 200 | Line 248 | else()
248      rcode2bmp.pl
249      rlux.csh
250      rtpict.pl
203    trad.wsh
251      vinfo.csh
252    )
253 +  # add_custom_target(trad ALL
254 +  #   COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
255 +  # )
256 +  # install(FILES
257 +  #   ${CMAKE_BINARY_DIR}/bin/trad
258 +  #   DESTINATION "bin"
259 +  #   PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
260 +  # )
261   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines