summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-02-15 13:11:55 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-02-15 13:11:55 +0800
commitf6c36b463ca29379024899211f99477344578555 (patch)
tree8d49d21cce7979a41d749554d06693832377c4ff /configure.ac
parentbb33b5eafa48466ed3f64817bf2d326132fc6253 (diff)
downloadatk-f6c36b463ca29379024899211f99477344578555.tar.gz
Visual Studio builds: Support Visual Studio 2017
Update the autotools scripts so that we can copy the Visual Studio 2010 project files and update them to obtain the Visual Studio 2017 projects. As the format of the toolset version is different, allow a version number string for the toolset version and use it if specified, otherwise just create the toolset version string as we did before. Note that Visual Studio 2015 and 2017 aims to be compatible in terms of CRT usage, so it should be possible to use 2015-built binaries with 2017-built binaries.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 335790e..9b860fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,6 +206,10 @@ GTK_DOC_CHECK([1.13])
AC_PROG_AWK
AC_CHECK_PROGS(PERL, perl5 perl)
+# Check whether MSVC toolset is explicitly set
+AM_CONDITIONAL(MSVC_BASE_NO_TOOLSET_SET, [test x$MSVC_BASE_TOOLSET = x])
+AM_CONDITIONAL(MSVC_NO_TOOLSET_SET, [test x$MSVC_TOOLSET = x])
+
REBUILD=\#
if test "x$enable_rebuilds" = "xyes" && \
test -n "$PERL" && \
@@ -262,6 +266,7 @@ win32/vs10/atk-version-paths.props
win32/vs11/Makefile
win32/vs12/Makefile
win32/vs14/Makefile
+win32/vs15/Makefile
docs/Makefile
docs/version.xml
atk.spec