Skip to content

Commit b3a4246

Browse files
yangsen5xiaoxiang781216
authored andcommitted
system/nxcodec: add CMakeLists.txt
Signed-off-by: yangsen5 <[email protected]>
1 parent 9312a74 commit b3a4246

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

system/nxcodec/CMakeLists.txt

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# ##############################################################################
2+
# apps/system/nxcodec/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_SYSTEM_NXCODEC)
22+
nuttx_add_application(
23+
NAME
24+
${CONFIG_SYSTEM_NXCODEC_PROGNAME}
25+
PRIORITY
26+
${CONFIG_SYSTEM_NXCODEC_PRIORITY}
27+
STACKSIZE
28+
${CONFIG_SYSTEM_NXCODEC_STACKSIZE}
29+
MODULE
30+
${CONFIG_SYSTEM_NXCODEC}
31+
SRCS
32+
nxcodec_main.c)
33+
34+
set(CSRCS nxcodec.c nxcodec_context.c)
35+
target_sources(apps PRIVATE ${CSRCS})
36+
endif()

0 commit comments

Comments
 (0)