Initial integration of Cmocka (not finished)

This commit is contained in:
2026-06-11 18:43:42 +03:00
parent 4eca54e1c7
commit 2e33becdbf
19 changed files with 126 additions and 37 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)