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

Comparing ray/src/gen/CMakeLists.txt (file contents):
Revision 2.3 by greg, Fri Jan 18 19:56:02 2013 UTC vs.
Revision 2.11 by greg, Fri Jul 5 18:04:36 2024 UTC

# Line 4 | Line 4 | add_executable(genbeads genbeads.c hermite3.c)
4   target_link_libraries(genbeads ${LIB_M})
5  
6   add_executable(genbox genbox.c)
7 + target_link_libraries(genbox wfobj rtrad ${LIB_M})
8  
9   add_executable(genmarble genmarble.c ../common/random.h)
10   target_link_libraries(genmarble ${LIB_M})
11  
12   add_executable(gensky gensky.c sun.c)
13 < target_link_libraries(gensky ${LIB_M})
13 > target_link_libraries(gensky rtrad ${LIB_M})
14  
15 + add_executable(genssky genssky.c sun.c atmos.c ../rt/data.c)
16 + target_link_libraries(genssky rtrad ${LIB_M})
17 +
18   add_executable(gendaylit gendaylit.c sun.c)
19   target_link_libraries(gendaylit rtrad ${LIB_M})
20  
# Line 18 | Line 22 | add_executable(gendaymtx gendaymtx.c sun.c)
22   target_link_libraries(gendaymtx rtrad ${LIB_M})
23  
24   add_executable(genblinds genblinds.c)
25 < target_link_libraries(genblinds ${LIB_M})
25 > target_link_libraries(genblinds rtrad ${LIB_M})
26  
27   add_executable(genprism genprism.c)
28 < target_link_libraries(genprism ${LIB_M})
28 > target_link_libraries(genprism rtrad ${LIB_M})
29  
30   add_executable(xform xform.c)
31   target_link_libraries(xform rtrad)
# Line 35 | Line 39 | target_link_libraries(mkillum raycalls radiance rtrad)
39   add_executable(mksource mksource.c)
40   target_link_libraries(mksource raycalls radiance rtrad)
41  
42 < add_executable(genrev genrev.c )
42 > add_executable(genrev genrev.c)
43   target_link_libraries(genrev rtrad)
44  
45   add_executable(gencatenary gencat.c)
# Line 53 | Line 57 | target_link_libraries(genclock ${LIB_M})
57   add_executable(genbranch genbranch.c)
58   target_link_libraries(genbranch ${LIB_M})
59  
60 < install(TARGETS genbox gensky xform genblinds genrev genworm gendaylit gensurf
61 <                genprism replmarks mkillum mksource genclock gendaymtx
62 <        DESTINATION bin)
60 > install(TARGETS
61 >  genblinds
62 >  genbox
63 >  genclock
64 >  gendaylit
65 >  gendaymtx
66 >  genprism
67 >  genrev
68 >  gensky
69 >  genssky
70 >  gensurf
71 >  genworm
72 >  mkillum
73 >  mksource
74 >  replmarks
75 >  xform
76 >  DESTINATION "bin"
77 > )
78  
79 < install(FILES illum.cal rev.cal skybright.cal surf.cal clockface.hex glaze1.cal
80 <              glaze2.cal perezlum.cal coeff_perez.dat defangle.dat
81 <        DESTINATION lib)
79 > file(COPY
80 >  clockface.hex
81 >  glaze1.cal
82 >  glaze2.cal
83 >  illum.cal
84 >  perezlum.cal
85 >  perezlum_c.cal
86 >  rev.cal
87 >  skybright.cal
88 >  surf.cal
89 >  mie_ca.dat
90 >  DESTINATION "${CMAKE_BINARY_DIR}/lib"
91 > )
92  
93 < if (NOT WIN32)
94 <  install(PROGRAMS glaze.csh DESTINATION bin RENAME glaze)
95 < endif()
93 > if(NOT WIN32)
94 >  install(PROGRAMS glaze.csh
95 >    DESTINATION "bin"
96 >    RENAME glaze
97 >  )
98 > endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines