1 |
|
set(VERSION_FILE "${radiance_BINARY_DIR}/src/util/Version.c") |
2 |
|
create_version_file("${VERSION_FILE}") |
3 |
|
|
4 |
< |
add_executable(dctimestep dctimestep.c cmbsdf.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) |
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 |
< |
vwrays vwright ranimove rsensor rttree_reduce rcollate |
90 |
> |
vwrays vwright ranimove rsensor rttree_reduce rcollate eplus_adduvf |
91 |
|
RUNTIME DESTINATION bin) |
92 |
|
|
93 |
|
if(WIN32) |