Simplified and focus on msc, msc_vc140

This commit is contained in:
2019-02-20 14:28:00 +01:00
parent 48be270648
commit 97f0a1d2aa
11 changed files with 145 additions and 108 deletions
+14 -8
View File
@@ -42,16 +42,22 @@ else
safe_copy %EIFFEL_SRC\C\CONFIGS\windows-x86-64-mingw %STUDIO_DIR\studio\config\%ISE_PLATFORM\mingw\config.sh
endiff
IF "%HAS_VC140%" == "True" (
remtrace Compile the run-time for Microsoft (msc_vc140)
espawn -u:VC140 "%COMSPEC% /c %INIT_DIR%\make_runtimes.btm msc_vc140"
IF "%ISE_C_COMPILER%" NEQ "msc_vc140" (
IF "%HAS_VC_MSC_VC140%" == "True" (
remtrace Compile the run-time for Microsoft (msc_vc140)
espawn -u:%ISE_VC_MSC_VC140% "%COMSPEC% /c %INIT_DIR%\make_runtimes.btm msc_vc140"
)
)
IF "%HAS_VC100%" == "True" (
remtrace Compile the run-time for Microsoft (msc)
espawn -u:VC100 "%COMSPEC% /c %INIT_DIR%\make_runtimes.btm msc"
IF "%ISE_C_COMPILER%" NEQ "msc" (
IF "%HAS_VC_MSC%" == "True" (
remtrace Compile the run-time for Microsoft (msc)
espawn -u:%ISE_VC_MSC% "%COMSPEC% /c %INIT_DIR%\make_runtimes.btm msc"
)
)
IF "%HAS_C_COMP_VER%" == "True" (
remtrace Compile the run-time for Microsoft (ISE_C_COMPILER=%ISE_C_COMPILER% ISE_C_COMPILER_VER=%ISE_C_COMPILER_VER%)
rem Compile last, the version of the runtime corresponding to the compiler compiling the executables
IF "%ISE_C_COMPILER%" NEQ "" (
remtrace Compile the run-time for Microsoft (%ISE_C_COMPILER%)
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c %INIT_DIR%\make_runtimes.btm %ISE_C_COMPILER%"
)