nuttx-apps/system/syslogd/CMakeLists.txt
Matteo Golin 5e50e2c1f9 system/syslogd: Initial implementation
Initial implementation of syslogd including version information, simple
usage help and UDP transmission. The current implementation transmits
RFC 5424 formatted syslog entries over UDP for consumption by a syslog
collector. Only some options from the manpage are implemented since
NuttX doesn't currently have the ability for some of the more complex
features (-l, etc.).

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2025-06-17 20:43:58 +08:00

36 lines
1.3 KiB
CMake

# ##############################################################################
# apps/system/syslogd/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_SYSTEM_SYSLOGD)
nuttx_add_application(
MODULE
${CONFIG_SYSTEM_SYSLOGD}
NAME
${CONFIG_SYSTEM_SYSLOGD_PROGNAME}
STACKSIZE
${CONFIG_SYSTEM_SYSLOGD_STACKSIZE}
PRIORITY
${CONFIG_SYSTEM_SYSLOGD_PRIORITY}
SRCS
syslogd_main.c)
endif()