--- spirv-headers-1.5.1.orig/.pc/.quilt_patches +++ spirv-headers-1.5.1/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches --- spirv-headers-1.5.1.orig/.pc/.quilt_series +++ spirv-headers-1.5.1/.pc/.quilt_series @@ -0,0 +1 @@ +series --- spirv-headers-1.5.1.orig/.pc/.version +++ spirv-headers-1.5.1/.pc/.version @@ -0,0 +1 @@ +2 --- spirv-headers-1.5.1.orig/BUILD.bazel +++ spirv-headers-1.5.1/BUILD.bazel @@ -0,0 +1,124 @@ +package( + default_visibility = ["//visibility:public"], +) + +licenses(["notice"]) + +exports_files(["LICENSE"]) + +filegroup( + name = "spirv_core_grammar_1.0", + srcs = ["include/spirv/1.0/spirv.core.grammar.json"], +) + +filegroup( + name = "spirv_glsl_grammar_1.0", + srcs = ["include/spirv/1.0/extinst.glsl.std.450.grammar.json"], +) + +filegroup( + name = "spirv_opencl_grammar_1.0", + srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"], +) + +filegroup( + name = "spirv_core_grammar_1.1", + srcs = ["include/spirv/1.1/spirv.core.grammar.json"], +) + +filegroup( + name = "spirv_glsl_grammar_1.1", + srcs = ["include/spirv/1.1/extinst.glsl.std.450.grammar.json"], +) + +filegroup( + name = "spirv_opencl_grammar_1.1", + srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"], +) + +filegroup( + name = "spirv_core_grammar_1.2", + srcs = ["include/spirv/1.2/spirv.core.grammar.json"], +) + +filegroup( + name = "spirv_glsl_grammar_1.2", + srcs = ["include/spirv/1.2/extinst.glsl.std.450.grammar.json"], +) + +filegroup( + name = "spirv_opencl_grammar_1.2", + srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"], +) + +filegroup( + name = "spirv_core_grammar_unified1", + srcs = ["include/spirv/unified1/spirv.core.grammar.json"], +) + +filegroup( + name = "spirv_glsl_grammar_unified1", + srcs = ["include/spirv/unified1/extinst.glsl.std.450.grammar.json"], +) + +filegroup( + name = "spirv_opencl_grammar_unified1", + srcs = ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"], +) + +filegroup( + name = "spirv_xml_registry", + srcs = ["include/spirv/spir-v.xml"], +) + +cc_library( + name = "spirv_common_headers", + hdrs = [ + "include/spirv/1.0/GLSL.std.450.h", + "include/spirv/1.0/OpenCL.std.h", + "include/spirv/1.1/GLSL.std.450.h", + "include/spirv/1.1/OpenCL.std.h", + "include/spirv/1.2/GLSL.std.450.h", + "include/spirv/1.2/OpenCL.std.h", + "include/spirv/unified1/GLSL.std.450.h", + "include/spirv/unified1/OpenCL.std.h", + ], + includes = ["include"], +) + +cc_library( + name = "spirv_c_headers", + hdrs = [ + "include/spirv/1.0/spirv.h", + "include/spirv/1.1/spirv.h", + "include/spirv/1.2/spirv.h", + "include/spirv/unified1/spirv.h", + ], + includes = ["include"], + deps = [":spirv_common_headers"], +) + +cc_library( + name = "spirv_cpp_headers", + hdrs = [ + "include/spirv/1.0/spirv.hpp", + "include/spirv/1.1/spirv.hpp", + "include/spirv/1.2/spirv.hpp", + "include/spirv/unified1/spirv.hpp", + ], + includes = ["include"], + deps = [":spirv_common_headers"], +) + +cc_library( + name = "spirv_cpp11_headers", + hdrs = [ + "include/spirv/1.0/spirv.hpp11", + "include/spirv/1.1/spirv.hpp11", + "include/spirv/1.2/spirv.hpp11", + "include/spirv/unified1/spirv.hpp11", + ], + includes = ["include"], + deps = [":spirv_common_headers"], +) + --- spirv-headers-1.5.1.orig/CMakeLists.txt +++ spirv-headers-1.5.1/CMakeLists.txt @@ -51,9 +51,18 @@ option(SPIRV_HEADERS_SKIP_EXAMPLES "Skip building examples" ${SPIRV_HEADERS_SKIP_EXAMPLES}) + +option(SPIRV_HEADERS_SKIP_INSTALL "Skip install" + ${SPIRV_HEADERS_SKIP_INSTALL}) + if(NOT ${SPIRV_HEADERS_SKIP_EXAMPLES}) set(SPIRV_HEADERS_ENABLE_EXAMPLES ON) endif() + +if(NOT ${SPIRV_HEADERS_SKIP_INSTALL}) + set(SPIRV_HEADERS_ENABLE_INSTALL ON) +endif() + if (SPIRV_HEADERS_ENABLE_EXAMPLES) message(STATUS "Building SPIRV-Header examples") add_subdirectory(example) @@ -67,49 +76,52 @@ # Installation -set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") +if (SPIRV_HEADERS_ENABLE_INSTALL) + message(STATUS "Installing SPIRV-Header") -set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") + set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") -set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") -set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") -set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") -set(namespace "${PROJECT_NAME}::") - -include(CMakePackageConfigHelpers) -write_basic_package_version_file( - "${version_config}" - COMPATIBILITY SameMajorVersion -) - -configure_package_config_file( - "cmake/Config.cmake.in" - "${project_config}" - INSTALL_DESTINATION "${config_install_dir}" -) - -install( - TARGETS ${PROJECT_NAME} - EXPORT "${TARGETS_EXPORT_NAME}" - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -) - -install( - DIRECTORY include/spirv - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -) - -install( - FILES "${project_config}" "${version_config}" - DESTINATION "${config_install_dir}" -) - -install( - EXPORT "${TARGETS_EXPORT_NAME}" - NAMESPACE "${namespace}" - DESTINATION "${config_install_dir}" -) + set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") + set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") + set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") + set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") + set(namespace "${PROJECT_NAME}::") + + include(CMakePackageConfigHelpers) + write_basic_package_version_file( + "${version_config}" + COMPATIBILITY SameMajorVersion + ) + + configure_package_config_file( + "cmake/Config.cmake.in" + "${project_config}" + INSTALL_DESTINATION "${config_install_dir}" + ) + + install( + TARGETS ${PROJECT_NAME} + EXPORT "${TARGETS_EXPORT_NAME}" + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + ) + + install( + DIRECTORY include/spirv + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + ) + + install( + FILES "${project_config}" "${version_config}" + DESTINATION "${config_install_dir}" + ) + + install( + EXPORT "${TARGETS_EXPORT_NAME}" + NAMESPACE "${namespace}" + DESTINATION "${config_install_dir}" + ) +endif() --- spirv-headers-1.5.1.orig/README.md +++ spirv-headers-1.5.1/README.md @@ -53,6 +53,7 @@ ## Using the headers without installing +### Using CMake A CMake-based project can use the headers without installing, as follows: 1. Add an `add_subdirectory` directive to include this source tree. @@ -69,6 +70,55 @@ See also the [example](example/) subdirectory. But since that example is *inside* this repostory, it doesn't use and `add_subdirectory` directive. +### Using Bazel +A Bazel-based project can use the headers without installing, as follows: + +1. Add SPIRV-Headers as a submodule of your project, and add a +`local_repository` to your `WORKSPACE` file. For example, if you place +SPIRV-Headers under `external/spirv-headers`, then add the following to your +`WORKSPACE` file: + +``` +local_repository( + name = "spirv_headers", + path = "external/spirv-headers", +) +``` + +2. Add one of the following to the `deps` attribute of your build target based +on your needs: +``` +@spirv_headers//:spirv_c_headers +@spirv_headers//:spirv_cpp_headers +@spirv_headers//:spirv_cpp11_headers +``` + +For example: + +``` +cc_library( + name = "project", + srcs = [ + # Path to project sources + ], + hdrs = [ + # Path to project headers + ], + deps = [ + "@spirv_tools//:spirv_c_headers", + # Other dependencies, + ], +) +``` + +3. In your C or C++ source code use `#include` directives that explicitly mention + the `spirv` path component. +``` +#include "spirv/unified1/GLSL.std.450.h" +#include "spirv/unified1/OpenCL.std.h" +#include "spirv/unified1/spirv.hpp" +``` + ## Generating the headers from the JSON grammar This will generally be done by Khronos, for a change to the JSON grammar. --- spirv-headers-1.5.1.orig/debian/changelog +++ spirv-headers-1.5.1/debian/changelog @@ -0,0 +1,74 @@ +spirv-headers (1.5.1-4) unstable; urgency=medium + + * Mark spirv-headers Multi-Arch: foreign. (Closes: #941943) + + -- Timo Aaltonen Wed, 22 Jan 2020 14:05:54 +0200 + +spirv-headers (1.5.1-3) unstable; urgency=medium + + * reserve-opcode-block.diff: Add a commit for glslang. + + -- Timo Aaltonen Wed, 22 Jan 2020 14:01:40 +0200 + +spirv-headers (1.5.1-2) unstable; urgency=medium + + * Sync with 1.5.1.corrected tag. + + -- Timo Aaltonen Tue, 19 Nov 2019 23:35:01 +0200 + +spirv-headers (1.5.1-1) unstable; urgency=medium + + * New upstream release. + + -- Timo Aaltonen Thu, 03 Oct 2019 12:31:25 +0300 + +spirv-headers (1.4.1+git20190816-1) unstable; urgency=medium + + * New upstream snapshot, drop the patch. + + -- Timo Aaltonen Fri, 16 Aug 2019 13:22:49 +0300 + +spirv-headers (1.4.1-2) unstable; urgency=medium + + * Add-support-for-SPV_NV_sm_shader_builtins.patch: Needed for spirv- + tools 2019.4. + + -- Timo Aaltonen Fri, 16 Aug 2019 12:35:09 +0300 + +spirv-headers (1.4.1-1) unstable; urgency=medium + + * New upstream release. + * watch: Updated. + * Bump debhelper to 12. + * control: Bump policy to 4.4.0. + + -- Timo Aaltonen Thu, 01 Aug 2019 15:38:41 +0300 + +spirv-headers (1.3+git20190113-1) unstable; urgency=medium + + * New upstream snapshot. + + -- Timo Aaltonen Sun, 13 Jan 2019 18:41:18 +0200 + +spirv-headers (1.3+git20181003-1) unstable; urgency=medium + + * New upstream snapshot. + * links: Add SPIRV symlink. (Closes: #904610) + * control: Fix vcs urls. + + -- Timo Aaltonen Wed, 03 Oct 2018 11:53:29 +0300 + +spirv-headers (1.3-1) unstable; urgency=medium + + * New upstream version. + - although upstream hasn't tagged it as such, use the spec version + * control: Update the description. + * copyright: Updated. (Closes: #899971) + + -- Timo Aaltonen Thu, 24 May 2018 14:17:46 +0300 + +spirv-headers (0+git20180201.ce3092-1) unstable; urgency=medium + + * Initial release (Closes: #891052) + + -- Timo Aaltonen Fri, 02 Mar 2018 14:29:41 +0200 --- spirv-headers-1.5.1.orig/debian/compat +++ spirv-headers-1.5.1/debian/compat @@ -0,0 +1 @@ +12 --- spirv-headers-1.5.1.orig/debian/control +++ spirv-headers-1.5.1/debian/control @@ -0,0 +1,22 @@ +Source: spirv-headers +Section: libdevel +Priority: optional +Maintainer: Debian X Strike Force +Build-Depends: debhelper (>=12), +Standards-Version: 4.4.0 +Homepage: https://github.com/KhronosGroup/SPIRV-Headers +Vcs-Git: https://salsa.debian.org/xorg-team/vulkan/spirv-headers.git +Vcs-Browser: https://salsa.debian.org/xorg-team/vulkan/spirv-headers + +Package: spirv-headers +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: Machine-readable files for the SPIR-V Registry + This package includes: + - Header files for various languages + - JSON files describing the grammar for the SPIR-V core instruction + set and the extended instruction sets. + - The XML registry file. + . + For more info, see https://github.com/KhronosGroup/SPIRV-Headers --- spirv-headers-1.5.1.orig/debian/copyright +++ spirv-headers-1.5.1/debian/copyright @@ -0,0 +1,40 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: spirv-headers +Source: https://github.com/KhronosGroup/SPIRV-Headers + +Files: * +Copyright: 2015-2018 The Khronos Group Inc. +License: MIT + +Files: tools/buildHeaders/jsoncpp/dist/* +Copyright: 2007-2010 Baptiste Lepilleur +License: MIT + +Files: debian/* +Copyright: 2018 Timo Aaltonen +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and/or associated documentation files (the + "Materials"), to deal in the Materials without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Materials, and to + permit persons to whom the Materials are furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Materials. + . + MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS + KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS + SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT + https://www.khronos.org/registry/ + . + THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. --- spirv-headers-1.5.1.orig/debian/patches/reserve-opcode-block.diff +++ spirv-headers-1.5.1/debian/patches/reserve-opcode-block.diff @@ -0,0 +1,21 @@ +diff --git a/include/spirv/spir-v.xml b/include/spirv/spir-v.xml +index 523460d..bcffd61 100644 +--- a/include/spirv/spir-v.xml ++++ b/include/spirv/spir-v.xml +@@ -111,6 +111,7 @@ + + + ++ + + +- ++ + + + --- spirv-headers-1.5.1.orig/debian/patches/series +++ spirv-headers-1.5.1/debian/patches/series @@ -0,0 +1 @@ +reserve-opcode-block.diff --- spirv-headers-1.5.1.orig/debian/rules +++ spirv-headers-1.5.1/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +# see /usr/share/dpkg/* +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ + +override_dh_auto_configure: +override_dh_auto_build: + +gentarball: + git archive --format=tar upstream-unstable --prefix=$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/ | \ + gzip -9 > \ + ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz --- spirv-headers-1.5.1.orig/debian/source/format +++ spirv-headers-1.5.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- spirv-headers-1.5.1.orig/debian/spirv-headers.install +++ spirv-headers-1.5.1/debian/spirv-headers.install @@ -0,0 +1 @@ +include/ usr/ --- spirv-headers-1.5.1.orig/debian/spirv-headers.links +++ spirv-headers-1.5.1/debian/spirv-headers.links @@ -0,0 +1 @@ +usr/include/spirv/unified1 usr/include/SPIRV --- spirv-headers-1.5.1.orig/debian/watch +++ spirv-headers-1.5.1/debian/watch @@ -0,0 +1,5 @@ +version=4 + +opts="filenamemangle=s%(?:.*?)?(\d[\d.]*)\.tar\.gz%spirv-headers-$1.tar.gz%" \ + https://github.com/KhronosGroup/spirv-headers/tags \ + (?:.*?/)?(\d[\d.]*)\.tar\.gz --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.core.grammar.json +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.core.grammar.json @@ -7082,7 +7082,7 @@ { "enumerant" : "PhysicalStorageBuffer64", "value" : 5348, - "extensions" : [ "SPV_EXT_physical_storage_buffer" ], + "extensions" : [ "SPV_EXT_physical_storage_buffer", "SPV_KHR_physical_storage_buffer" ], "capabilities" : [ "PhysicalStorageBufferAddresses" ], "version" : "1.5" }, @@ -7623,7 +7623,7 @@ { "enumerant" : "PhysicalStorageBuffer", "value" : 5349, - "extensions" : [ "SPV_EXT_physical_storage_buffer" ], + "extensions" : [ "SPV_EXT_physical_storage_buffer", "SPV_KHR_physical_storage_buffer" ], "capabilities" : [ "PhysicalStorageBufferAddresses" ], "version" : "1.5" }, @@ -8629,7 +8629,7 @@ "enumerant" : "RestrictPointer", "value" : 5355, "capabilities" : [ "PhysicalStorageBufferAddresses" ], - "extensions" : [ "SPV_EXT_physical_storage_buffer" ], + "extensions" : [ "SPV_EXT_physical_storage_buffer", "SPV_KHR_physical_storage_buffer" ], "version" : "1.5" }, { @@ -8643,7 +8643,7 @@ "enumerant" : "AliasedPointer", "value" : 5356, "capabilities" : [ "PhysicalStorageBufferAddresses" ], - "extensions" : [ "SPV_EXT_physical_storage_buffer" ], + "extensions" : [ "SPV_EXT_physical_storage_buffer", "SPV_KHR_physical_storage_buffer" ], "version" : "1.5" }, { @@ -10256,6 +10256,7 @@ "enumerant" : "PhysicalStorageBufferAddresses", "value" : 5347, "capabilities" : [ "Shader" ], + "extensions" : [ "SPV_EXT_physical_storage_buffer", "SPV_KHR_physical_storage_buffer" ], "version" : "1.5" }, { --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.cs +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.cs @@ -48,7 +48,7 @@ public static class Specification { public const uint MagicNumber = 0x07230203; - public const uint Version = 0x00010400; + public const uint Version = 0x00010500; public const uint Revision = 1; public const uint OpCodeMask = 0xffff; public const uint WordCountShift = 16; --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.h +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.h @@ -53,11 +53,11 @@ typedef unsigned int SpvId; -#define SPV_VERSION 0x10400 +#define SPV_VERSION 0x10500 #define SPV_REVISION 1 static const unsigned int SpvMagicNumber = 0x07230203; -static const unsigned int SpvVersion = 0x00010400; +static const unsigned int SpvVersion = 0x00010500; static const unsigned int SpvRevision = 1; static const unsigned int SpvOpCodeMask = 0xffff; static const unsigned int SpvWordCountShift = 16; --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.hpp +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.hpp @@ -49,11 +49,11 @@ typedef unsigned int Id; -#define SPV_VERSION 0x10400 +#define SPV_VERSION 0x10500 #define SPV_REVISION 1 static const unsigned int MagicNumber = 0x07230203; -static const unsigned int Version = 0x00010400; +static const unsigned int Version = 0x00010500; static const unsigned int Revision = 1; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.hpp11 +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.hpp11 @@ -49,11 +49,11 @@ typedef unsigned int Id; -#define SPV_VERSION 0x10400 +#define SPV_VERSION 0x10500 #define SPV_REVISION 1 static const unsigned int MagicNumber = 0x07230203; -static const unsigned int Version = 0x00010400; +static const unsigned int Version = 0x00010500; static const unsigned int Revision = 1; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.json +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.json @@ -54,7 +54,7 @@ ] ], "MagicNumber": 119734787, - "Version": 66560, + "Version": 66816, "Revision": 1, "OpCodeMask": 65535, "WordCountShift": 16 --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.lua +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.lua @@ -44,7 +44,7 @@ spv = { MagicNumber = 0x07230203, - Version = 0x00010400, + Version = 0x00010500, Revision = 1, OpCodeMask = 0xffff, WordCountShift = 16, --- spirv-headers-1.5.1.orig/include/spirv/unified1/spirv.py +++ spirv-headers-1.5.1/include/spirv/unified1/spirv.py @@ -44,7 +44,7 @@ spv = { 'MagicNumber' : 0x07230203, - 'Version' : 0x00010400, + 'Version' : 0x00010500, 'Revision' : 1, 'OpCodeMask' : 0xffff, 'WordCountShift' : 16, --- spirv-headers-1.5.1.orig/include/spirv/unified1/spv.d +++ spirv-headers-1.5.1/include/spirv/unified1/spv.d @@ -51,7 +51,7 @@ module spv; enum uint MagicNumber = 0x07230203; -enum uint Version = 0x00010400; +enum uint Version = 0x00010500; enum uint Revision = 1; enum uint OpCodeMask = 0xffff; enum uint WordCountShift = 16; --- spirv-headers-1.5.1.orig/tools/buildHeaders/header.cpp +++ spirv-headers-1.5.1/tools/buildHeaders/header.cpp @@ -69,7 +69,7 @@ TPrinter(); static const int DocMagicNumber = 0x07230203; - static const int DocVersion = 0x00010400; + static const int DocVersion = 0x00010500; static const int DocRevision = 1; #define DocRevisionString "1" static const std::string DocCopyright;