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

Comparing src/util/CMakeLists.txt (file contents):
Revision 1.36 by greg, Mon Sep 9 17:19:51 2019 UTC vs.
Revision 1.53 by greg, Thu Jul 24 01:24:01 2025 UTC

# Line 1 | Line 1
1 + # RCSid $Id$
2 +
3   set(VERSION_FILE "${radiance_BINARY_DIR}/src/util/Version.c")
4   create_version_file("${VERSION_FILE}")
5  
6 < add_executable(dctimestep dctimestep.c cmbsdf.c cmatrix.c)
6 > add_executable(dctimestep dctimestep.c cmbsdf.c cmconst.c cmatrix.c)
7   target_link_libraries(dctimestep rtrad)
8  
9   add_executable(findglare findglare.c glareval.c glaresrc.c setscan.c)
# Line 16 | Line 18 | target_link_libraries(glarendx rtrad)
18   add_executable(rad rad.c)
19   target_link_libraries(rad rtrad)
20  
21 + add_executable(rcrop rcrop.c)
22 + target_link_libraries(rcrop rtrad)
23 +
24   if(WIN32)
25    set(netproc_SOURCES win_netproc.c)
26   else()
# Line 34 | Line 39 | target_link_libraries(vwrays rtrad)
39   add_executable(vwright vwright.c)
40   target_link_libraries(vwright rtrad)
41  
42 < add_executable(dcglare dcglare.c cmbsdf.c cmatrix.c cmglare.c)
42 > add_executable(dcglare dcglare.c cmbsdf.c cmconst.c cmatrix.c cmglare.c)
43   target_link_libraries(dcglare rtrad)
44  
45   #the next few libraries all need to include header files from the rt directory
# Line 52 | Line 57 | target_link_libraries(rttree_reduce rtrad)
57   add_executable(rcollate rcollate.c)
58   target_link_libraries(rcollate rtrad)
59  
60 < add_executable(rmtxop rmtxop.c rmatrix.c cmbsdf.c cmatrix.c)
60 > add_executable(rmtxop rmtxop.c rmatrix.c cmconst.c cmbsdf.c cmatrix.c rmconvert.c)
61   target_link_libraries(rmtxop rtrad)
62  
63 + add_executable(rcomb rcomb.c cmconst.c rmatrix.c)
64 + target_link_libraries(rcomb rtrad)
65 +
66 + add_executable(pvsum pvsum.c cmconst.c rmatrix.c)
67 + target_link_libraries(pvsum rtrad)
68 +
69   add_executable(wrapBSDF wrapBSDF.c)
70   target_link_libraries(wrapBSDF rtrad)
71  
# Line 65 | Line 76 | add_executable(rfluxmtx rfluxmtx.c)
76   target_link_libraries(rfluxmtx rtrad)
77  
78   add_executable(evalglare evalglare.c pictool.c)
79 < target_link_libraries(evalglare rtrad libreetz)
79 > target_link_libraries(evalglare rtrad reetz)
80  
81   add_executable(radcompare radcompare.c)
82   target_link_libraries(radcompare rtrad)
# Line 129 | Line 140 | if(UNIX)
140   endif()
141  
142   install(TARGETS
143 +  dcglare
144    dctimestep
145    eplus_adduvf
146    evalglare
# Line 139 | Line 151 | install(TARGETS
151    radcompare
152    ranimate
153    ranimove
154 +  rcode_depth
155 +  rcode_ident
156 +  rcode_norm
157    rcollate
158 +  rcrop
159    rfluxmtx
160    rmtxop
161 +  rcomb
162    rsensor
163    rttree_reduce
164    vwrays
# Line 153 | Line 170 | install(TARGETS
170   file(COPY
171    ambpos.cal
172    disk2square.cal
173 +  hsv_rgb.cal
174    klems_full.cal
175    klems_half.cal
176    klems_quarter.cal
# Line 165 | Line 183 | file(COPY
183   )
184  
185   if(WIN32)
186 +   add_custom_target(bsdfview ALL
187 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
188 +  )
189 +  add_custom_target(genBSDF ALL
190 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
191 +  )
192 +  add_custom_target(genklemsamp ALL
193 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
194 +  )
195 +  add_custom_target(genskyvec ALL
196 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
197 +  )
198 +  add_custom_target(ltpict ALL
199 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
200 +  )
201 +  add_custom_target(ltview ALL
202 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
203 +  )
204 +  add_custom_target(objpict ALL
205 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
206 +  )
207 +  add_custom_target(objview ALL
208 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
209 +  )
210 +  add_custom_target(genambpos ALL
211 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
212 +  )
213 +  add_custom_target(rcode2bmp ALL
214 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
215 +  )
216 +  add_custom_target(rtpict ALL
217 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
218 +  )
219    install(PROGRAMS
220 <    bsdfview.pl
221 <    genBSDF.pl
222 <    genklemsamp.pl
223 <    genskyvec.pl
224 <    ltpict.pl
225 <    ltview.pl
226 <    objpict.pl
227 <    objview.pl
220 >    bsdfview.exe
221 >    genBSDF.exe
222 >    genklemsamp.exe
223 >    genskyvec.exe
224 >    ltpict.exe
225 >    ltview.exe
226 >    objpict.exe
227 >    objview.exe
228 >    genambpos.exe
229 >    rcode2bmp.exe
230 >    rtpict.exe
231      DESTINATION "bin"
232    )
233   else()
# Line 183 | Line 237 | else()
237      dayfact.csh
238      fieldcomb.csh
239      genBSDF.pl
240 <    genambpos.csh
240 >    genambpos.pl
241      genklemsamp.pl
242      genskyvec.pl
243      glare.csh
# Line 196 | Line 250 | else()
250      rcode2bmp.pl
251      rlux.csh
252      rtpict.pl
199    trad.wsh
253      vinfo.csh
254    )
255 +  # add_custom_target(trad ALL
256 +  #   COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
257 +  # )
258 +  # install(FILES
259 +  #   ${CMAKE_BINARY_DIR}/bin/trad
260 +  #   DESTINATION "bin"
261 +  #   PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
262 +  # )
263   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines