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.11 by greg, Fri Jul 5 18:04:36 2024 UTC vs.
Revision 2.18 by greg, Tue May 6 21:18:42 2025 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)
# Line 9 | Line 14 | target_link_libraries(genbox wfobj rtrad ${LIB_M})
14   add_executable(genmarble genmarble.c ../common/random.h)
15   target_link_libraries(genmarble ${LIB_M})
16  
17 + add_executable(genglaze genglaze.c ../common/data.h)
18 + target_link_libraries(genglaze rtrad ${LIB_M})
19 +
20   add_executable(gensky gensky.c sun.c)
21   target_link_libraries(gensky rtrad ${LIB_M})
22  
23 < add_executable(genssky genssky.c sun.c atmos.c ../rt/data.c)
24 < target_link_libraries(genssky rtrad ${LIB_M})
23 > add_executable(genssky genssky.c sun.c atmos.c)
24 > target_link_libraries(genssky rtrad ${LIB_M} Threads::Threads)
25  
26 + add_executable(gensdaymtx gensdaymtx.c sun.c atmos.c loadEPW.c)
27 + target_link_libraries(gensdaymtx rtrad ${LIB_M} Threads::Threads)
28 +
29   add_executable(gendaylit gendaylit.c sun.c)
30   target_link_libraries(gendaylit rtrad ${LIB_M})
31  
32 < add_executable(gendaymtx gendaymtx.c sun.c)
32 > add_executable(gendaymtx gendaymtx.c sun.c loadEPW.c)
33   target_link_libraries(gendaymtx rtrad ${LIB_M})
34  
35   add_executable(genblinds genblinds.c)
# Line 63 | Line 74 | install(TARGETS
74    genclock
75    gendaylit
76    gendaymtx
77 +  genglaze
78 +  gensdaymtx
79    genprism
80    genrev
81    gensky

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines