From 689cca5a9a99df1cbb65b6cf96c0a3f6a5093780 Mon Sep 17 00:00:00 2001 From: Terje Io Date: Wed, 9 Aug 2023 20:00:21 +0200 Subject: [PATCH] Added CMakeLists.txt for RP2040 builds. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..6564c57 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +add_library(odometer INTERFACE) + +target_sources(odometer INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/odometer.c +) + +target_include_directories(odometer INTERFACE ${CMAKE_CURRENT_LIST_DIR})