Skip to content

Commit 9921571

Browse files
raiden00plxiaoxiang781216
authored andcommitted
cmake: add cachespeed
1 parent 364ca42 commit 9921571

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

testing/cachespeed/CMakeLists.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ##############################################################################
2+
# apps/testing/cachespeed/CMakeLists.txt
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
5+
# license agreements. See the NOTICE file distributed with this work for
6+
# additional information regarding copyright ownership. The ASF licenses this
7+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
8+
# use this file except in compliance with the License. You may obtain a copy of
9+
# the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
# License for the specific language governing permissions and limitations under
17+
# the License.
18+
#
19+
# ##############################################################################
20+
21+
if(CONFIG_TESTING_CACHESPEED)
22+
nuttx_add_application(
23+
NAME
24+
${CONFIG_TESTING_CACHESPEED_PROGNAME}
25+
SRCS
26+
cachespeed_main.c
27+
STACKSIZE
28+
${CONFIG_TESTING_CACHESPEED_STACKSIZE}
29+
PRIORITY
30+
${CONFIG_TESTING_CACHESPEED_PRIORITY})
31+
endif()

0 commit comments

Comments
 (0)