|
Boost-Build : |
From: Artem Alimarine (artem_at_[hidden])
Date: 2006-08-29 04:07:03
Vladimir Prus wrote:
> You can run "bjam -n" and then copy-paste the command line and add the needed
> option.
This indeed sound like a good alternative for a quick experiment with
the switches.
However, I'll need to do that from time to time, so I wanted to make a
target in the jamfile for it.
>
>
>>It would be nice to have a portable flag <asm-output>on or a special
>>target type
>> asm foo.asm : foo.cpp ;
>
>
> This is probably beyond the portable nature of Boost.Build, if you need
> assembler output you are likely to know the right switches already ;-)
I relealize that what I asked is not on the top10 of the new requested
features ;-)
However, I do not agree that having a support for assembeler output
contradicts with the portability of Boost.Build. Yes, assembler output
is platform-specific, but so is object file or executable. All compilers
I know can produce assembler. Actually, the difference in the formats
and toolsets is one of the things that makes Boost.Build a very good
tool, because it helps to abstract from the differences. In the light
of this an assembler file is just another target that the user might
want to build.
Thanks for help,
Artem
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