From e815af118562c68794efbd310c887acd8eae800c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Jun 2015 13:53:28 +0200 Subject: First take on the cli module plus necessary infrastructure --- tests/cli/build/bootstrap.build | 2 ++ tests/cli/build/root.build | 3 +++ tests/cli/buildfile | 6 ++++++ tests/cli/driver.cpp | 4 ++++ tests/cli/test.cli | 5 +++++ 5 files changed, 20 insertions(+) create mode 100644 tests/cli/build/bootstrap.build create mode 100644 tests/cli/build/root.build create mode 100644 tests/cli/buildfile create mode 100644 tests/cli/driver.cpp create mode 100644 tests/cli/test.cli (limited to 'tests') 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; +}; -- cgit v1.1