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

Allow building without tests. #498

Merged
merged 2 commits into from
Jul 20, 2024
Merged

Allow building without tests. #498

merged 2 commits into from
Jul 20, 2024

Conversation

mmuetzel
Copy link
Contributor

CMake recommends to include the CTest module to enable tests and to add tests conditionally on BUILD_TESTING:
https://cmake.org/cmake/help/latest/module/CTest.html#module:CTest

Follow that recommendation and don't build anything in the fem/tests directory if the user configured with -DBUILD_TESTING=OFF.

mmuetzel and others added 2 commits July 17, 2024 13:38
CMake recommends to include the CTest module to enable tests and to add
tests conditionally on `BUILD_TESTING`:
https://cmake.org/cmake/help/latest/module/CTest.html#module:CTest

Follow that recommendation and don't build anything in the `fem/tests`
directory if the user configured with `-DBUILD_TESTING=OFF`.
@raback raback merged commit 22be330 into ElmerCSC:devel Jul 20, 2024
2 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.

None yet

2 participants