Cleaned HAS_ ... variables.
Use DOS syntax when TCC/LE is not required.
This commit is contained in:
@@ -29,13 +29,17 @@ iff not isdir %TMP_EIFFEL_SRC% then
|
||||
endiff
|
||||
|
||||
:: Get C compilation environment information
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_WSDK71 WSDK71
|
||||
::call %INIT_DIR\inc\set_has_c_compiler HAS_WSDK71 WSDK71
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_VC100 VC100
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_VC140 VC140
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_VC150 VC150
|
||||
::call %INIT_DIR\inc\set_has_c_compiler HAS_VC150 VC150
|
||||
|
||||
iff defined ISE_C_COMPILER_VER .and. "%ISE_C_COMPILER_VER%" != "VC140" then
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_C_COMP_VER %ISE_C_COMPILER_VER%
|
||||
else
|
||||
set "HAS_C_COMP_VER=False"
|
||||
endiff
|
||||
set "HAS_C_COMP_VER=False"
|
||||
if "%ISE_C_COMPILER_VER%" NEQ "" (
|
||||
IF /I "%ISE_C_COMPILER_VER%" NEQ "VC100" (
|
||||
IF /I "%ISE_C_COMPILER_VER%" NEQ "VC140" (
|
||||
call %INIT_DIR\inc\set_has_c_compiler HAS_C_COMP_VER %ISE_C_COMPILER_VER%
|
||||
)
|
||||
)
|
||||
)
|
||||
echo HAS_C_COMP_VER=%HAS_C_COMP_VER%
|
||||
|
||||
Reference in New Issue
Block a user