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

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

commit 7108d0e53f32d5e48f5ad9f2f3e52c8d41551706
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sat Oct 17 18:47:56 2026 +0530

    games/brickmatch: add CMake build support
    
    Add CMakeLists.txt to enable CMake build support for the brickmatch game.
    
    Signed-off-by: Swatantra Yadav <[email protected]>
---
 games/brickmatch/CMakeLists.txt | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/games/brickmatch/CMakeLists.txt b/games/brickmatch/CMakeLists.txt
new file mode 100644
index 000000000..14d141eeb
--- /dev/null
+++ b/games/brickmatch/CMakeLists.txt
@@ -0,0 +1,37 @@
+# 
##############################################################################
+# apps/games/brickmatch/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.
+#
+# 
##############################################################################
+
+# Brickmatch game info
+
+if(CONFIG_GAMES_BRICKMATCH)
+  nuttx_add_application(
+    NAME
+    ${CONFIG_GAMES_BRICKMATCH_PROGNAME}
+    PRIORITY
+    ${CONFIG_GAMES_BRICKMATCH_PRIORITY}
+    STACKSIZE
+    ${CONFIG_GAMES_BRICKMATCH_STACKSIZE}
+    MODULE
+    ${CONFIG_GAMES_BRICKMATCH}
+    SRCS
+    bm_main.c)
+endif()

Reply via email to