From 62996fbf441dc92d686e97f336b20a5fea972962 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 22 Mar 2011 17:39:20 +0200 Subject: Add dist build files --- odb/qt.options | 6 + odb/qt/Makefile.am | 16 ++ odb/qt/config.h.in | 62 ++++++ odb/qt/libodb-qt-vc10.vcxproj | 174 ++++++++++++++++ odb/qt/libodb-qt-vc10.vcxproj.filters | 19 ++ odb/qt/libodb-qt-vc9.vcproj | 359 ++++++++++++++++++++++++++++++++++ odb/qt/version.hxx | 44 +++++ odb/qt/version.options | 13 ++ 8 files changed, 693 insertions(+) create mode 100644 odb/qt.options create mode 100644 odb/qt/Makefile.am create mode 100644 odb/qt/config.h.in create mode 100644 odb/qt/libodb-qt-vc10.vcxproj create mode 100644 odb/qt/libodb-qt-vc10.vcxproj.filters create mode 100644 odb/qt/libodb-qt-vc9.vcproj create mode 100644 odb/qt/version.hxx create mode 100644 odb/qt/version.options (limited to 'odb') diff --git a/odb/qt.options b/odb/qt.options new file mode 100644 index 0000000..2c52ff6 --- /dev/null +++ b/odb/qt.options @@ -0,0 +1,6 @@ +# file : odb/qt.options +# author : Constantin Michael +# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +--profile qt/version diff --git a/odb/qt/Makefile.am b/odb/qt/Makefile.am new file mode 100644 index 0000000..d9fb5b4 --- /dev/null +++ b/odb/qt/Makefile.am @@ -0,0 +1,16 @@ +# file : odb/qt/Makefile.am +# author : Constantin Michael +# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +lib_LTLIBRARIES = libodb-qt.la +libodb_boost_la_SOURCES = __path__(sources) + +odbqtincludedir = $(includedir)/odb/qt/ +nobase_odbboostinclude_HEADERS = __path__(headers) __path__(options) +nobase_nodist_odbboostinclude_HEADERS = details/config.h + +EXTRA_DIST = __file__(extra_dist) + +AM_CPPFLAGS= -I'$(top_builddir)' -I'$(top_srcdir)' +AM_LDFLAGS = -release __value__(interface_version) -no-undefined diff --git a/odb/qt/config.h.in b/odb/qt/config.h.in new file mode 100644 index 0000000..4a1a204 --- /dev/null +++ b/odb/qt/config.h.in @@ -0,0 +1,62 @@ +/* odb/qt/config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION diff --git a/odb/qt/libodb-qt-vc10.vcxproj b/odb/qt/libodb-qt-vc10.vcxproj new file mode 100644 index 0000000..d01556f --- /dev/null +++ b/odb/qt/libodb-qt-vc10.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {4392B1DA-5467-11E0-93E8-00E0812AE2E8} + Win32Proj + libodb-qt + + + + DynamicLibrary + true + Unicode + + + DynamicLibrary + true + Unicode + + + DynamicLibrary + false + true + Unicode + + + DynamicLibrary + false + true + Unicode + + + + + + + + + + + + + + + + + + + true + ..\..\bin\ + odb-qt-d-__value__(interface_version)-vc10 + + + true + ..\..\bin64\ + odb-qt-d-__value__(interface_version)-vc10 + + + false + ..\..\bin\ + odb-qt-__value__(interface_version)-vc10 + + + false + ..\..\bin64\ + odb-qt-__value__(interface_version)-vc10 + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb-d.lib;qt-core-d.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib\odb-qt-d.lib + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb-d.lib;qt-core-d.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib64\odb-qt-d.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb.lib;qt-core.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib\odb-qt.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb.lib;qt-core.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib64\odb-qt.lib + + + +__header_entries__(headers) + + +__source_entries__(sources) + + + + + diff --git a/odb/qt/libodb-qt-vc10.vcxproj.filters b/odb/qt/libodb-qt-vc10.vcxproj.filters new file mode 100644 index 0000000..ac01f4e --- /dev/null +++ b/odb/qt/libodb-qt-vc10.vcxproj.filters @@ -0,0 +1,19 @@ + + + + + {15DBF883-C83E-460B-8F93-44361F5783E3} + cxx + + + {C2A3CC20-2248-4590-ABAC-DE29A478D2BD} + h;hxx;ixx;txx + + + +__header_filter_entries__(headers) + + +__source_filter_entries__(sources) + + diff --git a/odb/qt/libodb-qt-vc9.vcproj b/odb/qt/libodb-qt-vc9.vcproj new file mode 100644 index 0000000..a0cfd7a --- /dev/null +++ b/odb/qt/libodb-qt-vc9.vcproj @@ -0,0 +1,359 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entries__(sources) + + +__file_entries__(headers) + + + + + diff --git a/odb/qt/version.hxx b/odb/qt/version.hxx new file mode 100644 index 0000000..88ca1a1 --- /dev/null +++ b/odb/qt/version.hxx @@ -0,0 +1,44 @@ +// file : odb/qt/version.hxx +// author : Constantin Michael +// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_QT_VERSION_HXX +#define ODB_QT_VERSION_HXX + +#include + +#include + +// Version format is AABBCCDD where +// +// AA - major version number +// BB - minor version number +// CC - bugfix version number +// DD - alpha / beta (DD + 50) version number +// +// When DD is not 00, 1 is subtracted from AABBCC. For example: +// +// Version AABBCCDD +// 2.0.0 02000000 +// 2.1.0 02010000 +// 2.1.1 02010100 +// 2.2.0.a1 02019901 +// 3.0.0.b2 02999952 +// + +// Check that we have compatible ODB version. +// +#if ODB_VERSION != 10200 +# error incompatible odb interface version detected +#endif + +// libodb-qt version: odb interface version plus the bugfix +// version. +// +#define LIBODB_QT_VERSION 1020000 +#define LIBODB_QT_VERSION_STR "1.2.0" + +#include + +#endif // ODB_QT_VERSION_HXX diff --git a/odb/qt/version.options b/odb/qt/version.options new file mode 100644 index 0000000..cdecaf3 --- /dev/null +++ b/odb/qt/version.options @@ -0,0 +1,13 @@ +# file : odb/qt/version.options +# author : Constantin Michael +# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +# Make sure the options files as seen by the ODB compiler and header +# files as seen by the C++ compiler are from the same profile version. +# +--hxx-prologue '#include ' + +--hxx-prologue '#if LIBODB_QT_VERSION != 1020000 // 1.2.0' +--hxx-prologue '# error ODB and C++ compilers see different libodb-qt versions' +--hxx-prologue '#endif' -- cgit v1.1