cmake: Create test suite for ctest

This commit is contained in:
Hennadii Stepanov committed 2024-08-16 19:27:39 +01:00
1 parent 959370bd76
commit ab2e99b0d9
4 files changed
+69 -2

No files matched your search

+3
View File
@@ -213,6 +213,9 @@ try_append_cxx_flags("-fno-extended-identifiers" TARGET core_interface SKIP_LINK
# -fstack-reuse=none for all gcc builds. (Only gcc understands this flag).
try_append_cxx_flags("-fstack-reuse=none" TARGET core_interface)
if(BUILD_TESTS)
enable_testing()
endif()
# TODO: The `CMAKE_SKIP_BUILD_RPATH` variable setting can be deleted
# in the future after reordering Guix script commands to
# perform binary checks after the installation step.