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.7 by greg, Sat Jul 25 23:47:36 2020 UTC vs.
Revision 2.12 by greg, Fri Jul 19 23:38:28 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 rtrad)
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})
# Line 12 | Line 17 | target_link_libraries(genmarble ${LIB_M})
17   add_executable(gensky gensky.c sun.c)
18   target_link_libraries(gensky rtrad ${LIB_M})
19  
20 +
21 + add_executable(genssky genssky.c sun.c atmos.c ../rt/data.c)
22 + target_link_libraries(genssky rtrad ${LIB_M} Threads::Threads)
23 +
24   add_executable(gendaylit gendaylit.c sun.c)
25   target_link_libraries(gendaylit rtrad ${LIB_M})
26  
# Line 63 | Line 72 | install(TARGETS
72    genprism
73    genrev
74    gensky
75 +  genssky
76    gensurf
77    genworm
78    mkillum
# Line 82 | Line 92 | file(COPY
92    rev.cal
93    skybright.cal
94    surf.cal
95 +  mie_ca.dat
96    DESTINATION "${CMAKE_BINARY_DIR}/lib"
97   )
98  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines