|
@@ -116,6 +116,8 @@ option(UA_BUILD_UNIT_TESTS "Build the unit tests" OFF)
|
|
option(UA_BUILD_FUZZING "Build the fuzzing executables" OFF)
|
|
option(UA_BUILD_FUZZING "Build the fuzzing executables" OFF)
|
|
option(UA_BUILD_OSS_FUZZ "Special build switch used in oss-fuzz" OFF)
|
|
option(UA_BUILD_OSS_FUZZ "Special build switch used in oss-fuzz" OFF)
|
|
mark_as_advanced(UA_BUILD_OSS_FUZZ)
|
|
mark_as_advanced(UA_BUILD_OSS_FUZZ)
|
|
|
|
+option(UA_DEBUG_DUMP_PKGS "Dump every package received by the server as hexdump format" OFF)
|
|
|
|
+mark_as_advanced(UA_DEBUG_DUMP_PKGS)
|
|
option(UA_BUILD_EXAMPLES_NODESET_COMPILER "Generate an OPC UA information model from a nodeset XML (experimental)" OFF)
|
|
option(UA_BUILD_EXAMPLES_NODESET_COMPILER "Generate an OPC UA information model from a nodeset XML (experimental)" OFF)
|
|
|
|
|
|
# Advanced Build Targets
|
|
# Advanced Build Targets
|
|
@@ -334,6 +336,10 @@ set(default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_network_tcp.c
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_log_stdout.c
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_log_stdout.c
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_accesscontrol_default.c
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_accesscontrol_default.c
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_config_standard.c)
|
|
${PROJECT_SOURCE_DIR}/plugins/ua_config_standard.c)
|
|
|
|
+if(UA_DEBUG_DUMP_PKGS)
|
|
|
|
+ list(APPEND lib_sources ${PROJECT_SOURCE_DIR}/plugins/ua_debug_dump_pkgs.c)
|
|
|
|
+endif()
|
|
|
|
+
|
|
if(UA_ENABLE_EMBEDDED_LIBC)
|
|
if(UA_ENABLE_EMBEDDED_LIBC)
|
|
list(APPEND lib_sources ${PROJECT_SOURCE_DIR}/deps/libc_string.c)
|
|
list(APPEND lib_sources ${PROJECT_SOURCE_DIR}/deps/libc_string.c)
|
|
endif()
|
|
endif()
|