1 |
|
set(VERSION_FILE "${radiance_BINARY_DIR}/src/util/Version.c") |
2 |
|
create_version_file("${VERSION_FILE}") |
3 |
|
|
4 |
< |
add_executable(dctimestep dctimestep.c) |
4 |
> |
add_executable(dctimestep dctimestep.c cmbsdf.c cmatrix.c) |
5 |
|
target_link_libraries(dctimestep rtrad) |
6 |
|
|
7 |
|
add_executable(findglare findglare.c glareval.c glaresrc.c setscan.c) |
26 |
|
add_executable(rpiece rpiece.c "${VERSION_FILE}") |
27 |
|
target_link_libraries(rpiece rtrad) |
28 |
|
|
29 |
– |
add_executable(rtcontrib |
30 |
– |
rtcontrib.c "${VERSION_FILE}") |
31 |
– |
target_link_libraries(rtcontrib rtrad) |
32 |
– |
|
29 |
|
add_executable(vwrays vwrays.c) |
30 |
|
target_link_libraries(vwrays rtrad) |
31 |
|
|
41 |
|
add_executable(rsensor rsensor.c) |
42 |
|
target_link_libraries(rsensor raycalls radiance rtrad) |
43 |
|
|
44 |
+ |
add_executable(rttree_reduce rttree_reduce.c) |
45 |
+ |
target_link_libraries(rttree_reduce rtrad) |
46 |
+ |
|
47 |
+ |
add_executable(rcollate rcollate.c) |
48 |
+ |
target_link_libraries(rcollate rtrad) |
49 |
+ |
|
50 |
+ |
add_executable(eplus_adduvf eplus_adduvf.c eplus_idf.c) |
51 |
+ |
target_link_libraries(eplus_adduvf rtrad) |
52 |
+ |
|
53 |
|
if(X11_FOUND) |
54 |
|
add_executable(xglaresrc |
55 |
|
xglaresrc.c ${CMAKE_CURRENT_SOURCE_DIR}/../common/x11findwind.c) |
78 |
|
if(NOT HAVE_SGISTEREO_H) |
79 |
|
add_definitions(-DNOSTEREO) |
80 |
|
endif() |
81 |
< |
if(UNIX) |
81 |
> |
if(UNIX AND X11_FOUND) |
82 |
|
add_executable(glrad glrad.c) |
83 |
|
target_link_libraries(glrad rgl rtrad ${OPENGL_LIBRARIES} ${X11_LIBRARIES}) |
84 |
|
install(TARGETS rpiece RUNTIME DESTINATION bin) |
87 |
|
endif() |
88 |
|
endif() |
89 |
|
install(TARGETS dctimestep findglare getinfo glarendx rad ranimate |
90 |
< |
rtcontrib vwrays vwright ranimove rsensor |
90 |
> |
vwrays vwright ranimove rsensor rttree_reduce rcollate eplus_adduvf |
91 |
|
RUNTIME DESTINATION bin) |
92 |
|
|
93 |
|
if(WIN32) |