add_custom_command(
TARGET foo
POST_BUILD
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_CURRENT_BINARY_DIR}/foo --target install
)
Created
February 9, 2019 23:21
-
-
Save Jason0214/5bb2e6384885cf4f6563a8a8951e247d to your computer and use it in GitHub Desktop.
Call install after make
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment