Skip to content

Bundle CLI utility and call it from code #1380

Closed Answered by Sgambe33
Sgambe33 asked this question in Q&A
Discussion options

You must be logged in to vote

The solution was referencing the binary as if it was in the same directory and setting binary permissions to execute it:

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/wt_ext_cli/wt_ext_cli DESTINATION ${DEPLOY_PREFIX_PATH}/usr/bin FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Sgambe33
Comment options

@probonopd
Comment options

@Sgambe33
Comment options

Comment options

You must be logged in to vote
1 reply
@probonopd
Comment options

Answer selected by Sgambe33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants