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.5 by greg, Mon Jan 8 16:51:32 2018 UTC vs.
Revision 2.13 by greg, Fri Aug 2 18:47:25 2024 UTC

# Line 1 | Line 1
1 + # Locate the threads package
2 + set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
3 + set(THREADS_PREFER_PTHREAD_FLAG TRUE)
4 + find_package(Threads REQUIRED)
5 +
6   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../rt)
7  
8   add_executable(genbeads genbeads.c hermite3.c)
9   target_link_libraries(genbeads ${LIB_M})
10  
11   add_executable(genbox genbox.c)
12 + target_link_libraries(genbox wfobj rtrad ${LIB_M})
13  
14   add_executable(genmarble genmarble.c ../common/random.h)
15   target_link_libraries(genmarble ${LIB_M})
16  
17   add_executable(gensky gensky.c sun.c)
18 < target_link_libraries(gensky ${LIB_M})
18 > target_link_libraries(gensky rtrad ${LIB_M})
19  
20 + add_executable(genssky genssky.c sun.c atmos.c)
21 + target_link_libraries(genssky rtrad ${LIB_M} Threads::Threads)
22 +
23 + add_executable(gensdaymtx gensdaymtx.c sun.c atmos.c)
24 + target_link_libraries(gensdaymtx rtrad ${LIB_M} Threads::Threads)
25 +
26   add_executable(gendaylit gendaylit.c sun.c)
27   target_link_libraries(gendaylit rtrad ${LIB_M})
28  
# Line 18 | Line 30 | add_executable(gendaymtx gendaymtx.c sun.c)
30   target_link_libraries(gendaymtx rtrad ${LIB_M})
31  
32   add_executable(genblinds genblinds.c)
33 < target_link_libraries(genblinds ${LIB_M})
33 > target_link_libraries(genblinds rtrad ${LIB_M})
34  
35   add_executable(genprism genprism.c)
36 < target_link_libraries(genprism ${LIB_M})
36 > target_link_libraries(genprism rtrad ${LIB_M})
37  
38   add_executable(xform xform.c)
39   target_link_libraries(xform rtrad)
# Line 62 | Line 74 | install(TARGETS
74    genprism
75    genrev
76    gensky
77 +  genssky
78    gensurf
79    genworm
80    mkillum
# Line 77 | Line 90 | file(COPY
90    glaze2.cal
91    illum.cal
92    perezlum.cal
93 +  perezlum_c.cal
94    rev.cal
95    skybright.cal
96    surf.cal
97 +  mie_ca.dat
98    DESTINATION "${CMAKE_BINARY_DIR}/lib"
99   )
100  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines