Skip to content

Commit

Permalink
b2 features for benchmarking are in separate module
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
grisumbras committed Mar 18, 2024
1 parent 37e3fd0 commit 2b9ad2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions bench/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ import common ;
import os ;
import path ;
import property ;
import bench.jam ;

import feature ;

path-constant HERE : . ;

feature.feature bench.option : : free optional ;
feature.feature bench.launcher : : free optional ;
feature.feature bench.file : : free optional ;

.BENCH_FILES = [ os.environ BENCH_FILES ] ;

local has_nlohmann_json = [
Expand Down
5 changes: 5 additions & 0 deletions bench/bench.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import feature ;

feature.feature bench.option : : free optional ;
feature.feature bench.launcher : : free optional ;
feature.feature bench.file : : free optional ;

0 comments on commit 2b9ad2a

Please sign in to comment.