init
This commit is contained in:
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
|
||||
project(sherpa_ros2_sensor_node)
|
||||
|
||||
list(APPEND ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/modules/micro_ros_zephyr_module/modules/libmicroros)
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
|
||||
target_sources(app PRIVATE src/main.cpp)
|
||||
|
||||
if(${BOARD} STREQUAL "native_sim")
|
||||
add_subdirectory(src/emulation)
|
||||
endif()
|
||||
Reference in New Issue
Block a user