peerplays_migrated/libraries/app/CMakeLists.txt
2015-08-06 12:40:53 -04:00

24 lines
676 B
CMake

file(GLOB HEADERS "include/graphene/app/*.hpp")
add_library( graphene_app
api.cpp
application.cpp
impacted.cpp
plugin.cpp
)
target_link_libraries( graphene_app graphene_market_history graphene_chain fc graphene_db graphene_net graphene_time graphene_utilities )
target_include_directories( graphene_app
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
if(MSVC)
set_source_files_properties( application.cpp api.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
endif(MSVC)
INSTALL( TARGETS
graphene_app
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)