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.3 by greg, Mon Jan 8 16:51:32 2018 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines