From e9d1141f7c12220a8577feccbd22ba6e78ec70f8 Mon Sep 17 00:00:00 2001 From: Arjav Patel Date: Thu, 21 May 2026 10:43:35 +0530 Subject: [PATCH] apps/system/microros: Add CMakeLists.txt for CMake support. Add CMakeLists.txt file for CMake build system integration. Enables the micro-ROS library module to be built using NuttX CMake build system alongside traditional Make-based builds. Signed-off-by: Arjav Patel --- system/microros/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 system/microros/CMakeLists.txt diff --git a/system/microros/CMakeLists.txt b/system/microros/CMakeLists.txt new file mode 100644 index 000000000..9edae8cef --- /dev/null +++ b/system/microros/CMakeLists.txt @@ -0,0 +1,25 @@ +# ############################################################################## +# apps/system/microros/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. +# +# ############################################################################## + +if(CONFIG_SYSTEM_MICROROS) + nuttx_add_library(microros) +endif()