File tree Expand file tree Collapse file tree
opcua_generic_client_module/src
opcuageneric/opcuageneric_client/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ opendaq_setup_project_specific_build_options(${REPO_OPTION_PREFIX})
3131option (${REPO_OPTION_PREFIX} _ENABLE_EXAMPLE_APP "Enable ${REPO_NAME} example applications" ${PROJECT_IS_TOP_LEVEL} )
3232option (${REPO_OPTION_PREFIX} _ENABLE_TESTS "Enable ${REPO_NAME} testing" ${PROJECT_IS_TOP_LEVEL} )
3333option (${REPO_OPTION_PREFIX} _ENABLE_CLIENT "Enable ${REPO_NAME} client module" ${PROJECT_IS_TOP_LEVEL} )
34+ option (${REPO_OPTION_PREFIX} _ENABLE_GENERIC_CLIENT "Enable ${REPO_NAME} client module" ${PROJECT_IS_TOP_LEVEL} )
3435option (${REPO_OPTION_PREFIX} _ENABLE_SERVER "Enable ${REPO_NAME} server module" ${PROJECT_IS_TOP_LEVEL} )
3536option (OPCUA_ENABLE_ENCRYPTION "Enable OpcUa encryption" OFF )
3637cmake_dependent_option (OPENDAQ_ENABLE_OPCUA_INTEGRATION_TESTS "Enable ${REPO_NAME} integration testing" ${PROJECT_IS_TOP_LEVEL} "${REPO_OPTION_PREFIX} _ENABLE_TESTS" OFF )
Original file line number Diff line number Diff line change 66
77if (${REPO_OPTION_PREFIX} _ENABLE_CLIENT)
88 add_subdirectory (opcua_client_module )
9+ endif ()
10+
11+ if (${REPO_OPTION_PREFIX} _ENABLE_GENERIC_CLIENT)
912 add_subdirectory (opcua_generic_client_module )
1013endif ()
1114
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ if (MSVC)
3232endif ()
3333
3434target_link_libraries (${LIB_NAME} PUBLIC ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opendaq
35- Boost::uuid
3635 PRIVATE ${OPENDAQ_SDK_TARGET_NAMESPACE} ::discovery
3736 ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opcuageneric_client
3837)
Original file line number Diff line number Diff line change 11opendaq_set_cmake_folder_context (TARGET_FOLDER_NAME )
22
33add_subdirectory (opcua )
4- add_subdirectory (opcuatms )
5- add_subdirectory (opcuageneric )
4+
5+ if (${REPO_OPTION_PREFIX} _ENABLE_CLIENT OR ${REPO_OPTION_PREFIX} _ENABLE_SERVER)
6+ add_subdirectory (opcuatms )
7+ endif ()
8+
9+ if (${REPO_OPTION_PREFIX} _ENABLE_GENERIC_CLIENT)
10+ add_subdirectory (opcuageneric )
11+ endif ()
12+
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ set(SOURCE_CPPS opcuaserver.cpp
66 opcuataskqueue.cpp
77 opcuaaddnodeparams.cpp
88 opcuatmstypes.cpp
9- node_event_manager.cpp
109 opcuaservernode.cpp
1110 opcuaservernodefactory.cpp
1211 event_attributes.cpp
@@ -20,7 +19,6 @@ set(SOURCE_HEADERS common.h
2019 opcuataskqueue.h
2120 opcuatmstypes.h
2221 opcuaaddnodeparams.h
23- node_event_manager.h
2422 opcuaservernode.h
2523 opcuaservernodefactory.h
2624 event_attributes.h
@@ -47,7 +45,6 @@ target_link_libraries(${MODULE_NAME} PUBLIC ${OPENDAQ_SDK_TARGET_NAMESPACE}::op
4745 ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opendaq_utils
4846 PRIVATE ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opcua_daq_types
4947 ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opendaq
50- ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opcuatms_server
5148)
5249
5350set_target_properties (${MODULE_NAME} PROPERTIES PUBLIC_HEADER "${SOURCE_HEADERS} " )
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ endif()
2727
2828target_link_libraries (${TEST_APP} PRIVATE ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opendaq_test_utils gtest
2929 ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opcuageneric_client
30- ${OPENDAQ_SDK_TARGET_NAMESPACE} ::${MODULE_NAME}
3130 ${OPENDAQ_SDK_TARGET_NAMESPACE} ::opcua_generic_client_module
3231)
3332
File renamed without changes.
Original file line number Diff line number Diff line change 1818#include < coretypes/constexpr_utils.h>
1919#include < opendaq/component_ptr.h>
2020#include < opendaq/signal_ptr.h>
21- #include < opcuaserver /node_event_manager.h>
21+ #include < opcuatms_server /node_event_manager.h>
2222#include < opcuaserver/opcuaserver.h>
2323#include < opcuatms/opcuatms.h>
2424
Original file line number Diff line number Diff line change @@ -2,13 +2,15 @@ set(LIB_NAME opcuatms_server)
22
33set (SRC_Cpp tms_server.cpp
44 tms_server_context.cpp
5+ node_event_manager.cpp
56)
67
78set (SRC_PublicHeaders
89)
910
1011set (SRC_PrivateHeaders tms_server.h
1112 tms_server_context.h
13+ node_event_manager.h
1214)
1315
1416# objects
Original file line number Diff line number Diff line change 1- #include " opcuaserver /node_event_manager.h"
1+ #include " opcuatms_server /node_event_manager.h"
22#include < opcuatms_server/objects/tms_server_object.h>
33
44BEGIN_NAMESPACE_OPENDAQ_OPCUA
You can’t perform that action at this time.
0 commit comments