From d313e3d533f0abd8ea73e05453228a8fb9089050 Mon Sep 17 00:00:00 2001 From: Rob Walworth Date: Tue, 3 Oct 2023 15:10:54 -0500 Subject: [PATCH] Install address book and config files Signed-off-by: Rob Walworth --- sdk/main/CMakeLists.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sdk/main/CMakeLists.txt b/sdk/main/CMakeLists.txt index 965cc33ac..3fa12fce5 100644 --- a/sdk/main/CMakeLists.txt +++ b/sdk/main/CMakeLists.txt @@ -287,4 +287,18 @@ install(TARGETS ${PROJECT_NAME} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib install(DIRECTORY include/ TYPE INCLUDE FILES_MATCHING PATTERN "*.h") install(DIRECTORY ${HAPI_INCLUDE_DIR}/ TYPE INCLUDE) install(DIRECTORY ${HAPI_LIB_DIR}/ TYPE LIB) -install(DIRECTORY ${Protobuf_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_PREFIX}) \ No newline at end of file +install(DIRECTORY ${Protobuf_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_PREFIX}) + +# Install the address books +install(FILES + ${PROJECT_SOURCE_DIR}/addressbook/mainnet.pb + ${PROJECT_SOURCE_DIR}/addressbook/previewnet.pb + ${PROJECT_SOURCE_DIR}/addressbook/testnet.pb + DESTINATION addressbook) + +# Install the configuration JSON files +install(FILES + ${PROJECT_SOURCE_DIR}/config/hello_world.json + ${PROJECT_SOURCE_DIR}/config/local_node.json + ${PROJECT_SOURCE_DIR}/config/stateful.json + DESTINATION config) \ No newline at end of file