Created
December 31, 2016 23:47
-
-
Save jlgerber/d9fd8c7f55f9a8dd2b04ad7ca008802e to your computer and use it in GitHub Desktop.
cmake - specify location where executables and libraries get built
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I like putting artifacts in a private directory in the build tree. Here is how i do it | |
# define where executable products go | |
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/private/bin) | |
# define where library products go | |
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/private/lib) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment