mesonbuild/meson
View on GitHubProvide a way to specify the debug library name to use in cc.find_library
Open
#2,209 opened on Aug 17, 2017
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'.