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

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (4,978 stars) (1,465 forks)batch import
OS:windowscompilersdependenciesenhancementhelp wanted

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