From a88a860af1ed6b4c93a792689aa4b2c8698aefe1 Mon Sep 17 00:00:00 2001
From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Sat, 30 Apr 2022 17:48:04 +0000
Subject: [PATCH] INSTALL: Update info about MSVC builds.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5375 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 smartmontools/ChangeLog |  2 ++
 smartmontools/INSTALL   | 20 ++++++++++++--------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog
index e9de70ae0..a56cf00f8 100644
--- a/smartmontools/ChangeLog
+++ b/smartmontools/ChangeLog
@@ -2,6 +2,8 @@ $Id$
 
 2022-04-30  Christian Franke  <franke@computer.org>
 
+	INSTALL: Update info about MSVC builds.
+
 	os_win32/vc14, os_win32/vc15: Drop project files for MSVC14/15.
 
 	Makefile.am: Update config-vc and *clean-vc targets for MSVC16/17.
diff --git a/smartmontools/INSTALL b/smartmontools/INSTALL
index e62058789..4b6890fdf 100644
--- a/smartmontools/INSTALL
+++ b/smartmontools/INSTALL
@@ -358,20 +358,24 @@ To both create and run the (interactive) installer, use:
   The binary distribution includes all documentation files converted
   to DOS text file format and *.html and *.pdf preformatted man pages.
 
-To prepare os_win32/vc14 directory for MS Visual Studio C++ 2015 builds,
-use the following on MSYS or Cygwin:
+To prepare a os_win32/vcNN directory for MS Visual Studio C++ builds,
+use the following on Cygwin or MSYS:
 
   mkdir vctmp && cd vctmp
   ../configure [... any MinGW option set from above ...]
-  make config-vc14
+  make [vc=NN] config-vc
 
-  The MSVC project files (os_win32/vc14/*) are included in SVN (but not
-  in source tarball). The target config-vc14 from a Makefile configured
-  for MinGW creates os_win32/vc14/{config.h,smart*.rc,svnversion.h}.
+  If vc=NN is not specified, it defaults to the latest supported version.
+  The MSVC project files (os_win32/vcNN/*) are included in SVN (but not
+  in source tarball). The target config-vc from a Makefile configured
+  for MinGW creates os_win32/vcNN/{config.h,smart*.rc,svnversion.h}.
   The configure script must be run outside of the source directory to
   avoid inclusion of the original config.h.
-  Additional MSVC related make targets are clean-vc14, distclean-vc14
-  and maintainer-clean-vc14.
+  Additional MSVC related make targets are:
+  - clean-vc: Remove all files generated during build.
+  - distclean-vc: Also remove all files generated by config-vc.
+  - maintainer-clean-vc: Also remove the .vs directory (.vs/*/.suo file)
+    and the *.vcxproj.user files.
 
 
 [11] Guidelines for OS/2, eComStation
-- 
GitLab