mirror of
https://github.com/eclipse/wakaama.git
synced 2025-05-08 07:06:31 +08:00

Building the unit tests can now be disabled with a CMake cache variable. This is useful on platforms where `CUnit` is not available or when working on an embedded platform.
13 lines
222 B
CMake
13 lines
222 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
|
|
project(wakaama C)
|
|
|
|
include(wakaama.cmake)
|
|
|
|
option(WAKAAMA_UNIT_TESTS "Enable build of Unit Tests" ON)
|
|
|
|
if(WAKAAMA_UNIT_TESTS)
|
|
enable_testing()
|
|
add_subdirectory(tests)
|
|
endif()
|