aboutsummaryrefslogtreecommitdiff
path: root/cutl/details
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-14 19:01:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-14 19:01:49 +0200
commit19d0eb2adcda31d9919bca8fef98cb1871b4ce54 (patch)
tree2e37fd2a976d6ec1f5fa1c49da8c2e5a04dfa440 /cutl/details
parent6aeb2e06e9fa137a8e26f8605ec63f7567e65280 (diff)
Add automake and VC++ builds (meta-build)
Diffstat (limited to 'cutl/details')
-rw-r--r--cutl/details/config.h.in14
-rw-r--r--cutl/details/config.hxx14
-rw-r--r--cutl/details/export.hxx37
3 files changed, 65 insertions, 0 deletions
diff --git a/cutl/details/config.h.in b/cutl/details/config.h.in
new file mode 100644
index 0000000..18b8f9d
--- /dev/null
+++ b/cutl/details/config.h.in
@@ -0,0 +1,14 @@
+/* file : cutl/details/config.h.in
+ * author : Boris Kolpackov <boris@codesynthesis.com>
+ * copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+ * license : MIT; see accompanying LICENSE file
+ */
+
+/* This file is automatically processed by configure. */
+
+#ifndef CUTL_DETAILS_CONFIG_H
+#define CUTL_DETAILS_CONFIG_H
+
+#undef LIBCUTL_STATIC_LIB
+
+#endif /* CUTL_DETAILS_CONFIG_H */
diff --git a/cutl/details/config.hxx b/cutl/details/config.hxx
new file mode 100644
index 0000000..2bbc274
--- /dev/null
+++ b/cutl/details/config.hxx
@@ -0,0 +1,14 @@
+// file : cutl/details/config.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CUTL_DETAILS_CONFIG_HXX
+#define CUTL_DETAILS_CONFIG_HXX
+
+#ifdef _MSC_VER
+#else
+# include <cutl/details/config.h>
+#endif
+
+#endif // CUTL_DETAILS_CONFIG_HXX
diff --git a/cutl/details/export.hxx b/cutl/details/export.hxx
new file mode 100644
index 0000000..4c7b494
--- /dev/null
+++ b/cutl/details/export.hxx
@@ -0,0 +1,37 @@
+// file : cutl/details/export.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CUTL_DETAILS_EXPORT_HXX
+#define CUTL_DETAILS_EXPORT_HXX
+
+#include <cutl/details/config.hxx>
+
+#ifdef LIBCUTL_STATIC_LIB
+# define LIBCUTL_EXPORT
+#else
+# ifdef _WIN32
+# ifdef _MSC_VER
+# ifdef LIBCUTL_DYNAMIC_LIB
+# define LIBCUTL_EXPORT __declspec(dllexport)
+# else
+# define LIBCUTL_EXPORT __declspec(dllimport)
+# endif
+# else
+# ifdef LIBCUTL_DYNAMIC_LIB
+# ifdef DLL_EXPORT
+# define LIBCUTL_EXPORT __declspec(dllexport)
+# else
+# define LIBCUTL_EXPORT
+# endif
+# else
+# define LIBCUTL_EXPORT __declspec(dllimport)
+# endif
+# endif
+# else
+# define LIBCUTL_EXPORT
+# endif
+#endif
+
+#endif // CUTL_DETAILS_EXPORT_HXX