Added INTRINSIC_REPORTING CMake option to enable intrinsic reporting at build time (#1275)
Signed-off-by: kimhyeongjun <hjun1.kim@samsung.com>
This commit is contained in:
@@ -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(
|
||||
$<$<BOOL:${BACNET_SEGMENTATION_ENABLED}>:BACNET_SEGMENTATION_ENABLED=1>
|
||||
$<$<BOOL:${BACNET_BACKUP_RESTORE}>:BACNET_BACKUP_RESTORE>
|
||||
$<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:BACNET_STACK_STATIC_DEFINE>
|
||||
$<$<BOOL:${INTRINSIC_REPORTING}>:INTRINSIC_REPORTING>
|
||||
PRIVATE
|
||||
PRINT_ENABLED=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user