Debian Codegraph @

lib/gvc++/CMakeLists.txt

raw
1 add_library(gvc++
2 GVContext.h
3 GVContext.cpp
4 GVLayout.h
5 GVLayout.cpp
6 GVRenderData.h
7 GVRenderData.cpp
8 )
9
10 set_target_properties(gvc++ PROPERTIES CXX_STANDARD 20)
11 set_target_properties(gvc++ PROPERTIES CXX_STANDARD_REQUIRED ON)
12
13 target_include_directories(gvc++ PRIVATE
14 ..
15 ${CMAKE_CURRENT_SOURCE_DIR}
16 ../cdt
17 ../cgraph
18 ../cgraph++
19 ../common
20 ../gvc
21 ../pathplan
22 )
23
24 target_link_libraries(gvc++ PUBLIC
25 cgraph++
26 gvc
27 )
28
29 install(
30 TARGETS gvc++
31 RUNTIME DESTINATION ${BINARY_INSTALL_DIR}
32 LIBRARY DESTINATION ${LIBRARY_INSTALL_DIR}
33 ARCHIVE DESTINATION ${LIBRARY_INSTALL_DIR}
34 )
35
36 install(
37 FILES
38 GVContext.h
39 GVLayout.h
40 GVRenderData.h
41 DESTINATION ${HEADER_INSTALL_DIR}
42 )
43
44 set_target_properties(gvc++ PROPERTIES
45 VERSION 0.0.1
46 SOVERSION 0
47 )