Boost logo

Boost-Build :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2007-11-06 06:55:48


Thorsten Ottosen skrev:
> Dear all,
>
> When using the 1.35 trunk, I cannot get conditional requirement to work.
> Basically I want to undefine declspec(dllexport), when linking a static
> version.
>
> I do so as follows:
>
> lib bayesian : [ glob ../src/*.cpp ] : <define>DEZIDE_EXPORT=1
> : <link>shared :
> <define>DEZIDE_USE_DYNAMIC_LINKING=1 ;
>
>
> (The docs at
> http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/bbv2/tutorial.html
> seems to miss spaces around ":")
>
> Should this not work?

Furthermore, when I use -d2, I get:

file bin\msvc-8.0\debug\threading-multi\btp_algorithms.obj.rsp
"btp_algorithms.cpp"
  -Fo"bin\msvc-8.0\debug\threading-multi\btp_algorithms.obj"
    -TP
  /Z7
  /Od
  /Ob0
  /W3
  /GR
  /MDd
  /Zc:forScope
  /Zc:wchar_t
  /wd4675
  /EHs
  -c

-DBOOST_TEST_NO_AUTO_LINK=1

-DDEZIDE_USE_DYNAMIC_LINKING=1

-D_CRT_SECURE_NO_DEPRECATE=1

-D_SCL_SECURE_NO_DEPRECATE=1

"-I..\src"

"-ID:\boost\trunk"

"-Id:\boost\trunk"

Why is the -DDEZIDE_EXPORT=1 not showing?

-Thorsten


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk