This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new fee82bd3d cmake(build):add missing basic and nxlooper cmake script
fee82bd3d is described below

commit fee82bd3d32e32e6353ce0ab20add8079ea0f0ea
Author: xuxin19 <xuxi...@xiaomi.com>
AuthorDate: Mon Nov 18 10:29:56 2024 +0800

    cmake(build):add missing basic and nxlooper cmake script
    
    Signed-off-by: xuxin19 <xuxi...@xiaomi.com>
---
 interpreters/minibasic/CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++
 system/nxlooper/CMakeLists.txt        | 30 ++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/interpreters/minibasic/CMakeLists.txt 
b/interpreters/minibasic/CMakeLists.txt
new file mode 100644
index 000000000..cead0f358
--- /dev/null
+++ b/interpreters/minibasic/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 
##############################################################################
+# apps/interpreters/minibasic/CMakeLists.txt
+#
+# 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_INTERPRETERS_MINIBASIC)
+  nuttx_add_application(
+    NAME
+    basic
+    SRCS
+    script.c
+    basic.c
+    STACKSIZE
+    ${CONFIG_INTERPRETER_MINIBASIC_STACKSIZE}
+    PRIORITY
+    ${CONFIG_INTERPRETER_MINIBASIC_PRIORITY})
+endif()
diff --git a/system/nxlooper/CMakeLists.txt b/system/nxlooper/CMakeLists.txt
new file mode 100644
index 000000000..76ab06f07
--- /dev/null
+++ b/system/nxlooper/CMakeLists.txt
@@ -0,0 +1,30 @@
+# 
##############################################################################
+# apps/system/nxlooper/CMakeLists.txt
+#
+# 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_NXLOOPER)
+
+  target_sources(apps PRIVATE nxlooper.c)
+
+  if(CONFIG_NXLOOPER_COMMAND_LINE)
+    nuttx_add_application(NAME nxlooper SRCS nxlooper_main.c STACKSIZE
+                          ${CONFIG_NXLOOPER_MAINTHREAD_STACKSIZE})
+  endif()
+
+endif()

Reply via email to