add config.h for Windows, to define VMAJ and al.
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Dec 2010 07:52:08 +0000 (07:52 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Dec 2010 07:52:08 +0000 (07:52 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@55489 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

win32/common/config.h [new file with mode: 0644]
win32/vs8/libembryo.vcproj
win32/vs9/libembryo.vcproj

diff --git a/win32/common/config.h b/win32/common/config.h
new file mode 100644 (file)
index 0000000..a2c3b37
--- /dev/null
@@ -0,0 +1,28 @@
+/* EINA - EFL data type library
+ * Copyright (C) 2008 Cedric Bail
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library;
+ * if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef EMBRYO_CONFIG_H_
+#define EMBRYO_CONFIG_H_
+
+
+#define VMAJ 1
+#define VMIN 0
+#define VMIC 0
+#define VREV 0
+
+#endif /* EMBRYO_CONFIG_H_ */
index 86cde08..1971cbf 100644 (file)
@@ -41,7 +41,7 @@
                                Name="VCCLCompilerTool"\r
                                Optimization="0"\r
                                AdditionalIncludeDirectories="$(INCLUDE)"\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H"\r
                                MinimalRebuild="true"\r
                                BasicRuntimeChecks="3"\r
                                RuntimeLibrary="3"\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="$(INCLUDE)"\r
-                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H"\r
                                RuntimeLibrary="2"\r
                                UsePrecompiledHeader="0"\r
                                WarningLevel="3"\r
index 97eb1b9..6318bfa 100644 (file)
@@ -42,7 +42,7 @@
                                Name="VCCLCompilerTool"\r
                                Optimization="0"\r
                                AdditionalIncludeDirectories="$(INCLUDE)"\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H"\r
                                MinimalRebuild="true"\r
                                BasicRuntimeChecks="3"\r
                                RuntimeLibrary="3"\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="$(INCLUDE)"\r
-                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EFL_EMBRYO_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=__inline;snprintf=_snprintf_c;__UNUSED__=;HAVE_GETTIMEOFDAY;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H"\r
                                RuntimeLibrary="2"\r
                                UsePrecompiledHeader="0"\r
                                WarningLevel="3"\r