Removed the 'shortened' profile names in favor of descriptive profile class names
diff --git a/build/appveyor/CYGW-appveyor-build.bat b/build/appveyor/CYGWIN-appveyor-build.bat
similarity index 100%
rename from build/appveyor/CYGW-appveyor-build.bat
rename to build/appveyor/CYGWIN-appveyor-build.bat
diff --git a/build/appveyor/CYGW-appveyor-install.bat b/build/appveyor/CYGWIN-appveyor-install.bat
similarity index 100%
rename from build/appveyor/CYGW-appveyor-install.bat
rename to build/appveyor/CYGWIN-appveyor-install.bat
diff --git a/build/appveyor/CYGW-appveyor-test.bat b/build/appveyor/CYGWIN-appveyor-test.bat
similarity index 100%
rename from build/appveyor/CYGW-appveyor-test.bat
rename to build/appveyor/CYGWIN-appveyor-test.bat
diff --git a/build/appveyor/MING-appveyor-build.bat b/build/appveyor/MINGW-appveyor-build.bat
similarity index 100%
rename from build/appveyor/MING-appveyor-build.bat
rename to build/appveyor/MINGW-appveyor-build.bat
diff --git a/build/appveyor/MING-appveyor-install.bat b/build/appveyor/MINGW-appveyor-install.bat
similarity index 100%
rename from build/appveyor/MING-appveyor-install.bat
rename to build/appveyor/MINGW-appveyor-install.bat
diff --git a/build/appveyor/MING-appveyor-test.bat b/build/appveyor/MINGW-appveyor-test.bat
similarity index 100%
rename from build/appveyor/MING-appveyor-test.bat
rename to build/appveyor/MINGW-appveyor-test.bat
diff --git a/build/appveyor/simulate-appveyor.bat b/build/appveyor/simulate-appveyor.bat
index 6af0aa6..ac229b1 100644
--- a/build/appveyor/simulate-appveyor.bat
+++ b/build/appveyor/simulate-appveyor.bat
@@ -28,8 +28,8 @@
SET PROFILE=%3
CD %APPVEYOR_BUILD_FOLDER%
-CALL build\appveyor\%PROFILE:~0,4%-appveyor-install.bat || EXIT /B
+CALL build\appveyor\%PROFILE_CLASS%-appveyor-install.bat || EXIT /B
CD %APPVEYOR_BUILD_FOLDER%
-CALL build\appveyor\%PROFILE:~0,4%-appveyor-build.bat || EXIT /B
+CALL build\appveyor\%PROFILE_CLASS%-appveyor-build.bat || EXIT /B
CD %APPVEYOR_BUILD_FOLDER%
-CALL build\appveyor\%PROFILE:~0,4%-appveyor-test.bat
+CALL build\appveyor\%PROFILE_CLASS%-appveyor-test.bat
diff --git a/build/appveyor/win_setcompiler.bat b/build/appveyor/win_setcompiler.bat
index a3eb90c..d498f41 100644
--- a/build/appveyor/win_setcompiler.bat
+++ b/build/appveyor/win_setcompiler.bat
@@ -35,7 +35,7 @@
EXIT /B 0
)
-IF NOT "%PROFILE:~0,4%" == "MSVC" (
+IF NOT "%PROFILE_CLASS%" == "MSVC" (
SET COMPILER=gcc
) ELSE (
CALL :CHECK 16
diff --git a/build/appveyor/win_setenv.bat b/build/appveyor/win_setenv.bat
index b250e6b..ef664d1 100644
--- a/build/appveyor/win_setenv.bat
+++ b/build/appveyor/win_setenv.bat
@@ -65,7 +65,7 @@
SET SRCDIR=%APPVEYOR_BUILD_FOLDER%
-IF "%PROFILE:~0,4%" == "MSVC" (
+IF "%PROFILE_CLASS%" == "MSVC" (
:: FindBoost needs forward slashes so cmake doesn't see something as an escaped character
SET BOOST_ROOT=C:/Libraries/boost_%BOOST_VERSION:.=_%
@@ -87,7 +87,7 @@
SET PATH=C:\Qt\%QT_VERSION%\%PROFILE%!QTEXT!\bin;!PATH!
)
-) ELSE IF "%PROFILE:~0,4%" == "MING" (
+) ELSE IF "%PROFILE_CLASS%" == "MINGW" (
:: PLATFORM = x86 means MINGWPLAT i686
:: PLATFORM = x64 means MINGWPLAT x86_64
@@ -107,7 +107,7 @@
SET SRCDIR=%SRCDIR:\=/%
SET SRCDIR=/c!SRCDIR:~2!
-) ELSE IF "%PROFILE:~0,4%" == "CYGW" (
+) ELSE IF "%PROFILE_CLASS%" == "CYGWIN" (
IF "%PLATFORM%" == "x64" (
SET CYGWINROOT=C:\cygwin64
diff --git a/build/appveyor/win_setgenerator.bat b/build/appveyor/win_setgenerator.bat
index 5f95058..818155b 100644
--- a/build/appveyor/win_setgenerator.bat
+++ b/build/appveyor/win_setgenerator.bat
@@ -40,13 +40,13 @@
IF DEFINED GENERATOR (
ECHO [warn ] using existing environment variable GENERATOR
-) ELSE IF "%PROFILE:~0,4%" == "MING" (
+) ELSE IF "%PROFILE_CLASS%" == "MINGW" (
SET GENERATOR=MinGW Makefiles
-) ELSE IF "%PROFILE:~0,4%" == "CYGW" (
+) ELSE IF "%PROFILE_CLASS%" == "CYGWIN" (
SET GENERATOR=Unix Makefiles
-) ELSE IF "%PROFILE:~0,4%" == "MSYS" (
+) ELSE IF "%PROFILE_CLASS%" == "MSYS" (
SET GENERATOR=MSYS Makefiles
-) ELSE IF "%PROFILE:~0,4%" == "MSVC" (
+) ELSE IF "%PROFILE_CLASS%" == "MSVC" (
IF /i "%PLATFORM%" == "x64" SET GENARCH= Win64
IF "%PROFILE%" == "MSVC2015" (
SET GENERATOR=Visual Studio 14 2015!GENARCH!
diff --git a/build/appveyor/win_showenv.bat b/build/appveyor/win_showenv.bat
index a70a490..51bf2c0 100644
--- a/build/appveyor/win_showenv.bat
+++ b/build/appveyor/win_showenv.bat
@@ -14,7 +14,7 @@
ECHO/
ECHO ===============================================================================
-IF "%PROFILE:~0,4%" == "MSVC" (
+IF "%PROFILE_CLASS%" == "MSVC" (
ECHO Versions
ECHO -------------------------------------------------------------------------------
ECHO boost = %BOOST_VERSION%
@@ -49,7 +49,7 @@
ECHO WIN3P = %WIN3P%
ECHO WITH_PYTHON = %WITH_PYTHON%
ECHO ZLIB_STATIC_SUFFIX = %ZLIB_STATIC_SUFFIX%
-IF NOT "%PROFILE:~0,4%" == "MSVC" (
+IF NOT "%PROFILE_CLASS%" == "MSVC" (
ECHO/
ECHO UNIXy PATH
ECHO -------------------------------------------------------------------------------