From 112b51dac3d4196fe5a2ed07b38a56bec67dc40c Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 12 Jun 2014 16:31:07 +0100 Subject: [PATCH] change default MSVC projects to Visual Studio 2010 (version 10) and up Visual Studio 2008 is still supported by "9.sln" projects and ".vcproj" files, while ".sln" and ".vcxproj" work for 2010, 2012, and 2013. The "build.bat" script detects which version of Visual Studio is active and uses the appropriate ".sln" files. The bad news is that we have two copies of each project until we decide to drop support for Visual Studio 2008. (We had two copies before, but one copy was unmaintained.) The good news is that we have only 2 copies of each project, because recent versions of Visual Studio are willing to use 2010 projects as-is. Change project and related files to text instead of always CRLF, because that seems to be ok for modern Windows tools. original commit: aa487175adadeab02177bfab2564f63f29bea334 --- pkgs/distro-build-pkgs/distro-build-server/drive-clients.rkt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/distro-build-pkgs/distro-build-server/drive-clients.rkt b/pkgs/distro-build-pkgs/distro-build-server/drive-clients.rkt index bed7654..35bf06d 100644 --- a/pkgs/distro-build-pkgs/distro-build-server/drive-clients.rkt +++ b/pkgs/distro-build-pkgs/distro-build-server/drive-clients.rkt @@ -311,10 +311,9 @@ (cmd "cd " (q dir) " && git pull")) (cmd "cd " (q dir) - " && \"c:\\Program Files" (if (= bits 64) " (x86)" "") "\\Microsoft Visual Studio 9.0\\vc\\vcvarsall.bat\"" - " " vc + " && racket\\src\\worksp\\msvcprep.bat " vc " && nmake win32-client" - " JOB_OPTIONS=\"-j " j "\"" + " JOB_OPTIONS=\"-j " j "\"" (client-args c server server-port platform readme)))) (define (client-build c)