[cmake] split tests

* Keep BUILD_TESTING, but only run tests compatible with API (for
  packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
  tests that modify API to be run on our CI
This commit is contained in:
Armin Novak
2024-10-23 14:20:26 +02:00
committed by akallabeth
parent f488d15b7a
commit 527db6783b
61 changed files with 181 additions and 146 deletions

View File

@@ -20,7 +20,7 @@ endif()
set(RDTK_BUILD_CONFIG_LIST "")
GET_CMAKE_PROPERTY(res VARIABLES)
FOREACH(var ${res})
IF (var MATCHES "^WITH_*|^BUILD_TESTING|^RDTK_HAVE_*")
IF (var MATCHES "^WITH_*|^BUILD_TESTING*|^RDTK_HAVE_*")
LIST(APPEND RDTK_BUILD_CONFIG_LIST "${var}=${${var}}")
ENDIF()
ENDFOREACH()