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.46 by greg, Wed Nov 22 17:12:58 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 62 | Line 68 | add_executable(rfluxmtx rfluxmtx.c)
68   target_link_libraries(rfluxmtx rtrad)
69  
70   add_executable(evalglare evalglare.c pictool.c)
71 < target_link_libraries(evalglare rtrad libreetz)
71 > target_link_libraries(evalglare rtrad reetz)
72  
73   add_executable(radcompare radcompare.c)
74   target_link_libraries(radcompare rtrad)
75  
76 < add_executable(rcode_depth rcode_depth.c depthcodec.c)
76 > add_executable(rcode_depth rcode_depth.c)
77   target_link_libraries(rcode_depth rtrad)
78  
79 < add_executable(rcode_norm rcode_norm.c normcodec.c)
79 > add_executable(rcode_norm rcode_norm.c)
80   target_link_libraries(rcode_norm rtrad)
81  
82 < add executable(rcode_ident rcode_ident.c idmap.c)
82 > add_executable(rcode_ident rcode_ident.c)
83   target_link_libraries(rcode_ident rtrad)
84  
85   if(X11_FOUND)
# Line 126 | Line 132 | if(UNIX)
132   endif()
133  
134   install(TARGETS
135 +  dcglare
136    dctimestep
137    eplus_adduvf
138    evalglare
# Line 136 | Line 143 | install(TARGETS
143    radcompare
144    ranimate
145    ranimove
146 +  rcode_depth
147 +  rcode_ident
148 +  rcode_norm
149    rcollate
150 +  rcrop
151    rfluxmtx
152    rmtxop
153    rsensor
# Line 150 | Line 161 | install(TARGETS
161   file(COPY
162    ambpos.cal
163    disk2square.cal
164 +  hsv_rgb.cal
165    klems_full.cal
166    klems_half.cal
167    klems_quarter.cal
# Line 162 | Line 174 | file(COPY
174   )
175  
176   if(WIN32)
177 +   add_custom_target(bsdfview ALL
178 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
179 +  )
180 +  add_custom_target(genBSDF ALL
181 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
182 +  )
183 +  add_custom_target(genklemsamp ALL
184 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
185 +  )
186 +  add_custom_target(genskyvec ALL
187 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
188 +  )
189 +  add_custom_target(ltpict ALL
190 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
191 +  )
192 +  add_custom_target(ltview ALL
193 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
194 +  )
195 +  add_custom_target(objpict ALL
196 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
197 +  )
198 +  add_custom_target(objview ALL
199 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
200 +  )
201 +  add_custom_target(genambpos ALL
202 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
203 +  )
204 +  add_custom_target(rcode2bmp ALL
205 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
206 +  )
207 +  add_custom_target(rtpict ALL
208 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
209 +  )
210    install(PROGRAMS
211 <    bsdfview.pl
212 <    genBSDF.pl
213 <    genklemsamp.pl
214 <    genskyvec.pl
215 <    ltpict.pl
216 <    ltview.pl
217 <    objpict.pl
218 <    objview.pl
211 >    bsdfview.exe
212 >    genBSDF.exe
213 >    genklemsamp.exe
214 >    genskyvec.exe
215 >    ltpict.exe
216 >    ltview.exe
217 >    objpict.exe
218 >    objview.exe
219 >    genambpos.exe
220 >    rcode2bmp.exe
221 >    rtpict.exe
222      DESTINATION "bin"
223    )
224   else()
# Line 180 | Line 228 | else()
228      dayfact.csh
229      fieldcomb.csh
230      genBSDF.pl
231 <    genambpos.csh
231 >    genambpos.pl
232      genklemsamp.pl
233      genskyvec.pl
234      glare.csh
# Line 190 | Line 238 | else()
238      objpict.pl
239      objview.pl
240      raddepend.csh
241 +    rcode2bmp.pl
242      rlux.csh
243      rtpict.pl
195    trad.wsh
244      vinfo.csh
245    )
246 +  # add_custom_target(trad ALL
247 +  #   COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
248 +  # )
249 +  # install(FILES
250 +  #   ${CMAKE_BINARY_DIR}/bin/trad
251 +  #   DESTINATION "bin"
252 +  #   PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
253 +  # )
254   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines