mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
19 lines
417 B
CMake
19 lines
417 B
CMake
# StreamUtils - github.com/bblanchon/ArduinoStreamUtils
|
|
# Copyright Benoit Blanchon 2019-2021
|
|
# MIT License
|
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
project(StreamUtils)
|
|
|
|
enable_testing()
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
if(${COVERAGE})
|
|
set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage -g -O0")
|
|
endif()
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR}/src)
|
|
add_subdirectory(extras/test)
|