aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/common')
-rw-r--r--libcommon/common/Makefile.am11
-rw-r--r--libcommon/common/buffer.hxx104
-rw-r--r--libcommon/common/common.cxx360
-rw-r--r--libcommon/common/common.hxx53
-rw-r--r--libcommon/common/common.txx24
-rw-r--r--libcommon/common/concrete.hxx57
-rw-r--r--libcommon/common/config-vc.h25
-rw-r--r--libcommon/common/config.h.in19
-rw-r--r--libcommon/common/config.hxx20
-rw-r--r--libcommon/common/export.hxx35
-rw-r--r--libcommon/common/libcommon-vc10.vcxproj174
-rw-r--r--libcommon/common/libcommon-vc10.vcxproj.filters19
-rw-r--r--libcommon/common/libcommon-vc11.vcxproj178
-rw-r--r--libcommon/common/libcommon-vc11.vcxproj.filters19
-rw-r--r--libcommon/common/libcommon-vc12.vcxproj182
-rw-r--r--libcommon/common/libcommon-vc12.vcxproj.filters19
-rw-r--r--libcommon/common/libcommon-vc8.vcproj352
-rw-r--r--libcommon/common/libcommon-vc9.vcproj359
-rw-r--r--libcommon/common/makefile166
19 files changed, 0 insertions, 2176 deletions
diff --git a/libcommon/common/Makefile.am b/libcommon/common/Makefile.am
deleted file mode 100644
index 3ff50d5..0000000
--- a/libcommon/common/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-# file : libcommon/common/Makefile.am
-# license : GNU GPL v2; see accompanying LICENSE file
-
-noinst_LTLIBRARIES = libcommon.la
-libcommon_la_SOURCES = __path__(sources) __path__(headers)
-
-EXTRA_DIST = __file__(extra_dist)
-
-AM_CPPFLAGS = -I'$(top_builddir)/libcommon' -I'$(top_srcdir)/libcommon'
-AM_CPPFLAGS += -DLIBCOMMON_DYNAMIC_LIB
-AM_LDFLAGS = -no-undefined -rpath '$(libdir)'
diff --git a/libcommon/common/buffer.hxx b/libcommon/common/buffer.hxx
deleted file mode 100644
index 3d82915..0000000
--- a/libcommon/common/buffer.hxx
+++ /dev/null
@@ -1,104 +0,0 @@
-// file : libcommon/common/buffer.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef LIBCOMMON_COMMON_BUFFER_HXX
-#define LIBCOMMON_COMMON_BUFFER_HXX
-
-#include <new>
-#include <cstddef> // std::size_t
-#include <cstring> // std::{memcmp,memcpy}
-
-struct basic_buffer_base
-{
- ~basic_buffer_base ()
- {
- operator delete (data_);
- }
-
- basic_buffer_base ()
- : data_ (0), size_ (0)
- {
- }
-
- basic_buffer_base (const void* data, std::size_t size)
- : data_ (0), size_ (size)
- {
- data_ = operator new (size_);
- std::memcpy (data_, data, size_);
- }
-
- basic_buffer_base (const basic_buffer_base& y)
- : data_ (0), size_ (0)
- {
- assign (y.data_, y.size_);
- }
-
- basic_buffer_base&
- operator= (const basic_buffer_base& y)
- {
- if (this != &y)
- assign (y.data_, y.size_);
-
- return *this;
- }
-
- void
- assign (const void* data, std::size_t size)
- {
- if (size_ < size)
- {
- void *p (operator new (size));
- operator delete (data_);
- data_ = p;
- }
-
- std::memcpy (data_, data, size);
- size_ = size;
- }
-
- std::size_t
- size () const
- {
- return size_;
- }
-
- bool
- operator== (const basic_buffer_base& y) const
- {
- return size_ == y.size_ && std::memcmp (data_, y.data_, size_) == 0;
- }
-
-protected:
- void* data_;
- std::size_t size_;
-};
-
-template <typename T>
-struct basic_buffer: basic_buffer_base
-{
- basic_buffer ()
- {
- }
-
- basic_buffer (const T* data, std::size_t size)
- : basic_buffer_base (data, size)
- {
- }
-
- T*
- data ()
- {
- return static_cast<T*> (data_);
- }
-
- const T*
- data () const
- {
- return static_cast<const T*> (data_);
- }
-};
-
-typedef basic_buffer<char> buffer;
-typedef basic_buffer<unsigned char> ubuffer;
-
-#endif // LIBCOMMON_COMMON_BUFFER_HXX
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx
deleted file mode 100644
index 4b8afe1..0000000
--- a/libcommon/common/common.cxx
+++ /dev/null
@@ -1,360 +0,0 @@
-// file : libcommon/common/common.cxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#include <cstdlib> // std::exit
-#include <utility> // std::move
-#include <iostream>
-
-#include <odb/database.hxx>
-
-#include <common/config.hxx>
-#include <common/common.hxx>
-
-using namespace std;
-using namespace odb::core;
-
-
-// MySQL.
-//
-#if defined(DATABASE_MYSQL) || defined(DATABASE_COMMON)
-
-#include <odb/mysql/database.hxx>
-#include <odb/mysql/connection-factory.hxx>
-
-static auto_ptr<database>
-create_mysql_database (int& argc, char* argv[], bool, size_t max_connections)
-{
- namespace mysql = odb::mysql;
-
-#ifdef HAVE_CXX11
- unique_ptr<mysql::connection_factory> f;
-#else
- auto_ptr<mysql::connection_factory> f;
-#endif
-
- if (max_connections != 0)
- f.reset (new mysql::connection_pool_factory (max_connections));
-
- return auto_ptr<database> (
- new mysql::database (argc, argv, false, "", 0,
-#ifdef HAVE_CXX11
- move (f)
-#else
- f
-#endif
- ));
-}
-#endif // MySQL
-
-
-// SQLite.
-//
-#if defined(DATABASE_SQLITE) || defined(DATABASE_COMMON)
-
-#include <odb/connection.hxx>
-#include <odb/transaction.hxx>
-#include <odb/schema-catalog.hxx>
-#include <odb/sqlite/database.hxx>
-#include <odb/sqlite/connection-factory.hxx>
-
-static auto_ptr<database>
-create_sqlite_database (int& argc,
- char* argv[],
- bool schema,
- size_t max_connections)
-{
- namespace sqlite = odb::sqlite;
-
-#ifdef HAVE_CXX11
- unique_ptr<sqlite::connection_factory> f;
-#else
- auto_ptr<sqlite::connection_factory> f;
-#endif
-
- if (max_connections != 0)
- f.reset (new sqlite::connection_pool_factory (max_connections));
-
- auto_ptr<database> db (
- new sqlite::database (
- argc, argv, false,
- SQLITE_OPEN_READWRITE
- | SQLITE_OPEN_CREATE
-#ifdef SQLITE_OPEN_URI
- | SQLITE_OPEN_URI
-#endif
- ,
- true,
- "",
-#ifdef HAVE_CXX11
- move (f)
-#else
- f
-#endif
- ));
-
- // Create the database schema. Due to bugs in SQLite foreign key
- // support for DDL statements, we need to temporarily disable
- // foreign keys.
- //
- if (schema)
- {
- connection_ptr c (db->connection ());
-
- c->execute ("PRAGMA foreign_keys=OFF");
-
- transaction t (c->begin ());
- schema_catalog::create_schema (*db);
- t.commit ();
-
- c->execute ("PRAGMA foreign_keys=ON");
- }
-
- return db;
-}
-#endif // SQLite
-
-
-// PostgreSQL.
-//
-#if defined(DATABASE_PGSQL) || defined(DATABASE_COMMON)
-
-#include <odb/pgsql/database.hxx>
-#include <odb/pgsql/connection-factory.hxx>
-
-static auto_ptr<database>
-create_pgsql_database (int& argc, char* argv[], bool, size_t max_connections)
-{
- namespace pgsql = odb::pgsql;
-
-#ifdef HAVE_CXX11
- unique_ptr<pgsql::connection_factory> f;
-#else
- auto_ptr<pgsql::connection_factory> f;
-#endif
-
- if (max_connections != 0)
- f.reset (new pgsql::connection_pool_factory (max_connections));
-
- return auto_ptr<database> (
- new pgsql::database (argc, argv, false, "",
-#ifdef HAVE_CXX11
- move (f)
-#else
- f
-#endif
- ));
-}
-#endif // PostgreSQL
-
-
-// Oracle.
-//
-#if defined(DATABASE_ORACLE) || defined(DATABASE_COMMON)
-
-#include <odb/oracle/database.hxx>
-#include <odb/oracle/connection-factory.hxx>
-
-static auto_ptr<database>
-create_oracle_database (int& argc, char* argv[], bool, size_t max_connections)
-{
- namespace oracle = odb::oracle;
-
-#ifdef HAVE_CXX11
- unique_ptr<oracle::connection_factory> f;
-#else
- auto_ptr<oracle::connection_factory> f;
-#endif
-
- if (max_connections != 0)
- f.reset (new oracle::connection_pool_factory (max_connections));
-
- // Set client database character set and client national character set
- // to UTF-8.
- //
- return auto_ptr<database> (
- new oracle::database (argc, argv, false, 873, 873, 0,
-#ifdef HAVE_CXX11
- move (f)
-#else
- f
-#endif
- ));
-}
-#endif // Oracle
-
-// SQL Server.
-//
-#if defined(DATABASE_MSSQL) || defined(DATABASE_COMMON)
-
-#include <odb/mssql/database.hxx>
-#include <odb/mssql/connection-factory.hxx>
-
-static auto_ptr<database>
-create_mssql_database (int& argc, char* argv[], bool, size_t max_connections)
-{
- namespace mssql = odb::mssql;
-
-#ifdef HAVE_CXX11
- unique_ptr<mssql::connection_factory> f;
-#else
- auto_ptr<mssql::connection_factory> f;
-#endif
-
- if (max_connections != 0)
- f.reset (new mssql::connection_pool_factory (max_connections));
-
- return auto_ptr<database> (
- new mssql::database (argc, argv, false, "",
- mssql::isolation_read_committed, 0,
-
-#ifdef HAVE_CXX11
- move (f)
-#else
- f
-#endif
- ));
-}
-#endif // SQL Server
-
-//
-//
-auto_ptr<database>
-create_database (int argc,
- char* argv[],
- bool schema,
- size_t max_connections,
-#if defined(DATABASE_COMMON)
- odb::database_id db
-#else
- odb::database_id
-#endif
-)
-{
- char** argp = argv + 1; // Position of the next argument. Assignment for VC8.
- int argn (argc - 1); // Number of arguments left.
-
-#if defined(DATABASE_COMMON)
- // Figure out which database we are creating. We may be given the
- // database name as a program argument or as an id.
- //
- if (db == odb::id_common && argn != 0)
- {
- string s (*argp);
-
- if (s == "mysql")
- db = odb::id_mysql;
- else if (s == "sqlite")
- db = odb::id_sqlite;
- else if (s == "pgsql")
- db = odb::id_pgsql;
- else if (s == "oracle")
- db = odb::id_oracle;
- else if (s == "mssql")
- db = odb::id_mssql;
-
- if (db != odb::id_common)
- {
- argp++;
- argn--;
- }
- }
-
- if (db == odb::id_common)
- {
- cerr << "Usage: " << argv[0] << " <db> [options]" << endl;
- exit (1);
- }
-#endif
-
- if (argn != 0 && *argp == string ("--help"))
- {
-#if defined(DATABASE_COMMON)
- cout << "Usage: " << argv[0] << " <db> [options]" << endl;
-#else
- cout << "Usage: " << argv[0] << " [options]" << endl;
-#endif
-
- cout << "Options:" << endl;
-
-#if defined(DATABASE_MYSQL)
- odb::mysql::database::print_usage (cout);
-#elif defined(DATABASE_SQLITE)
- odb::sqlite::database::print_usage (cout);
-#elif defined(DATABASE_PGSQL)
- odb::pgsql::database::print_usage (cout);
-#elif defined(DATABASE_ORACLE)
- odb::oracle::database::print_usage (cout);
-#elif defined(DATABASE_MSSQL)
- odb::mssql::database::print_usage (cout);
-#elif defined(DATABASE_COMMON)
- switch (db)
- {
- case odb::id_mysql:
- odb::mysql::database::print_usage (cout);
- break;
- case odb::id_sqlite:
- odb::sqlite::database::print_usage (cout);
- break;
- case odb::id_pgsql:
- odb::pgsql::database::print_usage (cout);
- break;
- case odb::id_oracle:
- odb::oracle::database::print_usage (cout);
- break;
- case odb::id_mssql:
- odb::mssql::database::print_usage (cout);
- break;
- case odb::id_common:
- assert (false);
- }
-#else
-# error unknown database
-#endif
-
- exit (0);
- }
-
-#if defined(DATABASE_MYSQL)
- return create_mysql_database (argc, argv, schema, max_connections);
-#elif defined(DATABASE_SQLITE)
- return create_sqlite_database (argc, argv, schema, max_connections);
-#elif defined(DATABASE_PGSQL)
- return create_pgsql_database (argc, argv, schema, max_connections);
-#elif defined(DATABASE_ORACLE)
- return create_oracle_database (argc, argv, schema, max_connections);
-#elif defined(DATABASE_MSSQL)
- return create_mssql_database (argc, argv, schema, max_connections);
-#elif defined(DATABASE_COMMON)
- switch (db)
- {
- case odb::id_mysql:
- return create_mysql_database (argc, argv, schema, max_connections);
- case odb::id_sqlite:
- return create_sqlite_database (argc, argv, schema, max_connections);
- case odb::id_pgsql:
- return create_pgsql_database (argc, argv, schema, max_connections);
- case odb::id_oracle:
- return create_oracle_database (argc, argv, schema, max_connections);
- case odb::id_mssql:
- return create_mssql_database (argc, argv, schema, max_connections);
- case odb::id_common:
- assert (false);
- }
- return auto_ptr<database> ();
-#else
-# error unknown database
-#endif
-}
-
-bool
-size_available ()
-{
-#if defined(DATABASE_SQLITE) || \
- defined(DATABASE_ORACLE) || \
- defined(DATABASE_MSSQL) || \
- defined(DATABASE_COMMON)
- return false;
-#else
- return true;
-#endif
-}
diff --git a/libcommon/common/common.hxx b/libcommon/common/common.hxx
deleted file mode 100644
index 21672b1..0000000
--- a/libcommon/common/common.hxx
+++ /dev/null
@@ -1,53 +0,0 @@
-// file : libcommon/common/common.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef LIBCOMMON_COMMON_COMMON_HXX
-#define LIBCOMMON_COMMON_COMMON_HXX
-
-#include <memory> // std::auto_ptr
-#include <cstddef> // std::size_t
-
-#include <odb/forward.hxx> // odb::database
-#include <odb/result.hxx>
-
-#include <common/export.hxx>
-
-// Make sure assert() is not disabled.
-//
-#ifdef NDEBUG
-# error ODB tests require enabled assert(); un-define the NDEBUG macro
-#endif
-
-LIBCOMMON_EXPORT std::auto_ptr<odb::database>
-create_database (int argc,
- char* argv[],
- bool create_schema = true,
- std::size_t max_connections = 0,
- odb::database_id db = odb::id_common);
-
-template <typename T>
-std::auto_ptr<T>
-create_specific_database (int argc,
- char* argv[],
- bool create_schema = true,
- std::size_t max_connections = 0)
-{
- std::auto_ptr<odb::database> r (
- create_database (argc, argv,
- create_schema,
- max_connections,
- T::database_id));
-
- return std::auto_ptr<T> (&dynamic_cast<T&> (*r.release ()));
-}
-
-// This function returns an accurate result only if the result iterator
-// hasn't been advanced and after the call the result is no longer valid.
-//
-template <typename T>
-std::size_t
-size (odb::result<T>);
-
-#include <common/common.txx>
-
-#endif // LIBCOMMON_COMMON_COMMON_HXX
diff --git a/libcommon/common/common.txx b/libcommon/common/common.txx
deleted file mode 100644
index 9dd2a35..0000000
--- a/libcommon/common/common.txx
+++ /dev/null
@@ -1,24 +0,0 @@
-// file : libcommon/common/common.txx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-// We have to use this helper function instead of just checking which
-// database is used because the DATABASE_* macro may not be defined
-// in a project that includes this header.
-//
-LIBCOMMON_EXPORT bool
-size_available ();
-
-template <typename T>
-std::size_t
-size (odb::result<T> r)
-{
- if (size_available ())
- return r.size ();
- else
- {
- std::size_t n (0);
- for (typename odb::result<T>::iterator i (r.begin ()); i != r.end (); ++i)
- n++;
- return n;
- }
-}
diff --git a/libcommon/common/concrete.hxx b/libcommon/common/concrete.hxx
deleted file mode 100644
index 2014b24..0000000
--- a/libcommon/common/concrete.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-// file : libcommon/common/concrete.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef LIBCOMMON_COMMON_CONCRETE_HXX
-#define LIBCOMMON_COMMON_CONCRETE_HXX
-
-#include <common/config.hxx>
-
-// Namespace alias for the concrete database namespace.
-//
-#if defined(DATABASE_MYSQL)
-
-#include <odb/mysql/database.hxx>
-#include <odb/mysql/transaction.hxx>
-
-namespace odb_db = odb::mysql;
-
-#elif defined(DATABASE_SQLITE)
-
-#include <odb/sqlite/database.hxx>
-#include <odb/sqlite/transaction.hxx>
-
-namespace odb_db = odb::sqlite;
-
-#elif defined(DATABASE_PGSQL)
-
-#include <odb/pgsql/database.hxx>
-#include <odb/pgsql/transaction.hxx>
-
-namespace odb_db = odb::pgsql;
-
-#elif defined(DATABASE_ORACLE)
-
-#include <odb/oracle/database.hxx>
-#include <odb/oracle/transaction.hxx>
-
-namespace odb_db = odb::oracle;
-
-#elif defined(DATABASE_MSSQL)
-
-#include <odb/mssql/database.hxx>
-#include <odb/mssql/transaction.hxx>
-
-namespace odb_db = odb::mssql;
-
-#elif defined(DATABASE_COMMON)
-
-// Fallback to common interface.
-//
-#include <odb/database.hxx>
-#include <odb/transaction.hxx>
-
-namespace odb_db = odb;
-
-#endif
-
-#endif // LIBCOMMON_COMMON_CONCRETE_HXX
diff --git a/libcommon/common/config-vc.h b/libcommon/common/config-vc.h
deleted file mode 100644
index 16d89a0..0000000
--- a/libcommon/common/config-vc.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* file : libcommon/common/config-vc.h
- * license : GNU GPL v2; see accompanying LICENSE file
- */
-
-/* Configuration file for Windows/VC++. */
-
-#ifndef LIBCOMMON_COMMON_CONFIG_VC_H
-#define LIBCOMMON_COMMON_CONFIG_VC_H
-
-#define HAVE_TR1_MEMORY
-
-/* VC++10 and later has C++11 always enabled.
- */
-#if (defined(_MSC_VER) && _MSC_VER >= 1600) || \
- (defined(ODB_MSC_VER) && ODB_MSC_VER >= 1600)
-# define HAVE_CXX11
-// Strongly typed enums are supported starting from VC++11.
-//
-# if (defined(_MSC_VER) && _MSC_VER >= 1700) || \
- (defined(ODB_MSC_VER) && ODB_MSC_VER >= 1700)
-# define HAVE_CXX11_ENUM
-# endif
-#endif
-
-#endif /* LIBCOMMON_COMMON_CONFIG_VC_H */
diff --git a/libcommon/common/config.h.in b/libcommon/common/config.h.in
deleted file mode 100644
index 9d3e0fc..0000000
--- a/libcommon/common/config.h.in
+++ /dev/null
@@ -1,19 +0,0 @@
-/* file : libcommon/common/config.h.in
- * license : GNU GPL v2; see accompanying LICENSE file
- */
-
-/* This file is automatically processed by configure. */
-
-#ifndef LIBCOMMON_COMMON_CONFIG_H
-#define LIBCOMMON_COMMON_CONFIG_H
-
-#undef DATABASE_MYSQL
-#undef DATABASE_SQLITE
-#undef DATABASE_PGSQL
-#undef DATABASE_ORACLE
-#undef DATABASE_MSSQL
-#undef HAVE_TR1_MEMORY
-#undef HAVE_CXX11
-#undef LIBCOMMON_STATIC_LIB
-
-#endif /* LIBCOMMON_COMMON_CONFIG_H */
diff --git a/libcommon/common/config.hxx b/libcommon/common/config.hxx
deleted file mode 100644
index 5c6d938..0000000
--- a/libcommon/common/config.hxx
+++ /dev/null
@@ -1,20 +0,0 @@
-// file : libcommon/common/config.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef LIBCOMMON_COMMON_CONFIG_HXX
-#define LIBCOMMON_COMMON_CONFIG_HXX
-
-#ifdef HAVE_CONFIG_VC_H
-# include <common/config-vc.h>
-#else
-# include <common/config.h>
-
-// GCC supports strongly typed enums from 4.4 (forward -- 4.6),
-// Clang -- 2.9 (3.1).
-//
-# ifdef HAVE_CXX11
-# define HAVE_CXX11_ENUM
-# endif
-#endif
-
-#endif // LIBCOMMON_COMMON_CONFIG_HXX
diff --git a/libcommon/common/export.hxx b/libcommon/common/export.hxx
deleted file mode 100644
index 926d7a5..0000000
--- a/libcommon/common/export.hxx
+++ /dev/null
@@ -1,35 +0,0 @@
-// file : libcommon/common/export.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef LIBCOMMON_COMMON_EXPORT_HXX
-#define LIBCOMMON_COMMON_EXPORT_HXX
-
-#include <common/config.hxx>
-
-#ifdef LIBCOMMON_STATIC_LIB
-# define LIBCOMMON_EXPORT
-#else
-# ifdef _WIN32
-# ifdef _MSC_VER
-# ifdef LIBCOMMON_DYNAMIC_LIB
-# define LIBCOMMON_EXPORT __declspec(dllexport)
-# else
-# define LIBCOMMON_EXPORT __declspec(dllimport)
-# endif
-# else
-# ifdef LIBCOMMON_DYNAMIC_LIB
-# ifdef DLL_EXPORT
-# define LIBCOMMON_EXPORT __declspec(dllexport)
-# else
-# define LIBCOMMON_EXPORT
-# endif
-# else
-# define LIBCOMMON_EXPORT __declspec(dllimport)
-# endif
-# endif
-# else
-# define LIBCOMMON_EXPORT
-# endif
-#endif
-
-#endif // LIBCOMMON_COMMON_EXPORT_HXX
diff --git a/libcommon/common/libcommon-vc10.vcxproj b/libcommon/common/libcommon-vc10.vcxproj
deleted file mode 100644
index a07a9a6..0000000
--- a/libcommon/common/libcommon-vc10.vcxproj
+++ /dev/null
@@ -1,174 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{019C2E51-BF41-4490-AB96-4156741B8CC9}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>libcommon</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
-__header_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_entries__(sources)
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc10.vcxproj.filters b/libcommon/common/libcommon-vc10.vcxproj.filters
deleted file mode 100644
index ecc3613..0000000
--- a/libcommon/common/libcommon-vc10.vcxproj.filters
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{6B7BDACA-0BDC-48B2-B5BD-BEFC5826ABC9}</UniqueIdentifier>
- <Extensions>cxx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{F2B8743C-E39C-4FE0-AA8F-FF7FA2DA7191}</UniqueIdentifier>
- <Extensions>h;hxx;ixx;txx</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
-__header_filter_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_filter_entries__(sources)
- </ItemGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc11.vcxproj b/libcommon/common/libcommon-vc11.vcxproj
deleted file mode 100644
index c5a6758..0000000
--- a/libcommon/common/libcommon-vc11.vcxproj
+++ /dev/null
@@ -1,178 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{019C2E51-BF41-4490-AB96-4156741B8CC9}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>libcommon</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v110</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
-__header_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_entries__(sources)
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc11.vcxproj.filters b/libcommon/common/libcommon-vc11.vcxproj.filters
deleted file mode 100644
index ecc3613..0000000
--- a/libcommon/common/libcommon-vc11.vcxproj.filters
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{6B7BDACA-0BDC-48B2-B5BD-BEFC5826ABC9}</UniqueIdentifier>
- <Extensions>cxx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{F2B8743C-E39C-4FE0-AA8F-FF7FA2DA7191}</UniqueIdentifier>
- <Extensions>h;hxx;ixx;txx</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
-__header_filter_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_filter_entries__(sources)
- </ItemGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc12.vcxproj b/libcommon/common/libcommon-vc12.vcxproj
deleted file mode 100644
index e577c79..0000000
--- a/libcommon/common/libcommon-vc12.vcxproj
+++ /dev/null
@@ -1,182 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{019C2E51-BF41-4490-AB96-4156741B8CC9}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>libcommon</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v120</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v120</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v120</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v120</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common-d</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <OutDir>..\bin64\</OutDir>
- <TargetName>common</TargetName>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database)-d.lib;odb-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common-d.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <AdditionalDependencies>odb-__value__(database).lib;odb.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <OutputFile>$(TargetPath)</OutputFile>
- <ImportLibrary>..\lib64\common.lib</ImportLibrary>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
-__header_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_entries__(sources)
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc12.vcxproj.filters b/libcommon/common/libcommon-vc12.vcxproj.filters
deleted file mode 100644
index ecc3613..0000000
--- a/libcommon/common/libcommon-vc12.vcxproj.filters
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{6B7BDACA-0BDC-48B2-B5BD-BEFC5826ABC9}</UniqueIdentifier>
- <Extensions>cxx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{F2B8743C-E39C-4FE0-AA8F-FF7FA2DA7191}</UniqueIdentifier>
- <Extensions>h;hxx;ixx;txx</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
-__header_filter_entries__(headers)
- </ItemGroup>
- <ItemGroup>
-__source_filter_entries__(sources)
- </ItemGroup>
-</Project>
diff --git a/libcommon/common/libcommon-vc8.vcproj b/libcommon/common/libcommon-vc8.vcproj
deleted file mode 100644
index ab5656a..0000000
--- a/libcommon/common/libcommon-vc8.vcproj
+++ /dev/null
@@ -1,352 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="libcommon"
- ProjectGUID="{8575F058-1BD6-4F97-8901-83D0110C2B6B}"
- RootNamespace="libcommon"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".."
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="0"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib mkdir ..\lib"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database)-d.lib odb-d.lib"
- OutputFile="$(OutDir)\bin\common-d.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- ImportLibrary="$(OutDir)\lib\common-d.lib"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory=".."
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="0"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));__upcase__(database_)__upcase__(__value__(database));__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib64 mkdir ..\lib64"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database)-d.lib odb-d.lib"
- OutputFile="$(OutDir)\bin64\common-d.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- ImportLibrary="$(OutDir)\lib64\common-d.lib"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".."
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib mkdir ..\lib"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database).lib odb.lib"
- OutputFile="$(OutDir)\bin\common.dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- ImportLibrary="$(OutDir)\lib\common.lib"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory=".."
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib64 mkdir ..\lib64"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database).lib odb.lib"
- OutputFile="$(OutDir)\bin64\common.dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- ImportLibrary="$(OutDir)\lib64\common.lib"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cxx"
- UniqueIdentifier="{AC9C925E-DBC7-4706-85E4-BD38199359F7}"
- >
-__source_entries__(sources)
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hxx;ixx;txx"
- UniqueIdentifier="{D30085A2-1A37-43F8-9B2E-D82BD026A113}"
- >
-__file_entries__(headers)
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libcommon/common/libcommon-vc9.vcproj b/libcommon/common/libcommon-vc9.vcproj
deleted file mode 100644
index 49bfe21..0000000
--- a/libcommon/common/libcommon-vc9.vcproj
+++ /dev/null
@@ -1,359 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="libcommon"
- ProjectGUID="{8575F058-1BD6-4F97-8901-83D0110C2B6B}"
- RootNamespace="libcommon"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".."
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="0"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib mkdir ..\lib"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database)-d.lib odb-d.lib"
- OutputFile="$(OutDir)\bin\common-d.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- ImportLibrary="$(OutDir)\lib\common-d.lib"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory=".."
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="0"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));__upcase__(database_)__upcase__(__value__(database));__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib64 mkdir ..\lib64"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database)-d.lib odb-d.lib"
- OutputFile="$(OutDir)\bin64\common-d.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- ImportLibrary="$(OutDir)\lib64\common-d.lib"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".."
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib mkdir ..\lib"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database).lib odb.lib"
- OutputFile="$(OutDir)\bin\common.dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- ImportLibrary="$(OutDir)\lib\common.lib"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory=".."
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=".."
- PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL;HAVE_CONFIG_VC_H;__upcase__(database_)__upcase__(__value__(database));LIBCOMMON_DYNAMIC_LIB"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist ..\lib64 mkdir ..\lib64"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odb-__value__(database).lib odb.lib"
- OutputFile="$(OutDir)\bin64\common.dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- ImportLibrary="$(OutDir)\lib64\common.lib"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cxx"
- UniqueIdentifier="{AC9C925E-DBC7-4706-85E4-BD38199359F7}"
- >
-__source_entries__(sources)
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hxx;ixx;txx"
- UniqueIdentifier="{D30085A2-1A37-43F8-9B2E-D82BD026A113}"
- >
-__file_entries__(headers)
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libcommon/common/makefile b/libcommon/common/makefile
deleted file mode 100644
index 2f6537f..0000000
--- a/libcommon/common/makefile
+++ /dev/null
@@ -1,166 +0,0 @@
-# file : libcommon/common/makefile
-# license : GNU GPL v2; see accompanying LICENSE file
-
-include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
-
-cxx_tun := common.cxx
-
-cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o))
-cxx_od := $(cxx_obj:.o=.o.d)
-
-common.l := $(out_base)/common.l
-common.l.cpp-options := $(out_base)/common.l.cpp-options
-
-# Import.
-#
-$(call import,\
- $(scf_root)/import/libodb/stub.make,\
- l: odb.l,cpp-options: odb.l.cpp-options)
-
-ifdef db_id
-ifneq ($(db_id),common)
-$(call import,\
- $(scf_root)/import/libodb-$(db_id)/stub.make,\
- l: odb_db.l,cpp-options: odb_db.l.cpp-options)
-else
-# Import all database runtimes.
-#
-$(call import,\
- $(scf_root)/import/libodb-mysql/stub.make,\
- l: odb_mysql.l,cpp-options: odb_mysql.l.cpp-options)
-
-$(call import,\
- $(scf_root)/import/libodb-sqlite/stub.make,\
- l: odb_sqlite.l,cpp-options: odb_sqlite.l.cpp-options)
-
-$(call import,\
- $(scf_root)/import/libodb-pgsql/stub.make,\
- l: odb_pgsql.l,cpp-options: odb_pgsql.l.cpp-options)
-
-$(call import,\
- $(scf_root)/import/libodb-oracle/stub.make,\
- l: odb_oracle.l,cpp-options: odb_oracle.l.cpp-options)
-
-$(call import,\
- $(scf_root)/import/libodb-mssql/stub.make,\
- l: odb_mssql.l,cpp-options: odb_mssql.l.cpp-options)
-
-odb_db.l := \
-$(odb_mysql.l) \
-$(odb_sqlite.l) \
-$(odb_pgsql.l) \
-$(odb_oracle.l) \
-$(odb_mssql.l)
-
-odb_db.l.cpp-options := \
-$(odb_mysql.l.cpp-options) \
-$(odb_sqlite.l.cpp-options) \
-$(odb_pgsql.l.cpp-options) \
-$(odb_oracle.l.cpp-options) \
-$(odb_mssql.l.cpp-options)
-endif
-endif
-
-ifeq ($(odb_db.l.cpp-options),)
-odb_db.l.cpp-options := $(out_base)/.unbuildable
-endif
-
-# Build.
-#
-$(common.l): $(cxx_obj) $(odb.l) $(odb_db.l)
-
-$(cxx_obj) $(cxx_od): $(common.l.cpp-options) $(out_base)/config.h
-$(common.l.cpp-options): value := -I$(out_root)/libcommon -I$(src_root)/libcommon
-$(common.l.cpp-options): $(odb_db.l.cpp-options) $(odb.l.cpp-options)
-
-$(call include,$(bld_root)/cxx/standard.make) # cxx_standard
-
-ifdef db_id
-ifdef cxx_standard
-$(out_base)/config.h: | $(out_base)/.
- @echo '/* file : libcommon/common/config.h' >$@
- @echo ' * note : automatically generated' >>$@
- @echo ' */' >>$@
- @echo '' >>$@
- @echo '#ifndef LIBCOMMON_COMMON_CONFIG_H' >>$@
- @echo '#define LIBCOMMON_COMMON_CONFIG_H' >>$@
- @echo '' >>$@
-ifeq ($(db_id),mysql)
- @echo '#define DATABASE_MYSQL 1' >>$@
-else ifeq ($(db_id),sqlite)
- @echo '#define DATABASE_SQLITE 1' >>$@
-else ifeq ($(db_id),pgsql)
- @echo '#define DATABASE_PGSQL 1' >>$@
-else ifeq ($(db_id),oracle)
- @echo '#define DATABASE_ORACLE 1' >>$@
-else ifeq ($(db_id),mssql)
- @echo '#define DATABASE_MSSQL 1' >>$@
-else ifeq ($(db_id),common)
- @echo '#define DATABASE_COMMON 1' >>$@
-endif
-ifeq ($(cxx_standard),c++11)
- @echo '#define HAVE_CXX11 1' >>$@
-endif
- @echo '#define HAVE_TR1_MEMORY 1' >>$@
- @echo '' >>$@
- @echo '#endif /* LIBCOMMON_COMMON_CONFIG_H */' >>$@
-endif
-endif
-
-$(call include-dep,$(cxx_od),$(cxx_obj),$(out_base)/config.h)
-
-# Convenience alias for default target.
-#
-$(out_base)/: $(common.l)
-
-# Dist.
-#
-$(dist): export sources := $(cxx_tun)
-$(dist): export headers = $(subst $(src_base)/,,$(shell find $(src_base) \
--name '*.hxx' -o -name '*.ixx' -o -name '*.txx'))
-$(dist): data_dist := config.h.in config-vc.h
-$(dist): export extra_dist := $(data_dist) $(call vc8projs,libcommon) \
-$(call vc9projs,libcommon) $(call vc10projs,libcommon) \
-$(call vc11projs,libcommon) $(call vc12projs,libcommon)
-
-$(dist):
- $(call dist-data,$(sources) $(headers) $(data_dist))
- $(call meta-automake)
- $(call meta-vc8projs,libcommon)
- $(call meta-vc9projs,libcommon)
- $(call meta-vc10projs,libcommon)
- $(call meta-vc11projs,libcommon)
- $(call meta-vc12projs,libcommon)
-
-# Clean.
-#
-$(clean): $(common.l).o.clean \
- $(common.l.cpp-options).clean \
- $(addsuffix .cxx.clean,$(cxx_obj)) \
- $(addsuffix .cxx.clean,$(cxx_od))
- $(call message,rm $$1,rm -f $$1,$(out_base)/config.h)
-
-# Generated .gitignore.
-#
-ifeq ($(out_base),$(src_base))
-$(common.l): | $(out_base)/.gitignore
-
-$(out_base)/.gitignore: files := config.h
-$(clean): $(out_base)/.gitignore.clean
-
-$(call include,$(bld_root)/git/gitignore.make)
-endif
-
-# How to.
-#
-$(call include,$(bld_root)/dist.make)
-$(call include,$(bld_root)/meta/vc8proj.make)
-$(call include,$(bld_root)/meta/vc9proj.make)
-$(call include,$(bld_root)/meta/vc10proj.make)
-$(call include,$(bld_root)/meta/vc11proj.make)
-$(call include,$(bld_root)/meta/vc12proj.make)
-$(call include,$(bld_root)/meta/automake.make)
-
-$(call include,$(bld_root)/cxx/cxx-d.make)
-$(call include,$(bld_root)/cxx/cxx-o.make)
-$(call include,$(bld_root)/cxx/o-l.make)