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

Add and use add_boost_test CMake helper function #2545

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

flomnes
Copy link
Member

@flomnes flomnes commented Dec 19, 2024

Allow adding unit test in a single line, avoiding repetition of CMake targets.

TODO

  • Add optional argument for target_include_directories
  • Allow more labels / directories (IDE specific) ?
  • Use add_boost_test in place of add_executable where needed
    This pull request includes significant changes to the CMake build system for various tests, primarily focusing on simplifying and standardizing the test definitions by introducing a new macro. The main changes involve replacing existing test setup code with a new add_boost_test function, which consolidates the test setup into a single line.

@flomnes flomnes merged commit 212167b into develop Dec 20, 2024
8 of 10 checks passed
@flomnes flomnes deleted the feature/cmake_add_boost_test branch December 20, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants