$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Library name different for debug/release
From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2008-12-16 04:46:57
Hello,
how can I control the name of the library being built?
For example, I want to use this naming scheme:
authlib-vc9-win32-x86 release msvc9.0
authlibd-vc9-win32-x86 debug msvc-9.0
Here's my failed attempt:
# library target for msvc debug ######################################
lib authlibd-vc9-win32-x86
: [ glob AuthenticationLibrary/*.cpp ]
: <toolset>msvc,<variant>debug:<define>_DEBUG
;
# library target for msvc release ####################################
lib authlib-vc9-win32-x86
: [ glob AuthenticationLibrary/*.cpp ]
: <toolset>msvc,<variant>release:<define>NDEBUG
;
Apart from the obvious duplication, it doesn't work.
Thanks in advance!
Regards,
Daniel Lidström