diff options
author | 2016-01-29 11:47:40 +0100 | |
---|---|---|
committer | 2016-01-29 11:47:40 +0100 | |
commit | 042050ef67a0d320469a6f8ca74bd8684ec4c409 (patch) | |
tree | 842576848565813c5f33e21fc06ad058f43a8963 /scripts/genie.lua | |
parent | 1319453a84718ec50aafdb030eca3bac201995e3 (diff) |
Added Google Benchmark library (nw)
Included sample benchmark for eminline for native and noasm
Made GoogleTest compile only if tests are compiled
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 2fcfb323653..0e8ce5e63aa 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -83,6 +83,11 @@ newoption { } newoption { + trigger = "with-benchmarks", + description = "Enable building benchmarks.", +} + +newoption { trigger = "osd", description = "Choose OSD layer implementation", } @@ -1296,3 +1301,8 @@ if _OPTIONS["with-tests"] then group "tests" dofile(path.join("src", "tests.lua")) end + +if _OPTIONS["with-benchmarks"] then + group "benchmarks" + dofile(path.join("src", "benchmarks.lua")) +end |