Export exe target through find_package and vcpkg #137
Unanswered
DimitrijeDobrota
asked this question in
Q&A
Replies: 1 comment
-
I've figured that I can target the executable with I've also learned that CMake doesn't detect the change in the executable, and thus doesn't trigger the recompilation. Is there a way to work around that in this setup? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I like to play with code generation and would like to be able to depend on exe target of the other project to build some files with
add_custom_command(...)
.To be as concrete as possible, taken this file , I want the
COMMAND
to depend on something likestamen::exe
, as right nowstamen
executable has to be installed.Stamen project is here, and is specific as I want to have both the library, and this exe part exported.
Some example to point me in the right direction would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions