aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-20 10:38:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-20 10:38:02 +0200
commitc1981e367aafc22389ac0ab506b00e9657c8071c (patch)
tree528b0d00283411de2daf6d0e2163f72f2e741ee9 /tests
parent243da3993c138d33063f633aa3996a8a710ea396 (diff)
Implement support for importing installed libraries
Diffstat (limited to 'tests')
-rw-r--r--tests/import/installed/build/bootstrap.build3
-rw-r--r--tests/import/installed/buildfile8
-rw-r--r--tests/import/installed/driver.cxx4
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/import/installed/build/bootstrap.build b/tests/import/installed/build/bootstrap.build
new file mode 100644
index 0000000..97fd11f
--- /dev/null
+++ b/tests/import/installed/build/bootstrap.build
@@ -0,0 +1,3 @@
+project = import-installed
+amalgamation = # Disabled.
+using config
diff --git a/tests/import/installed/buildfile b/tests/import/installed/buildfile
new file mode 100644
index 0000000..40c77ce
--- /dev/null
+++ b/tests/import/installed/buildfile
@@ -0,0 +1,8 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+import libs += lib{z}
+
+exe{driver}: cxx{driver} $libs
diff --git a/tests/import/installed/driver.cxx b/tests/import/installed/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/import/installed/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}