From 298cb131149f583ab986ee69901765c3dbcce674 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 14 Feb 2025 08:37:08 +0100 Subject: Switch to a global CMake build This allows to easily build everything from the repository root. For now this only covers firmware but later electrical PCB and mechanical case files can be added. --- fw/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fw/CMakeLists.txt') diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index 5cd52ce..000039e 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -15,9 +15,9 @@ find_package(Zephyr "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/zephyr" ) -project(iot-contact) +project(iot-contact-fw) target_sources(app PRIVATE - src/main.c + "${CMAKE_CURRENT_SOURCE_DIR}/src/main.c" ) -- cgit v1.2.3-70-g09d2