peerplays_migrated/libraries/app/CMakeLists.txt

29 lines
880 B
CMake
Raw Normal View History

2015-06-08 15:50:35 +00:00
file(GLOB HEADERS "include/graphene/app/*.hpp")
file(GLOB EGENESIS_HEADERS "../egenesis/include/graphene/app/*.hpp")
2015-06-08 15:50:35 +00:00
add_library( graphene_app
api.cpp
application.cpp
impacted.cpp
2015-06-08 15:50:35 +00:00
plugin.cpp
${HEADERS}
${EGENESIS_HEADERS}
2015-06-08 15:50:35 +00:00
)
2015-06-23 22:23:41 +00:00
target_link_libraries( graphene_app graphene_market_history graphene_chain fc graphene_db graphene_net graphene_time graphene_utilities )
2015-06-08 15:50:35 +00:00
target_include_directories( graphene_app
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include"
"${CMAKE_CURRENT_SOURCE_DIR}/../egenesis/include" )
2015-06-08 15:50:35 +00:00
if(MSVC)
2015-07-09 13:51:15 +00:00
set_source_files_properties( application.cpp api.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
2015-06-08 15:50:35 +00:00
endif(MSVC)
INSTALL( TARGETS
graphene_app
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)