From 449227d505edd52c24928b78da164435d61153ad Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Apr 2012 11:45:51 +0200 Subject: Add empty source file to facilitate VC++ symbol exporting --- odb/callback.cxx | 11 +++++++++++ odb/makefile | 1 + 2 files changed, 12 insertions(+) create mode 100644 odb/callback.cxx diff --git a/odb/callback.cxx b/odb/callback.cxx new file mode 100644 index 0000000..94a618e --- /dev/null +++ b/odb/callback.cxx @@ -0,0 +1,11 @@ +// file : odb/callback.cxx +// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +namespace odb +{ + // This otherwise unnecessary file is here to allow instantiation + // of inline functions for exporting. +} diff --git a/odb/makefile b/odb/makefile index fd61513..5a5b48a 100644 --- a/odb/makefile +++ b/odb/makefile @@ -5,6 +5,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make cxx := \ +callback.cxx \ exceptions.cxx \ database.cxx \ connection.cxx \ -- cgit v1.1