activates CTest and adds Cmocka as a dependency

This commit is contained in:
2026-07-29 18:46:27 +03:00
parent 92115c0dd4
commit 5b42ea6a73
4 changed files with 23 additions and 13 deletions
+7
View File
@@ -0,0 +1,7 @@
# Disable things we don't need from CMocka
set(WITH_EXAMPLES OFF CACHE BOOL "Build examples" FORCE)
set(UNIT_TESTING OFF CACHE BOOL "Build CMocka's own tests" FORCE)
set(WITH_CMOCKERY_SUPPORT OFF CACHE BOOL "" FORCE)
# Force static library (easier for most projects)
set(WITH_STATIC_LIB ON CACHE BOOL "Build static library" FORCE)