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.29 by greg, Mon Oct 15 19:12:54 2018 UTC vs.
Revision 1.44 by greg, Sun Mar 20 01:34:09 2022 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)
77 + target_link_libraries(rcode_depth rtrad)
78 +
79 + add_executable(rcode_norm rcode_norm.c)
80 + target_link_libraries(rcode_norm rtrad)
81 +
82 + add_executable(rcode_ident rcode_ident.c)
83 + target_link_libraries(rcode_ident rtrad)
84 +
85   if(X11_FOUND)
86    add_executable(xglaresrc
87      xglaresrc.c
# Line 117 | Line 132 | if(UNIX)
132   endif()
133  
134   install(TARGETS
135 +  dcglare
136    dctimestep
137    eplus_adduvf
138    evalglare
# Line 127 | 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 153 | Line 173 | file(COPY
173   )
174  
175   if(WIN32)
176 +   add_custom_target(bsdfview ALL
177 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
178 +  )
179 +  add_custom_target(genBSDF ALL
180 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
181 +  )
182 +  add_custom_target(genklemsamp ALL
183 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
184 +  )
185 +  add_custom_target(genskyvec ALL
186 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
187 +  )
188 +  add_custom_target(ltpict ALL
189 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
190 +  )
191 +  add_custom_target(ltview ALL
192 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
193 +  )
194 +  add_custom_target(objpict ALL
195 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
196 +  )
197 +  add_custom_target(objview ALL
198 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
199 +  )
200 +  add_custom_target(genambpos ALL
201 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
202 +  )
203 +  add_custom_target(rcode2bmp ALL
204 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
205 +  )
206 +  add_custom_target(rtpict ALL
207 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
208 +  )
209    install(PROGRAMS
210 <    bsdfview.pl
211 <    genBSDF.pl
212 <    genklemsamp.pl
213 <    genskyvec.pl
214 <    ltpict.pl
215 <    ltview.pl
216 <    objpict.pl
217 <    objview.pl
210 >    bsdfview.exe
211 >    genBSDF.exe
212 >    genklemsamp.exe
213 >    genskyvec.exe
214 >    ltpict.exe
215 >    ltview.exe
216 >    objpict.exe
217 >    objview.exe
218 >    genambpos.exe
219 >    rcode2bmp.exe
220 >    rtpict.exe
221      DESTINATION "bin"
222    )
223   else()
# Line 171 | Line 227 | else()
227      dayfact.csh
228      fieldcomb.csh
229      genBSDF.pl
230 <    genambpos.csh
230 >    genambpos.pl
231      genklemsamp.pl
232      genskyvec.pl
233      glare.csh
# Line 181 | Line 237 | else()
237      objpict.pl
238      objview.pl
239      raddepend.csh
240 +    rcode2bmp.pl
241      rlux.csh
242      rtpict.pl
186    trad.wsh
243      vinfo.csh
244 +  )
245 +  add_custom_target(trad ALL
246 +    COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
247 +  )
248 +  install(FILES
249 +    ${CMAKE_BINARY_DIR}/bin/trad
250 +    DESTINATION "bin"
251 +    PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
252    )
253   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines