From bbd0f3bb21442a2833916110cbe8e9a07e9f4c1f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 31 Jul 2015 12:52:20 +0200 Subject: Essential install module functionality --- tests/install/simple/buildfile | 3 ++- tests/install/simple/driver.cxx | 3 ++- tests/install/simple/utility.hxx | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tests/install/simple/utility.hxx (limited to 'tests/install/simple') diff --git a/tests/install/simple/buildfile b/tests/install/simple/buildfile index 986f391..cc11491 100644 --- a/tests/install/simple/buildfile +++ b/tests/install/simple/buildfile @@ -3,4 +3,5 @@ using cxx hxx.ext = hxx cxx.ext = cxx -exe{driver}: cxx{driver} +exe{driver}: cxx{driver} hxx{utility} +exe{driver}: install = sbin diff --git a/tests/install/simple/driver.cxx b/tests/install/simple/driver.cxx index a444f13..1b28c94 100644 --- a/tests/install/simple/driver.cxx +++ b/tests/install/simple/driver.cxx @@ -1,2 +1,3 @@ -int main () {} +#include "utility.hxx" +int main () {return result;} diff --git a/tests/install/simple/utility.hxx b/tests/install/simple/utility.hxx new file mode 100644 index 0000000..1b8e18e --- /dev/null +++ b/tests/install/simple/utility.hxx @@ -0,0 +1,2 @@ +const int result = 0; + -- cgit v1.1