diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 2e255b209822..9a89b879032e 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -862,9 +862,12 @@ version. ## DIA SDK *(added 1.6.0)* +*(mstorsjo/msvc-wine environment supported since 1.7.0)* Microsoft's Debug Interface Access SDK (DIA SDK) is available only on Windows, when using msvc, clang-cl or clang compiler from Microsoft Visual Studio. +You can also use it when cross-compiling for Windows using mstorsjo/msvc-wine +build environment. The DIA SDK runtime is not statically linked to target. The default usage method requires the runtime DLL (msdiaXXX.dll) to be manually registered in the @@ -882,7 +885,7 @@ fs = import('fs') fs.copyfile(dia.get_variable('dll')) conf = configuration_data() -conf.set('msdia_dll_name', fs.name(dia_dll_name)) +conf.set('msdia_dll_name', fs.name(dia.get_variable('dll'))) ``` Only the major version is available (eg. version is `14` for msdia140.dll). diff --git a/docs/markdown/snippets/diasdk-msvc-wine.md b/docs/markdown/snippets/diasdk-msvc-wine.md new file mode 100644 index 000000000000..0f895f408a43 --- /dev/null +++ b/docs/markdown/snippets/diasdk-msvc-wine.md @@ -0,0 +1,6 @@ +## Added support for DIA SDK on linux via msvc-wine + +Microsoft DIA SDK library (for reading with .PDB files) can now be +used when cross-compiling on linux with mstorsjo/msvc-wine +environment. Both compiling with native clang and MSVC cl over +wine are supported.