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 4d301988a cmake(build):add benchmarks osperf CMakeLists.txt
4d301988a is described below

commit 4d301988a9490a933fd7a5b3411def3fef2eba15
Author: xuxin19 <xuxi...@xiaomi.com>
AuthorDate: Sun Nov 17 18:16:30 2024 +0800

    cmake(build):add benchmarks osperf CMakeLists.txt
    
    Signed-off-by: xuxin19 <xuxi...@xiaomi.com>
---
 benchmarks/osperf/CMakeLists.txt | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/benchmarks/osperf/CMakeLists.txt b/benchmarks/osperf/CMakeLists.txt
new file mode 100644
index 000000000..dbf29d29e
--- /dev/null
+++ b/benchmarks/osperf/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 
##############################################################################
+# apps/benchmarks/osperf/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_BENCHMARK_OSPERF)
+  nuttx_add_application(
+    NAME
+    osperf
+    SRCS
+    osperf.c
+    STACKSIZE
+    ${CONFIG_BENCHMARK_OSPERF_STACKSIZE}
+    PRIORITY
+    ${CONFIG_BENCHMARK_OSPERF_PRIORITY})
+endif()

Reply via email to