mesonbuild/meson

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

Open

#2,209 创建于 2017年8月17日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (4,978 star) (1,465 fork)batch import
OS:windowscompilersdependenciesenhancementhelp wanted

描述

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'.

贡献者指南