diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cli/build/bootstrap.build | 2 | ||||
-rw-r--r-- | tests/cli/build/root.build | 3 | ||||
-rw-r--r-- | tests/cli/buildfile | 6 | ||||
-rw-r--r-- | tests/cli/driver.cpp | 4 | ||||
-rw-r--r-- | tests/cli/test.cli | 5 |
5 files changed, 20 insertions, 0 deletions
diff --git a/tests/cli/build/bootstrap.build b/tests/cli/build/bootstrap.build new file mode 100644 index 0000000..9e91c9a --- /dev/null +++ b/tests/cli/build/bootstrap.build @@ -0,0 +1,2 @@ +project = cli-test +using config diff --git a/tests/cli/build/root.build b/tests/cli/build/root.build new file mode 100644 index 0000000..8e910cf --- /dev/null +++ b/tests/cli/build/root.build @@ -0,0 +1,3 @@ +using cxx +using cli + diff --git a/tests/cli/buildfile b/tests/cli/buildfile new file mode 100644 index 0000000..705f302 --- /dev/null +++ b/tests/cli/buildfile @@ -0,0 +1,6 @@ +hxx.ext = hpp +cxx.ext = cpp +ixx.ext = ipp + +exe{test}: cxx{driver test} +cxx{test}: cli{test} diff --git a/tests/cli/driver.cpp b/tests/cli/driver.cpp new file mode 100644 index 0000000..70b4146 --- /dev/null +++ b/tests/cli/driver.cpp @@ -0,0 +1,4 @@ +int +main () +{ +} diff --git a/tests/cli/test.cli b/tests/cli/test.cli new file mode 100644 index 0000000..db3cfb8 --- /dev/null +++ b/tests/cli/test.cli @@ -0,0 +1,5 @@ +class options +{ + bool --help; + bool --version; +}; |