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

Fix and improve development tooling #191

Merged
merged 8 commits into from
Dec 6, 2023
Merged

Fix and improve development tooling #191

merged 8 commits into from
Dec 6, 2023

Conversation

cassava
Copy link
Contributor

@cassava cassava commented Dec 5, 2023

New:

  • Add Clang Tidy configuration file

Improved:

  • Changed configure target in Makefile.package to link compile_commands.json automatically

Changed:

  • Removed conan-select target from Makefile.all
  • Removed conan target from Makefile.package

Fixed:

  • Fixed setup-conan target in Makefile.setup to install Conan version 1.x
  • Fixed recipes to respect Conan --build, --test, --configure, and --install arguments

This was not working reliably for two reasons:

1. `${BUILD_DIR}/CMakeCache.txt` is not where `CMakeCache.txt` is
   located anymore. So using this as a dependency didn't exactly
   work.

2. The arguments `--configure`, `--build`, `--test`, `--install`
   to the `conan build` command only set `self.should_configure`,
   `self.should_build`, etc. We need to check in the conanfile
   for these variables and act accordingly.
@cassava cassava requested a review from tobifalk as a code owner December 5, 2023 13:39
@cassava cassava self-assigned this Dec 5, 2023
@cassava cassava added this to the 0.21.0 milestone Dec 5, 2023
@cassava cassava requested a review from clsim December 6, 2023 09:15
@cassava cassava merged commit c234f50 into master Dec 6, 2023
3 checks passed
@cassava cassava deleted the ben/misc-fixes branch December 8, 2023 11:16
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.

2 participants