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/regressio
n-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
binmsvc-8.0debugthreading-multibtp_algorithms.obj.rsp
"btp_algorithms.cpp"
-Fo"binmsvc-8.0debugthreading-multibtp_algorithms.o
bj"
-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:boosttrunk"
"-Id:boosttrunk"
Why is the -DDEZIDE_EXPORT=1 not showing?
-Thorsten
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|