Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Jamroot: make release the default build
Browse files Browse the repository at this point in the history
* `b2` will now build the release variant, unless you specify `b2 debug` in the command line.
* `b2 test` will still build the debug variant by default and there is no way to run it in release mode (enforced)

fixes #128
  • Loading branch information
Mauricio Carneiro committed Jul 26, 2014
1 parent d8f0745 commit 00c8542
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Jamroot
Expand Up @@ -3,13 +3,15 @@ project gamgee
<cxxflags>-std=c++1y
<linkflags>-std=c++1y
<warnings-as-errors>on
: default-build
<variant>release
;

use-project /gamgee/libs : lib ;

lib gamgee
: [ glob-tree *.cpp : .git test lib bin dox build ] /gamgee/libs//hts
: <link>static
:
:
: <include>.
;
2 changes: 1 addition & 1 deletion test/Jamfile
Expand Up @@ -4,5 +4,5 @@ lib boost_unit_test_framework ;
run [ glob *.cpp ] /gamgee//gamgee /gamgee/libs//hts boost_unit_test_framework
:
:
: <define>BOOST_ALL_DYN_LINK <threading>multi <include>../gamgee
: <define>BOOST_ALL_DYN_LINK <threading>multi <include>../gamgee <variant>debug
: run ;

0 comments on commit 00c8542

Please sign in to comment.