[open62541] added multithreading feature (#43327)

This commit is contained in:
Reinder Feenstra 2025-01-23 08:22:04 +01:00 committed by GitHub
parent 53d2be3aaf
commit 9ce2c853d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 1 deletions

View File

@ -41,6 +41,10 @@ elseif("mbedtls" IN_LIST FEATURES)
set(OPEN62541_ENCRYPTION_OPTIONS -DUA_ENABLE_ENCRYPTION=MBEDTLS)
endif()
if("multithreading" IN_LIST FEATURES)
set(OPEN62541_MULTITHREADING_OPTIONS -DUA_MULTITHREADING=100)
endif()
vcpkg_find_acquire_program(PYTHON3)
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
vcpkg_add_to_path("${PYTHON3_DIR}")
@ -50,6 +54,7 @@ vcpkg_cmake_configure(
OPTIONS
${FEATURE_OPTIONS}
${OPEN62541_ENCRYPTION_OPTIONS}
${OPEN62541_MULTITHREADING_OPTIONS}
"-DOPEN62541_VERSION=v${VERSION}"
-DUA_ENABLE_DEBUG_SANITIZER=OFF
-DUA_MSVC_FORCE_STATIC_CRT=OFF

View File

@ -1,6 +1,7 @@
{
"name": "open62541",
"version": "1.3.15",
"port-version": 1,
"description": "open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.",
"homepage": "https://open62541.org",
"license": "MPL-2.0",
@ -42,6 +43,9 @@
"methodcalls": {
"description": "Enable the Method service set"
},
"multithreading": {
"description": "Enable multi threading support"
},
"openssl": {
"description": "Enable encryption support (uses OpenSSL)",
"dependencies": [

View File

@ -6626,7 +6626,7 @@
},
"open62541": {
"baseline": "1.3.15",
"port-version": 0
"port-version": 1
},
"open62541pp": {
"baseline": "0.17.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "069f0994eea700649515980c5d35eb9157bbe990",
"version": "1.3.15",
"port-version": 1
},
{
"git-tree": "96ef706dfc63eac612ac3a62f5884f88aaba030c",
"version": "1.3.15",