[json-glib] MSVC builds: Add support for Visual Studio 2012-2015



commit 8e80c2ce026421f0f8b50f71a28693e9a8cae535
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Jan 4 14:02:51 2016 +0800

    MSVC builds: Add support for Visual Studio 2012-2015
    
    This adds support for Visual Studio 2012-2015 by making use of the
    common autotools module to copy the Visual Studio 2010 projects and
    updating the (few) items in there for providing build support for the
    newer Visual Studio versions out-of-the-box, as the formats of the
    project files used in these releases are largely the same.

 build/win32/Makefile.am      |    2 +-
 build/win32/vs11/Makefile.am |   53 ++++++++++++++++++++++++++++++++++++++++++
 build/win32/vs12/Makefile.am |   53 ++++++++++++++++++++++++++++++++++++++++++
 build/win32/vs14/Makefile.am |   53 ++++++++++++++++++++++++++++++++++++++++++
 configure.ac                 |    3 ++
 5 files changed, 163 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am
index eea13ac..813b9fb 100644
--- a/build/win32/Makefile.am
+++ b/build/win32/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = vs9 vs10
+SUBDIRS = vs9 vs10 vs11 vs12 vs14
 
 EXTRA_DIST =   \
        config.h.win32.in       \
diff --git a/build/win32/vs11/Makefile.am b/build/win32/vs11/Makefile.am
new file mode 100644
index 0000000..fb8cb74
--- /dev/null
+++ b/build/win32/vs11/Makefile.am
@@ -0,0 +1,53 @@
+NULL =
+
+EXTRA_DIST =   \
+       json-glib.sln                   \
+       json-glib-version-paths.props   \
+       json-glib-build-defines.props   \
+       json-glib-gen-srcs.props        \
+       json-glib-install.props \
+       json-glib.vcxproj               \
+       json-glib.vcxproj.filters       \
+       json-glib-format.vcxproj                \
+       json-glib-format.vcxproj.filters        \
+       json-glib-validate.vcxproj              \
+       json-glib-validate.vcxproj.filters      \
+       array.vcxproj           \
+       array.vcxproj.filters   \
+       boxed.vcxproj   \
+       boxed.vcxproj.filters   \
+       builder.vcxproj         \
+       builder.vcxproj.filters \
+       generator.vcxproj               \
+       generator.vcxproj.filters       \
+       gvariant.vcxproj                \
+       gvariant.vcxproj.filters        \
+       json-glib-install.vcxproj       \
+       node.vcxproj            \
+       node.vcxproj.filters    \
+       object.vcxproj          \
+       object.vcxproj.filters  \
+       parser.vcxproj          \
+       parser.vcxproj.filters  \
+       path.vcxproj            \
+       path.vcxproj.filters    \
+       reader.vcxproj          \
+       reader.vcxproj.filters  \
+       serialize-complex.vcxproj       \
+       serialize-complex.vcxproj.filters       \
+       serialize-full.vcxproj  \
+       serialize-full.vcxproj.filters  \
+       serialize-simple.vcxproj        \
+       serialize-simple.vcxproj.filters        \
+       README.txt      \
+       invalid.vcxproj \
+       invalid.vcxproj.filters \
+       $(NULL)
+
+MSVC_VER = 11
+MSVC_FORMAT_VER = 12
+MSVC_VER_LONG = 2012
+
+DISTCLEANFILES = $(EXTRA_DIST)
+
+include $(top_srcdir)/build/Makefile-newvs.am
diff --git a/build/win32/vs12/Makefile.am b/build/win32/vs12/Makefile.am
new file mode 100644
index 0000000..080ac32
--- /dev/null
+++ b/build/win32/vs12/Makefile.am
@@ -0,0 +1,53 @@
+NULL =
+
+EXTRA_DIST =   \
+       json-glib.sln                   \
+       json-glib-version-paths.props   \
+       json-glib-build-defines.props   \
+       json-glib-gen-srcs.props        \
+       json-glib-install.props \
+       json-glib.vcxproj               \
+       json-glib.vcxproj.filters       \
+       json-glib-format.vcxproj                \
+       json-glib-format.vcxproj.filters        \
+       json-glib-validate.vcxproj              \
+       json-glib-validate.vcxproj.filters      \
+       array.vcxproj           \
+       array.vcxproj.filters   \
+       boxed.vcxproj   \
+       boxed.vcxproj.filters   \
+       builder.vcxproj         \
+       builder.vcxproj.filters \
+       generator.vcxproj               \
+       generator.vcxproj.filters       \
+       gvariant.vcxproj                \
+       gvariant.vcxproj.filters        \
+       json-glib-install.vcxproj       \
+       node.vcxproj            \
+       node.vcxproj.filters    \
+       object.vcxproj          \
+       object.vcxproj.filters  \
+       parser.vcxproj          \
+       parser.vcxproj.filters  \
+       path.vcxproj            \
+       path.vcxproj.filters    \
+       reader.vcxproj          \
+       reader.vcxproj.filters  \
+       serialize-complex.vcxproj       \
+       serialize-complex.vcxproj.filters       \
+       serialize-full.vcxproj  \
+       serialize-full.vcxproj.filters  \
+       serialize-simple.vcxproj        \
+       serialize-simple.vcxproj.filters        \
+       README.txt      \
+       invalid.vcxproj \
+       invalid.vcxproj.filters \
+       $(NULL)
+
+MSVC_VER = 12
+MSVC_FORMAT_VER = 12
+MSVC_VER_LONG = 2013
+
+DISTCLEANFILES = $(EXTRA_DIST)
+
+include $(top_srcdir)/build/Makefile-newvs.am
diff --git a/build/win32/vs14/Makefile.am b/build/win32/vs14/Makefile.am
new file mode 100644
index 0000000..fe5c5ec
--- /dev/null
+++ b/build/win32/vs14/Makefile.am
@@ -0,0 +1,53 @@
+NULL =
+
+EXTRA_DIST =   \
+       json-glib.sln                   \
+       json-glib-version-paths.props   \
+       json-glib-build-defines.props   \
+       json-glib-gen-srcs.props        \
+       json-glib-install.props \
+       json-glib.vcxproj               \
+       json-glib.vcxproj.filters       \
+       json-glib-format.vcxproj                \
+       json-glib-format.vcxproj.filters        \
+       json-glib-validate.vcxproj              \
+       json-glib-validate.vcxproj.filters      \
+       array.vcxproj           \
+       array.vcxproj.filters   \
+       boxed.vcxproj   \
+       boxed.vcxproj.filters   \
+       builder.vcxproj         \
+       builder.vcxproj.filters \
+       generator.vcxproj               \
+       generator.vcxproj.filters       \
+       gvariant.vcxproj                \
+       gvariant.vcxproj.filters        \
+       json-glib-install.vcxproj       \
+       node.vcxproj            \
+       node.vcxproj.filters    \
+       object.vcxproj          \
+       object.vcxproj.filters  \
+       parser.vcxproj          \
+       parser.vcxproj.filters  \
+       path.vcxproj            \
+       path.vcxproj.filters    \
+       reader.vcxproj          \
+       reader.vcxproj.filters  \
+       serialize-complex.vcxproj       \
+       serialize-complex.vcxproj.filters       \
+       serialize-full.vcxproj  \
+       serialize-full.vcxproj.filters  \
+       serialize-simple.vcxproj        \
+       serialize-simple.vcxproj.filters        \
+       README.txt      \
+       invalid.vcxproj \
+       invalid.vcxproj.filters \
+       $(NULL)
+
+MSVC_VER = 14
+MSVC_FORMAT_VER = 12
+MSVC_VER_LONG = 14
+
+DISTCLEANFILES = $(EXTRA_DIST)
+
+include $(top_srcdir)/build/Makefile-newvs.am
diff --git a/configure.ac b/configure.ac
index d0efe85..404f1c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -375,6 +375,9 @@ AC_CONFIG_FILES([
         build/win32/config.h.win32
         build/win32/vs9/Makefile
         build/win32/vs10/Makefile
+        build/win32/vs11/Makefile
+        build/win32/vs12/Makefile
+        build/win32/vs14/Makefile
 
         json-glib/Makefile
         json-glib/json-glib.pc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]