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

Comparing ray/src/meta/CMakeLists.txt (file contents):
Revision 1.2 by greg, Wed Oct 14 20:51:44 2015 UTC vs.
Revision 1.4 by greg, Thu Jul 24 01:24:01 2025 UTC

# Line 1 | Line 1
1 < set(common_src mfio.c syscalls.c misc.c)
1 > # RCSid $Id$
2  
3 + set(common_src mfio.c misc.c syscalls.c)
4 +
5   add_executable(bgraph bgraph.c mgvars.c mgraph.c)
6   target_link_libraries(bgraph meta rtrad)
7  
# Line 51 | Line 53 | target_link_libraries(psort rtrad)
53   #target_link_libraries(tscat rtrad)
54  
55   if(X11_FOUND)
56 <  add_executable(x11meta xmeta.c x11plot.c plot.c palloc.c ${common_src})
56 >  add_executable(x11meta
57 >    palloc.c
58 >    plot.c
59 >    x11plot.c
60 >    xmeta.c
61 >    ${common_src}
62 >  )
63    target_link_libraries(x11meta rtrad ${X11_LIBRARIES})
64 <  install(TARGETS x11meta RUNTIME DESTINATION bin)
64 >  install(TARGETS x11meta
65 >    RUNTIME DESTINATION "bin"
66 >  )
67   endif()
68  
69   add_custom_target(mta ALL
70    COMMAND cv "${CMAKE_CURRENT_SOURCE_DIR}/symbols.met" > "${CMAKE_CURRENT_BINARY_DIR}/symbols.mta"
71    COMMAND cv "${CMAKE_CURRENT_SOURCE_DIR}/vchars.met" > "${CMAKE_CURRENT_BINARY_DIR}/vchars.mta"
72 +  COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_BINARY_DIR}/symbols.mta" "${CMAKE_CURRENT_BINARY_DIR}/vchars.mta" "${CMAKE_BINARY_DIR}/lib"
73    SOURCES symbols.met vchars.met
74   )
75  
76 < install(FILES
77 <  "${CMAKE_CURRENT_BINARY_DIR}/symbols.mta"
78 <  "${CMAKE_CURRENT_BINARY_DIR}/vchars.mta"
79 <  DESTINATION lib
76 > file(COPY
77 >  boxw.plt
78 >  cartesian.plt
79 >  curve.plt
80 >  function.plt
81 >  line.plt
82 >  polar.plt
83 >  scatter.plt
84 >  standard.plt
85 >  symbols.met
86 >  vchars.met
87 >  DESTINATION "${CMAKE_BINARY_DIR}/lib"
88   )
89  
90 < install(FILES symbols.met vchars.met boxw.plt curve.plt line.plt scatter.plt
91 <                                cartesian.plt function.plt polar.plt standard.plt
92 <                                DESTINATION lib)
93 <
94 < install(TARGETS meta2tga pexpand psort cv psmeta plotin bgraph igraph dgraph
95 <        gcomp plot4 meta2bmp
96 <        RUNTIME DESTINATION bin)
97 <
90 > install(TARGETS
91 >  bgraph
92 >  cv
93 >  dgraph
94 >  gcomp
95 >  igraph
96 >  meta2bmp
97 >  meta2tga
98 >  pexpand
99 >  plot4
100 >  plotin
101 >  psmeta
102 >  psort
103 >  RUNTIME DESTINATION "bin"
104 > )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines