2015-06-08 15:50:35 +00:00
|
|
|
file(GLOB HEADERS "include/graphene/db/*.hpp")
|
2016-02-12 05:10:52 +00:00
|
|
|
add_library( graphene_db undo_database.cpp index.cpp object_database.cpp ${HEADERS} )
|
2015-06-16 19:56:13 +00:00
|
|
|
target_link_libraries( graphene_db fc )
|
2015-06-08 15:50:35 +00:00
|
|
|
target_include_directories( graphene_db PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
2015-08-03 15:11:27 +00:00
|
|
|
|
|
|
|
|
install( TARGETS
|
|
|
|
|
graphene_db
|
|
|
|
|
|
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
|
)
|
2016-03-17 22:08:27 +00:00
|
|
|
install( FILES ${HEADERS} DESTINATION "include/graphene/db" )
|