Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualkrippy2k8

Posted 19 July 2012 - 08:53 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

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.

#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.

#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.

#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

PARTNERS