debuglibrary
filename-list
Use the debuglibrary
statement to specify the libraries that are only required in debug builds.
Any number of files may be specified, and there may be many debuglibrary
statements. Specify the entire filename, e.g. euser.lib
.
The keyword indicates libraries which are only required in debug builds; this situation can arise when complex functions
are called from __ASSERT_DEBUG()
macros, for example in the TSwizzleCBase
constructor which calls a function in estor.lib
.
makmake
constructs two lists of libraries, one for debug builds and the other for release builds. The library
keyword contributes to both lists, but the debuglibrary
keyword only contributes to the debug list. There is no support for libraries which are only used in release builds.