diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-04-18 12:56:18 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-04-22 18:52:23 +0200 |
commit | e08eeb9e5da87a729992c5a1d14bfd62f4ed2205 (patch) | |
tree | df731d11c8770628acba94ec4593413d1ee95b5b /qt/common/template/Makefile.am | |
parent | da9dd6be1b0203c496af4aff16df60fedc64463a (diff) |
Add tests for qt/smart-ptr
Diffstat (limited to 'qt/common/template/Makefile.am')
-rw-r--r-- | qt/common/template/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/qt/common/template/Makefile.am b/qt/common/template/Makefile.am new file mode 100644 index 0000000..e3cca0a --- /dev/null +++ b/qt/common/template/Makefile.am @@ -0,0 +1,29 @@ +# file : qt/common/template/Makefile.am +# author : Constantin Michael <constantin@codesynthesis.com> +# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +EXTRA_DIST = __file__(extra_dist) + +noinst_PROGRAMS = driver +driver_SOURCES = driver.cxx __path__(extra_sources) __path__(extra_headers) +LDADD = $(top_builddir)/libcommon/common/libcommon.la +AM_CPPFLAGS = -I'$(top_builddir)/libcommon' -I'$(top_srcdir)/libcommon' +AM_CPPFLAGS += -I'$(builddir)' -I'$(srcdir)' + +TESTS=$(top_builddir)/tester +TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir; + +# ODB compilation. +# +driver_SOURCES += test.hxx +nodist_driver_SOURCES = test-odb.cxx +BUILT_SOURCES = test-odb.hxx +CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx + +ODB = @ODB@ +ODBFLAGS = @ODBFLAGS@ +ODBCPPFLAGS = @ODBCPPFLAGS@ + +test-odb.hxx: test.hxx + $(ODB) $(AM_CPPFLAGS) $(ODBCPPFLAGS) $(CPPFLAGS) $(ODBFLAGS) __value__(odb_options) $< |