ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/CMakeLists.txt
(Generate patch)

Comparing ray/src/hd/CMakeLists.txt (file contents):
Revision 1.7 by greg, Thu Mar 20 22:49:21 2014 UTC vs.
Revision 1.8 by greg, Mon Jan 8 16:51:32 2018 UTC

# Line 6 | Line 6 | target_link_libraries(rhcopy rtrad)
6  
7   add_executable(rhinfo rhinfo.c holo.c holofile.c)
8   target_link_libraries(rhinfo rtrad)
9 +
10   if(UNIX)
11    set(VERSION_FILE "${radiance_BINARY_DIR}/src/hd/Version.c")
12    create_version_file("${VERSION_FILE}")
13  
14 <  add_executable(rholo rholo.c rholo2.c rholo2l.c rholo3.c rholo4.c holo.c
15 <    holofile.c viewbeams.c ${VERSION_FILE})
14 >  add_executable(rholo
15 >    holo.c
16 >    holofile.c
17 >    rholo.c
18 >    rholo2.c
19 >    rholo2l.c
20 >    rholo3.c
21 >    rholo4.c
22 >    viewbeams.c
23 >    ${VERSION_FILE}
24 >  )
25    target_link_libraries(rholo rtrad)
26 +
27    add_executable(rhoptimize rhoptimize.c clumpbeams.c holo.c holofile.c)
28    target_link_libraries(rhoptimize rtrad)
29 +
30    add_executable(rhpict
31 <    rhpict.c rhpict2.c holo.c holofile.c viewbeams.c ${VERSION_FILE})
31 >    holo.c
32 >    holofile.c
33 >    rhpict.c
34 >    rhpict2.c
35 >    viewbeams.c
36 >    ${VERSION_FILE}
37 >  )
38    target_link_libraries(rhpict rtrad)
21  install(TARGETS rholo rhoptimize rhpict RUNTIME DESTINATION bin)
39  
40 +  install(TARGETS rholo rhoptimize rhpict
41 +    RUNTIME DESTINATION "bin"
42 +  )
43 +
44    if(X11_FOUND)
45 <    add_executable(x11.hdi rhdisp.c rhdisp2.c viewbeams.c rhd_x11.c rhd_qtree.c rhd_qtree2r.c rhd_ctab.c holo.c)
46 <    target_link_libraries (x11.hdi rtrad ${X11_LIBRARIES})
45 >    add_executable(x11.hdi
46 >      holo.c
47 >      rhd_ctab.c
48 >      rhd_qtree.c
49 >      rhd_qtree2r.c
50 >      rhd_x11.c
51 >      rhdisp.c
52 >      rhdisp2.c
53 >      viewbeams.c
54 >    )
55 >    target_link_libraries(x11.hdi rtrad ${X11_LIBRARIES})
56 >
57      if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
58        target_link_libraries(x11.hdi rt)
59      endif()
60 <    install(TARGETS x11.hdi RUNTIME DESTINATION bin)
60 >    install(TARGETS x11.hdi
61 >      RUNTIME DESTINATION "bin"
62 >    )
63    endif()
64   endif()
65  
66 <
67 < install(TARGETS genrhgrid rhcopy rhinfo RUNTIME DESTINATION bin)
66 > install(TARGETS genrhgrid rhcopy rhinfo
67 >  RUNTIME DESTINATION "bin"
68 > )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines