diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 11:23:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 14:03:55 +0200 |
commit | e45345eeee4db91644a58842267393ff2df19fe2 (patch) | |
tree | 2579753e5e63da815cfceeb3c9b559935b7cdd36 /build2/buildfile | |
parent | 705e806eb94b743ba962080c4b397d9b32af4a50 (diff) |
Fix unit test code generation
Diffstat (limited to 'build2/buildfile')
-rw-r--r-- | build2/buildfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build2/buildfile b/build2/buildfile index a809a8b..a946bc7 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -93,7 +93,13 @@ test/script/{hxx ixx cxx}{ regex } \ test/script/{hxx cxx}{ runner } \ test/script/{hxx ixx cxx}{ script } \ test/script/{hxx cxx}{ token } \ - $libs + liba{b} $libs + +# Fake utility library (without it code generation does not work). +# +liba{b}: {cxx}{ dummy } +liba{b}: cxx.export.poptions = "-I$out_root" "-I$src_root" +liba{b}: install = false # Pass our compiler target to be used as build2 host. # |