42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
iff not defined INIT_DIR then
|
|
set INIT_DIR=%@EXECSTR[cd]
|
|
endiff
|
|
:: Set aliases and also call etc\config.btm
|
|
call %INIT_DIR\set_aliases.btm
|
|
|
|
REM Adding Wix to the path.
|
|
set PATH=%PATH;%@EXECSTR[cd]\wix
|
|
|
|
set EIFFEL_SRC=%TMP_EIFFEL_SRC
|
|
set ISE_LIBRARY=%TMP_EIFFEL_SRC
|
|
set ISE_SRC=%TMP_EIFFEL_SRC
|
|
|
|
:: Make sure required directories exist
|
|
REM Create parent dir of %INSTALL_LOG if it does not exist.
|
|
set_parent_dir_of PDIR %INSTALL_LOG%
|
|
iff not isdir %PDIR then
|
|
md /S %PDIR
|
|
remtrace Create directory %PDIR
|
|
endiff
|
|
set_parent_dir_of PDIR %ERROR_LOG%
|
|
iff not isdir %PDIR then
|
|
md /S %PDIR
|
|
remtrace Create directory %PDIR
|
|
endiff
|
|
iff not isdir %TMP_EIFFEL_SRC% then
|
|
md /S %TMP_EIFFEL_SRC%
|
|
remtrace Create directory %TMP_EIFFEL_SRC%
|
|
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_VC100 VC100
|
|
call %INIT_DIR\inc\set_has_c_compiler HAS_VC140 VC140
|
|
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
|