Browse Source

fix(ns): Rename Minimal.xml to Reduced.xml to match CMake options

See also #3232
Stefan Profanter 4 years ago
parent
commit
addf2adfae
3 changed files with 3 additions and 3 deletions
  1. 1 1
      CMakeLists.txt
  2. 2 2
      examples/nodeset/CMakeLists.txt
  3. 0 0
      tools/schema/Opc.Ua.NodeSet2.Reduced.xml

+ 1 - 1
CMakeLists.txt

@@ -862,7 +862,7 @@ if(UA_NAMESPACE_ZERO STREQUAL "FULL")
     set(UA_FILE_TYPES_BSD ${PROJECT_SOURCE_DIR}/deps/ua-nodeset/Schema/Opc.Ua.Types.bsd)
 else()
     if(NOT UA_FILE_NS0)
-        set(UA_FILE_NS0 ${PROJECT_SOURCE_DIR}/tools/schema/Opc.Ua.NodeSet2.Minimal.xml)
+        set(UA_FILE_NS0 ${PROJECT_SOURCE_DIR}/tools/schema/Opc.Ua.NodeSet2.Reduced.xml)
     endif()
     set(UA_FILE_NODESETS "${UA_FILE_NS0}")
 

+ 2 - 2
examples/nodeset/CMakeLists.txt

@@ -20,10 +20,10 @@ if(NOT CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
     ua_generate_nodeset_and_datatypes(
         NAME "example"
         FILE_NS "${FILE_NS_DIRPREFIX}/server_nodeset.xml"
-        DEPENDS "${CMAKE_SOURCE_DIR}/tools/schema/Opc.Ua.NodeSet2.Minimal.xml"
+        DEPENDS "${CMAKE_SOURCE_DIR}/tools/schema/Opc.Ua.NodeSet2.Reduced.xml"
     )
 else()
-    # standalone examples build expects already installed Opc.Ua.NodeSet2.Minimal.xml
+    # standalone examples build expects already installed Opc.Ua.NodeSet2.Reduced.xml
     ua_generate_nodeset_and_datatypes(
         NAME "example"
         FILE_NS "${FILE_NS_DIRPREFIX}/server_nodeset.xml"

tools/schema/Opc.Ua.NodeSet2.Minimal.xml → tools/schema/Opc.Ua.NodeSet2.Reduced.xml