This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 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 61143782d benchmarks/sd_bench: Fix sd_bench in CMake build system.
61143782d is described below
commit 61143782d43287342473b49fa88cf46a287612d4
Author: Felix-LJY <[email protected]>
AuthorDate: Tue Sep 15 11:54:46 2026 +0800
benchmarks/sd_bench: Fix sd_bench in CMake build system.
Fix sd_bench in CMake build system.
Signed-off-by: JingYue LIAO <[email protected]>
---
benchmarks/sd_bench/CMakeLists.txt | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/benchmarks/sd_bench/CMakeLists.txt
b/benchmarks/sd_bench/CMakeLists.txt
new file mode 100644
index 000000000..d46ec2388
--- /dev/null
+++ b/benchmarks/sd_bench/CMakeLists.txt
@@ -0,0 +1,33 @@
+#
##############################################################################
+# apps/benchmarks/sd_bench/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_BENCHMARK_SD_BENCH)
+ nuttx_add_application(
+ NAME
+ ${CONFIG_BENCHMARK_SD_BENCH_PROGNAME}
+ STACKSIZE
+ ${CONFIG_BENCHMARK_SD_BENCH_STACKSIZE}
+ PRIORITY
+ ${CONFIG_BENCHMARK_SD_BENCH_PRIORITY}
+ SRCS
+ sd_bench_main.c)
+endif()