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.2 by greg, Wed Apr 25 22:21:06 2012 UTC vs.
Revision 2.7 by greg, Sat Jul 25 23:47:36 2020 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines