mesonbuild/meson

Provide a way to specify the debug library name to use in cc.find_library

Open

#2.209 geöffnet am 17. Aug. 2017

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.465 Forks)batch import
OS:windowscompilersdependenciesenhancementhelp wanted

Repository-Metriken

Stars
 (4.978 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 139T 13h) (51 gemergte PRs in 30 T)

Beschreibung

On Windows, the release library and the debug library are usually called different names; for instance libpcre is called 'pcre.lib/pcre.dll' for release and 'pcred.lib/pcred.lib/ for debug builds. Similarly for boost.

I propose a new kwarg called 'debug_name:' which will peek at buildtype and use the provided name if the buildtype starts with 'debug'.

Contributor Guide