mesonbuild/meson

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

Open

#2,209 opened on Aug 17, 2017

 (0 comments) (0 reactions) (0 assignees)Python (1,465 forks)batch import
OS:windowscompilersdependenciesenhancementhelp wanted

Repository metrics

Stars
 (4,978 stars)
PR merge metrics
 (Avg merge 139d 13h) (51 merged PRs in 30d)

Description

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