diff options
| author | Abel Tim <git@abeltim.com> | 2025-06-12 10:28:13 +0200 |
|---|---|---|
| committer | Abel Tim <git@abeltim.com> | 2025-06-12 10:28:13 +0200 |
| commit | f6832123c23f394c3069bad6f8b19a896c705e51 (patch) | |
| tree | 03301be92270c03498778d1ae0c5bc7f7f686891 /code/main/teensy_goalie/CMakeLists.txt | |
| parent | 66a1669fd97feb4d026778c486e0db58baa0c687 (diff) | |
| download | robotica-f6832123c23f394c3069bad6f8b19a896c705e51.tar.gz robotica-f6832123c23f394c3069bad6f8b19a896c705e51.zip | |
recenltly removed three commit becouse it included files that shouldn't be included.
Did reset hard,
localy unstaged commits, deleted files and recommited the good files.
think this is all i did since,
-changed extra PCB name to bave and _ instead of a space so i dont have to use ""
-added button and led to teensy41 goaly overlay
-started on PWM, not complete
Abel Tim <git@abeltim.com>
Diffstat (limited to 'code/main/teensy_goalie/CMakeLists.txt')
| -rw-r--r-- | code/main/teensy_goalie/CMakeLists.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/code/main/teensy_goalie/CMakeLists.txt b/code/main/teensy_goalie/CMakeLists.txt new file mode 100644 index 0000000..27e5715 --- /dev/null +++ b/code/main/teensy_goalie/CMakeLists.txt @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: Apache-2.0 + +cmake_minimum_required(VERSION 3.20.0) +find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) +project( + player + VERSION 1.0 + DESCRIPTION "The code for the soccer player robot. https://github.com/mendelcollege-robotics/robotica" + LANGUAGES C +) + +#[===[ +# Create a static library target named "my_lib" +add_library(my_lib + STATIC + src/my_lib.c +) +target_include_directories( + my_lib + PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/include +) + +# Create an executable target with the same name as the project name +add_executable( + ${PROJECT_NAME} + src/main.c +) + +# Link the library to the executable. PRIVATE means that the library is not +# exposed to targets that depend on this target. +target_link_libraries( + ${PROJECT_NAME} + PRIVATE + my_lib +) +]===] +target_sources(app PRIVATE src/main.c) |
