From fa6dc86ee4f001b99882c603c4db42ff4fd6ed6c Mon Sep 17 00:00:00 2001 From: Hyeongjun Kim Date: Fri, 27 Mar 2026 05:37:02 +0900 Subject: [PATCH] Added INTRINSIC_REPORTING CMake option to enable intrinsic reporting at build time (#1275) Signed-off-by: kimhyeongjun --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bcd9098..d06c8923 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,6 +110,11 @@ option( "enable backup and restore support" ON) +option( + INTRINSIC_REPORTING + "enable intrinsic reporting" + OFF) + set(BACNET_PROTOCOL_REVISION 28) if(NOT CMAKE_BUILD_TYPE) @@ -751,6 +756,7 @@ target_compile_definitions( $<$:BACNET_SEGMENTATION_ENABLED=1> $<$:BACNET_BACKUP_RESTORE> $<$>:BACNET_STACK_STATIC_DEFINE> + $<$:INTRINSIC_REPORTING> PRIVATE PRINT_ENABLED=1)