Boost logo

Boost-Build :

From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-12-13 14:20:57


Reece Dunn wrote:
> [*5] Alexey Pakhunov has an msplatformsdk.jam toolset to detect and add
> support for PlatformSDK installations. It is my intention that my
> additions are to be ultimately merged into this toolset. It would make
> sense to incorporate his toolset in before these changes.

I guess 'msplatformsdk.jam' that you posted is a good start for
implementing PSDK support. We will be able to add other PSDK-related
functonality step-by-step.

> +feature clr : default managed cppcli : propagated ;
> +feature pure-clr : no yes : propagated ;

[skipped]

> + flags msvc.compile CFLAGS <code-analysis>yes : /analyse ;
> + flags msvc.compile CFLAGS <addressable-sections>32 : /bigobj ;

Basically, I have only one concern about these features. They all are
MSVC-specific and they have tendency to change significantly from
version to version. It seems that the main gain we get using them is
improved readability and more meaningful names. Maybe it would a good
idea to move the most specific of them to some kind of an optional
package? So that a user will be able to choose whether to use them or
use plain <cxxflags>.

> actions link bind DEF_FILE
> {
> - $(.LD) /NOLOGO $(LINKFLAGS) /out:"$(<[1]:W)" /INCREMENTAL:NO /LIBPATH:"$(LINKPATH:W)" $(USER_LINKFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)$(LIBRARIES_MENTIONED_BY_FILE) $(nl)$(LIBRARIES) $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_ST:S=.lib)" $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_SA:S=.lib)")"
> + $(.LD) /NOLOGO $(LINKFLAGS) /out:"$(<[1]:W)" /INCREMENTAL:NO /LIBPATH:"$(LINKPATH:W)" $(USER_LINKFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)$(LIBRARIES_MENTIONED_BY_FILE) $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_ST:S=.lib)" $(nl)"$(LIBRARY_OPTION)$(FINDLIBS_SA:S=.lib)")"
> $(MANIFEST)$(<[1]).manifest $(OUTPUTRESOURCE)$(<[1]);1
> }

I missed this part. Don't we need LIBRARIES any more?

> # Character Set

[skipped]

I don't have comment for this file. Looks good. :)

Best regards/Venlig hilsen,
   Alexey Pakhunov.


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