# file : tests/cc/libu/testscript # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file crosstest = false test.arguments = config.cxx="$recall($cxx.path)" .include ../../common.test +cat <=build/root.build cxx.std = latest using cxx hxx{*}: extension = hxx cxx{*}: extension = cxx EOI # Common source files that are symlinked in the test directories if used. # +cat <=foo.hxx #ifndef LIBFOO_EXPORT # define LIBFOO_EXPORT #endif LIBFOO_EXPORT void f (); EOI +cat <=foo.cxx void f () {} EOI +cat <=driver.cxx #include int main () {f ();} EOI : members : : Test building individual libuX{} members. : ln -s ../foo.hxx ../foo.cxx ../driver.cxx ./; $* update clean <