From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-07-22 11:29:58
[2003-07-22] Dirk Griffioen wrote:
>If I do something like <linkflags>"/NODEFAULTLIB:libcd" inside a template
>definition it ends up on the commandline like \NODEFAULTLIB:libcd - which
>not a library ("\/" does not help). (This is for vc7 with buildsystem v1.)
Hmm strange, I'll look into it.
>And secondly - is there a way to create a rule that calls a source
>to create a file soapClient.cpp on which my target dependends:
>exe cl : <template>executable cl.cpp soapClient.cpp <lib>soap ;
>I've tried silly things like
>rule gsoap ( header )
> gsoap-action $(header) ;
> #global n'importe q..
> local gsoap = V:\\gsoap-win32-2.2.3\\soapcpp2.exe ;
> $(gsoap) $(<)
>but nothing happens :-( which confuses me because all html pages I
>where quite "you can do this" - and creating a generator is one off I feel
Did you call the gsoap rule anywhere in your Jamfile?
And to preemt some questions...
rule gsoap ( target : header )
if ! $(gIN_LIB_INCLUDE)
gsoap-exe on $(target) = V:\\gsoap-win32-2.2.3\\soapcpp2.exe ;
gsoap-action $(target) : $(header) ;
#global n'importe q..
...I'm guessing that soapcpp2.exe always outputs to soadClient.cpp?
And after the exe cl... add:
gsoap soapClient.cpp : soapClient.h ;
...Here I'm guessing you have such a header and is what you meant above?
And there's probably some path/grist/target things to add to make the above
really work in all circumstances.
>(I do not understand it and there's no vc7 - yet - in v2. Great promise
I thought the msvc toolset in V2 supports vc7x.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
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