aboutsummaryrefslogtreecommitdiff
path: root/tests/cli/simple
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-07 13:00:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-07 13:49:16 +0200
commit402bb6e6b297614226c4f848ebdb13fd49a95d76 (patch)
tree0a8a59e2bf1b7c0d6d7efb1dcf7e9bee1bea76cc /tests/cli/simple
parent49d5628e35593a5300d39596286c768d7aa435b6 (diff)
Relax requirement on amalgamation src_root to track sub-project
Diffstat (limited to 'tests/cli/simple')
-rw-r--r--tests/cli/simple/build/root.build2
-rw-r--r--tests/cli/simple/buildfile6
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/cli/simple/build/root.build b/tests/cli/simple/build/root.build
index 8e910cf..8b13789 100644
--- a/tests/cli/simple/build/root.build
+++ b/tests/cli/simple/build/root.build
@@ -1,3 +1 @@
-using cxx
-using cli
diff --git a/tests/cli/simple/buildfile b/tests/cli/simple/buildfile
index 80882c6..998eb67 100644
--- a/tests/cli/simple/buildfile
+++ b/tests/cli/simple/buildfile
@@ -1,8 +1,12 @@
+using cxx
+
hxx.ext =
cxx.ext = cpp
ixx.ext = ipp
-cxx.poptions = -I$out_root
+cxx.poptions += -I$out_root
+
+using cli
exe{driver}: cxx{driver} cxx{test}
cxx{test} hxx{test}: cli{test}