Files
bacnet_stack/zephyr/subsys/object/CMakeLists.txt
T
Mikhail Antropov 8f576461a8 Feature/oscbs 29 calendar time object (#440)
* Added basic Calendar object, unit tests, and integration with example device object.

* Added basic Time Value object, unit tests, and integration with example device object.

---------

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
2024-02-01 23:01:27 -06:00

55 lines
893 B
CMake

#
# Copyright (c) 2022 Legrand North America, LLC.
#
# SPDX-License-Identifier: MIT
#
zephyr_compile_definitions(
_POSIX_C_SOURCE=200809 # Expose `strdup()` for bacfile, ao, bo, mso
CONFIG_NEWLIB_LIBC # Choose library providing `strdup()` impl.
)
zephyr_sources(device.c)
if(CONFIG_BACNET_USE_DYNAMIC_DESCRIPTION)
zephyr_sources(
acc.c
access_credential.c
access_door.c
access_point.c
access_rights.c
access_user.c
access_zone.c
ai.c
ao.c
av.c
bacfile.c
bi.c
bo.c
bv.c
calendar.c
channel.c
command.c
credential_data_input.c
csv.c
iv.c
lc.c
lo.c
lsp.c
ms-input.c
mso.c
msv.c
nc.c
osv.c
piv.c
schedule.c
time_value.c
trendlog.c
)
zephyr_sources_ifdef(CONFIG_BACDL_BIP netport.c)
zephyr_linker_sources(DATA_SECTIONS objects.ld)
endif()