1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-06-05 04:07:55 +02:00
CovidBracelet/zephyr/CMakeLists.txt
2021-06-24 12:59:33 +02:00

654 B

cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(test)

include(FetchContent) FetchContent_Declare( exposure-notification GIT_REPOSITORY https://github.com/prathje/exposure-notification GIT_TAG origin/main ) FetchContent_GetProperties(exposure-notification) if (NOT exposure-notification_POPULATED) FetchContent_Populate(exposure-notification) endif () target_include_directories(app PUBLIC ${exposure-notification_SOURCE_DIR}/include)

FILE(GLOB app_sources ../src/.c ${exposure-notification_SOURCE_DIR}/src/.c) target_sources(app PRIVATE ${app_sources})