1 |
greg |
1.1 |
add_executable(genrhgrid genrhgrid.c holo.c) |
2 |
|
|
target_link_libraries(genrhgrid rtrad) |
3 |
|
|
|
4 |
|
|
add_executable(rhcopy rhcopy.c clumpbeams.c holo.c holofile.c) |
5 |
|
|
target_link_libraries(rhcopy rtrad) |
6 |
|
|
|
7 |
|
|
add_executable(rhinfo rhinfo.c holo.c holofile.c) |
8 |
|
|
target_link_libraries(rhinfo rtrad) |
9 |
greg |
1.5 |
if(UNIX) |
10 |
greg |
1.3 |
set(VERSION_FILE "${radiance_BINARY_DIR}/src/hd/Version.c") |
11 |
|
|
create_version_file("${VERSION_FILE}") |
12 |
|
|
|
13 |
greg |
1.1 |
add_executable(rholo rholo.c rholo2.c rholo2l.c rholo3.c rholo4.c holo.c |
14 |
|
|
holofile.c viewbeams.c ${VERSION_FILE}) |
15 |
|
|
target_link_libraries(rholo rtrad) |
16 |
|
|
add_executable(rhoptimize rhoptimize.c clumpbeams.c holo.c holofile.c) |
17 |
|
|
target_link_libraries(rhoptimize rtrad) |
18 |
|
|
add_executable(rhpict |
19 |
|
|
rhpict.c rhpict2.c holo.c holofile.c viewbeams.c ${VERSION_FILE}) |
20 |
|
|
target_link_libraries(rhpict rtrad) |
21 |
|
|
install(TARGETS rholo rhoptimize rhpict RUNTIME DESTINATION bin) |
22 |
greg |
1.5 |
|
23 |
greg |
1.7 |
if(X11_FOUND) |
24 |
|
|
add_executable(x11.hdi rhdisp.c rhdisp2.c viewbeams.c rhd_x11.c rhd_qtree.c rhd_qtree2r.c rhd_ctab.c holo.c) |
25 |
|
|
target_link_libraries (x11.hdi rtrad ${X11_LIBRARIES}) |
26 |
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS") |
27 |
|
|
target_link_libraries(x11.hdi rt) |
28 |
|
|
endif() |
29 |
|
|
install(TARGETS x11.hdi RUNTIME DESTINATION bin) |
30 |
greg |
1.6 |
endif() |
31 |
greg |
1.1 |
endif() |
32 |
|
|
|
33 |
greg |
1.5 |
|
34 |
|
|
install(TARGETS genrhgrid rhcopy rhinfo RUNTIME DESTINATION bin) |