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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines