From 4c2bcede6157cf30fd829d5d3a26f7cee9270c8d Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 8 Feb 2016 21:27:02 -0600 Subject: [PATCH] Update VS2005 projects for re2c and zdoom --- tools/re2c/config.msc.h | 62 +++ tools/re2c/re2c.vcproj | 845 +++++++++++++++++++++++++++++++ tools/re2c/src/conf/msg.cc | 4 + tools/re2c/src/util/c99_stdint.h | 4 + zdoom.vcproj | 8 + 5 files changed, 923 insertions(+) create mode 100644 tools/re2c/config.msc.h create mode 100644 tools/re2c/re2c.vcproj diff --git a/tools/re2c/config.msc.h b/tools/re2c/config.msc.h new file mode 100644 index 000000000..d64e6d9e9 --- /dev/null +++ b/tools/re2c/config.msc.h @@ -0,0 +1,62 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDINT_H */ + +/* Name of package */ +/* #undef PACKAGE */ + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "re2c-general@lists.sourceforge.net" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "re2c" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "re2c 0.16" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "re2c" + +/* Define to the home page for this package. */ +/* #undef PACKAGE_URL */ + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.16" + +/* The size of `0i8', as computed by sizeof. */ +#define SIZEOF_0I8 1 + +/* The size of `0l', as computed by sizeof. */ +#define SIZEOF_0L 4 + +/* The size of `0ll', as computed by sizeof. */ +#define SIZEOF_0LL 8 + +/* The size of `char', as computed by sizeof. */ +#define SIZEOF_CHAR 1 + +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + +/* The size of `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 + +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of `void *', as computed by sizeof. */ +#ifdef _M_X64 +#define SIZEOF_VOID_P 8 +#else +#define SIZEOF_VOID_P 4 +#endif + +/* The size of `__int64', as computed by sizeof. */ +#define SIZEOF___INT64 8 + +/* Version number of package */ +/* #undef VERSION */ diff --git a/tools/re2c/re2c.vcproj b/tools/re2c/re2c.vcproj new file mode 100644 index 000000000..81d8c4941 --- /dev/null +++ b/tools/re2c/re2c.vcproj @@ -0,0 +1,845 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/re2c/src/conf/msg.cc b/tools/re2c/src/conf/msg.cc index ec13c0ac7..87962f0a9 100644 --- a/tools/re2c/src/conf/msg.cc +++ b/tools/re2c/src/conf/msg.cc @@ -2,7 +2,11 @@ #include #include +#if defined(_MSC_VER) && _MSC_VER < 1500 +#include "config.msc.h" +#else #include "config.h" +#endif #include "src/conf/msg.h" namespace re2c { diff --git a/tools/re2c/src/util/c99_stdint.h b/tools/re2c/src/util/c99_stdint.h index ffe2e3ee0..571860431 100644 --- a/tools/re2c/src/util/c99_stdint.h +++ b/tools/re2c/src/util/c99_stdint.h @@ -1,7 +1,11 @@ #ifndef _RE2C_UTIL_C99_STDINT_ #define _RE2C_UTIL_C99_STDINT_ +#if defined(_MSC_VER) && _MSC_VER < 1500 +#include "config.msc.h" +#else #include "config.h" +#endif #if HAVE_STDINT_H # include diff --git a/zdoom.vcproj b/zdoom.vcproj index b16c13fa8..3b98c29b1 100644 --- a/zdoom.vcproj +++ b/zdoom.vcproj @@ -622,6 +622,10 @@ RelativePath=".\src\dthinker.cpp" > + + @@ -1271,6 +1275,10 @@ RelativePath=".\src\dthinker.h" > + +