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

adopting some best practices for cmake #250

Merged
merged 10 commits into from
Nov 3, 2023
Merged

adopting some best practices for cmake #250

merged 10 commits into from
Nov 3, 2023

Conversation

leissa
Copy link
Member

@leissa leissa commented Sep 29, 2023

  • removed THORIN_BUILD_TESTING; BUILD_TESTING is enough
  • BUILD_TYPE: populate GUI options
  • use GNUInstallDirs for better default install paths
  • PROJECT_*_DIR -> CMAKE_CURRENT_*_DIR: This fixes problems, if Thorin is a submodule of another project
  • consistent coding style

* tests: check for BUILD_TESTING **and** THORIN_BUILD_TESTING
* Debug as default: populate GUI options
This makes thorin as submodule via add_subdirectory more robust.
* install_exports -> thorin_exports
simply use the global BUILD_TESTING option
@leissa leissa mentioned this pull request Oct 11, 2023
@leissa leissa merged commit 6046e7c into master Nov 3, 2023
12 checks passed
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

Successfully merging this pull request may close these issues.

1 participant