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.43 by greg, Tue Mar 15 00:25:50 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 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    rfluxmtx
151    rmtxop
# Line 162 | Line 172 | file(COPY
172   )
173  
174   if(WIN32)
175 +   add_custom_target(bsdfview ALL
176 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d
177 +  )
178 +  add_custom_target(genBSDF ALL
179 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d
180 +  )
181 +  add_custom_target(genklemsamp ALL
182 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d
183 +  )
184 +  add_custom_target(genskyvec ALL
185 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d
186 +  )
187 +  add_custom_target(ltpict ALL
188 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d
189 +  )
190 +  add_custom_target(ltview ALL
191 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d
192 +  )
193 +  add_custom_target(objpict ALL
194 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d
195 +  )
196 +  add_custom_target(objview ALL
197 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d
198 +  )
199 +  add_custom_target(genambpos ALL
200 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d
201 +  )
202 +  add_custom_target(rcode2bmp ALL
203 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d
204 +  )
205 +  add_custom_target(rtpict ALL
206 +    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
207 +  )
208    install(PROGRAMS
209 <    bsdfview.pl
210 <    genBSDF.pl
211 <    genklemsamp.pl
212 <    genskyvec.pl
213 <    ltpict.pl
214 <    ltview.pl
215 <    objpict.pl
216 <    objview.pl
209 >    bsdfview.exe
210 >    genBSDF.exe
211 >    genklemsamp.exe
212 >    genskyvec.exe
213 >    ltpict.exe
214 >    ltview.exe
215 >    objpict.exe
216 >    objview.exe
217 >    genambpos.exe
218 >    rcode2bmp.exe
219 >    rtpict.exe
220      DESTINATION "bin"
221    )
222   else()
# Line 180 | Line 226 | else()
226      dayfact.csh
227      fieldcomb.csh
228      genBSDF.pl
229 <    genambpos.csh
229 >    genambpos.pl
230      genklemsamp.pl
231      genskyvec.pl
232      glare.csh
# Line 190 | Line 236 | else()
236      objpict.pl
237      objview.pl
238      raddepend.csh
239 +    rcode2bmp.pl
240      rlux.csh
241      rtpict.pl
195    trad.wsh
242      vinfo.csh
243 +  )
244 +  add_custom_target(trad ALL
245 +    COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
246 +  )
247 +  install(FILES
248 +    ${CMAKE_BINARY_DIR}/bin/trad
249 +    DESTINATION "bin"
250 +    PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
251    )
252   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines