Skip to content

Commit

Permalink
Install address book and config files
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Walworth <[email protected]>
  • Loading branch information
rwalworth committed Oct 3, 2023
1 parent cb58649 commit d313e3d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion sdk/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
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)

0 comments on commit d313e3d

Please sign in to comment.