Yeah you can't build all variations of the libraries with the system layout with one command, but you can streamline it a bit by setting the --stagedir option in bjam. I usually use a script to execute commands like this:
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release/shared stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug/shared stage
I make that a habit even when building with versioned library names to reduce clutter.
Also FYI --layout=system is only the default on Unix, --layout=versioned is the default on Windows.
Show differencesHistory of post edits
#3krippy2k8
Posted 19 July 2012 - 08:51 PM
Yeah you can't build all variations of the libraries with the system layout with one command, but you can streamline it a bit by setting the --stagedir option in bjam. I usually use a script to execute commands like this:
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release/shared stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug/shared stage
Also FYI --layout=system is only the default on Unix, --layout=versioned is the default on Windows.
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release/shared stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug/shared stage
Also FYI --layout=system is only the default on Unix, --layout=versioned is the default on Windows.
#2krippy2k8
Posted 19 July 2012 - 08:50 PM
Yeah you can't build all variations of the libraries with the system layout with one command, but you can streamline it a bit by setting the --stagedir option in bjam. I usually use a script to execute commands like this:
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug stage
Also FYI --layout=system is only the default on Unix, --layout=versioned is the default on Windows.
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug stage
Also FYI --layout=system is only the default on Unix, --layout=versioned is the default on Windows.
#1krippy2k8
Posted 19 July 2012 - 08:45 PM
Yeah you can't build all variations of the libraries with the system layout with one command, but you can streamline it a bit by setting the --stagedir option in bjam. I usually use a script to execute commands like this:
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug stage
bjam --toolset=gcc --layout=system link=shared variant=release --stagedir=/path/to/release stage
bjam --toolset=gcc --layout=system link=shared variant=debug --stagedir=/path/to/debug stage