aboutsummaryrefslogtreecommitdiff
path: root/old-tests/cli/simple
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests/cli/simple')
-rw-r--r--old-tests/cli/simple/build/bootstrap.build3
-rw-r--r--old-tests/cli/simple/build/root.build1
-rw-r--r--old-tests/cli/simple/buildfile15
-rw-r--r--old-tests/cli/simple/driver.cpp6
-rw-r--r--old-tests/cli/simple/test.cli5
5 files changed, 30 insertions, 0 deletions
diff --git a/old-tests/cli/simple/build/bootstrap.build b/old-tests/cli/simple/build/bootstrap.build
new file mode 100644
index 0000000..2c116c9
--- /dev/null
+++ b/old-tests/cli/simple/build/bootstrap.build
@@ -0,0 +1,3 @@
+project = cli-simple
+amalgamation = # Disabled.
+using config
diff --git a/old-tests/cli/simple/build/root.build b/old-tests/cli/simple/build/root.build
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/old-tests/cli/simple/build/root.build
@@ -0,0 +1 @@
+
diff --git a/old-tests/cli/simple/buildfile b/old-tests/cli/simple/buildfile
new file mode 100644
index 0000000..47e06d9
--- /dev/null
+++ b/old-tests/cli/simple/buildfile
@@ -0,0 +1,15 @@
+using cxx
+
+hxx{*}: extension =
+cxx{*}: extension = cpp
+ixx{*}: extension = ipp
+
+cxx.poptions += -I$out_root
+
+using cli
+
+exe{driver}: cxx{driver} cxx{test}
+cxx{test} hxx{test}: cli{test}
+
+#exe{driver}: cxx{driver} cli.cxx{test}
+#cli.cxx{test}: cli{test}
diff --git a/old-tests/cli/simple/driver.cpp b/old-tests/cli/simple/driver.cpp
new file mode 100644
index 0000000..ef9cc60
--- /dev/null
+++ b/old-tests/cli/simple/driver.cpp
@@ -0,0 +1,6 @@
+#include "test"
+
+int
+main ()
+{
+}
diff --git a/old-tests/cli/simple/test.cli b/old-tests/cli/simple/test.cli
new file mode 100644
index 0000000..db3cfb8
--- /dev/null
+++ b/old-tests/cli/simple/test.cli
@@ -0,0 +1,5 @@
+class options
+{
+ bool --help;
+ bool --version;
+};