peerplays_migrated/programs/full_web_node/CMakeLists.txt
Nathan Hourt 8fc1ac736b Add new full_web_node target
This will eventually run a full node complete with bundled web GUI
2015-08-12 15:47:03 -04:00

26 lines
694 B
CMake

cmake_minimum_required(VERSION 2.8.11)
project(full_web_node)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
#set(CMAKE_AUTOMOC ON)
find_package(Qt5Core)
find_package(Qt5Quick)
find_package(Qt5WebEngine)
file(GLOB QML qml/*)
qt5_add_resources(QML_QRC qml/qml.qrc)
add_executable(full_web_node main.cpp ${QML_QRC} ${QML})
target_link_libraries(full_web_node PRIVATE Qt5::Core Qt5::Quick Qt5::WebEngine graphene_chain graphene_egenesis_brief graphene_utilities fc graphene_app )
install( TARGETS
full_web_node
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)