Boost logo

Boost-Build :

From: brock_peabody (bpyama_at_[hidden])
Date: 2003-10-29 14:28:43


Hi,

With MSVC, <user-interface> specifies what value is passed to the
linker for the /subsystem flag. I'm pretty sure that this only
affects executables. An executable that is built for the console
and an executable built as a gui can be linked with the same binary
library files (static and shared). As soon as I specify an exe as
being gui, however, bjam wants to rebuild a seperate copy of
everything that this exe depends on for "user-interface-gui" even
though it's not necessary.

What would be the correct way to make it so that <user-interface>
only affects executables?

My work around for the time being is to change msvc.jam so that even
console apps specify "/subsystem:windows", since I don't really need
to build any console apps (though I like to for testing).

Thanks!

 


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