Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds should not be forced to output files to the source directory #58

Open
inkychris opened this issue May 29, 2024 · 0 comments
Open

Comments

@inkychris
Copy link

inkychris commented May 29, 2024

The customisation of output directories in the top-level CMakeLists.txt file makes it impossible to control where targets in this project are built. These customisations should be removed/guarded with an option that allows the user to decide whether these should be set or not.

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant