1 |
+ |
# RCSid $Id$ |
2 |
+ |
|
3 |
+ |
# Locate the threads package |
4 |
+ |
set(CMAKE_THREAD_PREFER_PTHREAD TRUE) |
5 |
+ |
set(THREADS_PREFER_PTHREAD_FLAG TRUE) |
6 |
+ |
find_package(Threads REQUIRED) |
7 |
+ |
|
8 |
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../rt) |
9 |
|
|
10 |
|
add_executable(genbeads genbeads.c hermite3.c) |
16 |
|
add_executable(genmarble genmarble.c ../common/random.h) |
17 |
|
target_link_libraries(genmarble ${LIB_M}) |
18 |
|
|
19 |
+ |
add_executable(genglaze genglaze.c ../common/data.h) |
20 |
+ |
target_link_libraries(genglaze rtrad ${LIB_M}) |
21 |
+ |
|
22 |
|
add_executable(gensky gensky.c sun.c) |
23 |
|
target_link_libraries(gensky rtrad ${LIB_M}) |
24 |
|
|
25 |
< |
add_executable(genssky genssky.c sun.c atmos.c ../rt/data.c) |
26 |
< |
target_link_libraries(genssky rtrad ${LIB_M}) |
25 |
> |
add_executable(genssky genssky.c sun.c atmos.c) |
26 |
> |
target_link_libraries(genssky rtrad ${LIB_M} Threads::Threads) |
27 |
|
|
28 |
+ |
add_executable(gensdaymtx gensdaymtx.c sun.c atmos.c loadEPW.c) |
29 |
+ |
target_link_libraries(gensdaymtx rtrad ${LIB_M} Threads::Threads) |
30 |
+ |
|
31 |
|
add_executable(gendaylit gendaylit.c sun.c) |
32 |
|
target_link_libraries(gendaylit rtrad ${LIB_M}) |
33 |
|
|
34 |
< |
add_executable(gendaymtx gendaymtx.c sun.c) |
34 |
> |
add_executable(gendaymtx gendaymtx.c sun.c loadEPW.c) |
35 |
|
target_link_libraries(gendaymtx rtrad ${LIB_M}) |
36 |
|
|
37 |
|
add_executable(genblinds genblinds.c) |
76 |
|
genclock |
77 |
|
gendaylit |
78 |
|
gendaymtx |
79 |
+ |
genglaze |
80 |
+ |
gensdaymtx |
81 |
|
genprism |
82 |
|
genrev |
83 |
|
gensky |