Skip to content

Commit 2b9ad2a

Browse files
committed
b2 features for benchmarking are in separate module
This is so that the module could be easily imported in e.g. project-config.jam and then used for default build, custom build variants, etc.
1 parent 37e3fd0 commit 2b9ad2a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

bench/Jamfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ import common ;
1111
import os ;
1212
import path ;
1313
import property ;
14+
import bench.jam ;
1415

1516
import feature ;
1617

1718
path-constant HERE : . ;
1819

19-
feature.feature bench.option : : free optional ;
20-
feature.feature bench.launcher : : free optional ;
21-
feature.feature bench.file : : free optional ;
22-
2320
.BENCH_FILES = [ os.environ BENCH_FILES ] ;
2421

2522
local has_nlohmann_json = [

bench/bench.jam

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import feature ;
2+
3+
feature.feature bench.option : : free optional ;
4+
feature.feature bench.launcher : : free optional ;
5+
feature.feature bench.file : : free optional ;

0 commit comments

Comments
 (0)