floatpump-firmware/CMakeLists.txt
2025-06-18 12:37:07 +02:00

20 lines
480 B
CMake

# General project settings
cmake_minimum_required(VERSION 3.22)
project(FloatPUMP VERSION 2.0.0 LANGUAGES C CXX ASM)
# Custom options
option(ENABLE_UNITTESTS "Activates the unittesting framework" OFF)
# General language considerations
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 11)
# General Project
add_subdirectory(floatpump)
# Testing Project
if(ENABLE_UNITTESTS)
message(STATUS "Enabled Unit Tests")
add_subirectory(Catch2)
add_subdirectory(Tests)
endif()