* Build optimizations, simplify dependancy tree * Build optimizations, simplify dependancy tree
19 lines
505 B
CMake
19 lines
505 B
CMake
file(GLOB HEADERS "include/graphene/snapshot/*.hpp")
|
|
|
|
add_library( graphene_snapshot
|
|
snapshot.cpp
|
|
)
|
|
|
|
target_link_libraries( graphene_snapshot PRIVATE graphene_plugin )
|
|
target_include_directories( graphene_snapshot
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
|
|
|
install( TARGETS
|
|
graphene_snapshot
|
|
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
|
|
INSTALL( FILES ${HEADERS} DESTINATION "include/graphene/snapshot" )
|