BME280_WebUI/CMakeLists.txt

10 lines
253 B
CMake
Raw Permalink Normal View History

2024-11-07 15:15:13 +08:00
cmake_minimum_required(VERSION 3.10)
project(BME280_Report)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "-O2 -li2c")
file(GLOB_RECURSE native_srcs src/*.cpp)
add_executable(${PROJECT_NAME} ${native_srcs})
target_link_libraries(${PROJECT_NAME} i2c)