Skip to content

Commit 147a089

Browse files
kjmeaghereli-schwartz
authored andcommitted
Alphabetize the Docs on Dependencies
Persumably this list of was supposed to be alphabetized, but a few of the items were out of order. This confused me because I was looking for numpy, got the the Os and thought it wasn't there.
1 parent 373d1fe commit 147a089

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

docs/markdown/Dependencies.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,34 @@ foreach h : check_headers
427427
endforeach
428428
```
429429

430+
## DIA SDK
431+
432+
*(added 1.6.0)*
433+
434+
Microsoft's Debug Interface Access SDK (DIA SDK) is available only on Windows,
435+
when using msvc, clang-cl or clang compiler from Microsoft Visual Studio.
436+
437+
The DIA SDK runtime is not statically linked to target. The default usage
438+
method requires the runtime DLL (msdiaXXX.dll) to be manually registered in the
439+
OS with `regsrv32.exe` command, so it can be loaded using `CoCreateInstance`
440+
Windows function.
441+
442+
Alternatively, you can use meson to copy the DIA runtime DLL to your build
443+
directory, and load it dynamically using `NoRegCoCreate` function provided by
444+
the DIA SDK. To facilitate this, you can read DLL path from dependency's
445+
variable 'dll' and use fs module to copy it. Example:
446+
447+
```meson
448+
dia = dependency('diasdk', required: true)
449+
fs = import('fs')
450+
fs.copyfile(dia.get_variable('dll'))
451+
452+
conf = configuration_data()
453+
conf.set('msdia_dll_name', fs.name(dia_dll_name))
454+
```
455+
456+
Only the major version is available (eg. version is `14` for msdia140.dll).
457+
430458
## dl (libdl)
431459

432460
*(added 0.62.0)*
@@ -448,18 +476,18 @@ providing them instead.
448476
GCC will use OpenCoarrays if present to implement coarrays, while Intel and NAG
449477
use internal coarray support.
450478

451-
## GPGME
452-
453-
*(added 0.51.0)*
454-
455-
`method` may be `auto`, `config-tool` or `pkg-config`.
456-
457479
## GL
458480

459481
This finds the OpenGL library in a way appropriate to the platform.
460482

461483
`method` may be `auto`, `pkg-config` or `system`.
462484

485+
## GPGME
486+
487+
*(added 0.51.0)*
488+
489+
`method` may be `auto`, `config-tool` or `pkg-config`.
490+
463491
## GTest and GMock
464492

465493
GTest and GMock come as sources that must be compiled as part of your
@@ -649,6 +677,14 @@ language-specific, you must specify the requested language using the
649677

650678
Meson uses pkg-config to find NetCDF.
651679

680+
## NumPy
681+
682+
*(added 1.4.0)*
683+
684+
`method` may be `auto`, `pkg-config`, or `config-tool`.
685+
`dependency('numpy')` supports regular use of the NumPy C API.
686+
Use of `numpy.f2py` for binding Fortran code isn't yet supported.
687+
652688
## ObjFW
653689

654690
*(added 1.5.0)*
@@ -694,14 +730,6 @@ The `language` keyword may used.
694730

695731
`method` may be `auto`, `pkg-config`, `system` or `cmake`.
696732

697-
## NumPy
698-
699-
*(added 1.4.0)*
700-
701-
`method` may be `auto`, `pkg-config`, or `config-tool`.
702-
`dependency('numpy')` supports regular use of the NumPy C API.
703-
Use of `numpy.f2py` for binding Fortran code isn't yet supported.
704-
705733
## pcap
706734

707735
*(added 0.42.0)*
@@ -859,34 +887,6 @@ version.
859887

860888
*New in 0.54.0* the `system` method.
861889

862-
## DIA SDK
863-
864-
*(added 1.6.0)*
865-
866-
Microsoft's Debug Interface Access SDK (DIA SDK) is available only on Windows,
867-
when using msvc, clang-cl or clang compiler from Microsoft Visual Studio.
868-
869-
The DIA SDK runtime is not statically linked to target. The default usage
870-
method requires the runtime DLL (msdiaXXX.dll) to be manually registered in the
871-
OS with `regsrv32.exe` command, so it can be loaded using `CoCreateInstance`
872-
Windows function.
873-
874-
Alternatively, you can use meson to copy the DIA runtime DLL to your build
875-
directory, and load it dynamically using `NoRegCoCreate` function provided by
876-
the DIA SDK. To facilitate this, you can read DLL path from dependency's
877-
variable 'dll' and use fs module to copy it. Example:
878-
879-
```meson
880-
dia = dependency('diasdk', required: true)
881-
fs = import('fs')
882-
fs.copyfile(dia.get_variable('dll'))
883-
884-
conf = configuration_data()
885-
conf.set('msdia_dll_name', fs.name(dia_dll_name))
886-
```
887-
888-
Only the major version is available (eg. version is `14` for msdia140.dll).
889-
890890
<hr>
891891
<a name="footnote1">1</a>: They may appear to be case-insensitive, if the
892892
underlying file system happens to be case-insensitive.

0 commit comments

Comments
 (0)