test_op_il_seq_point_headerfooter.sh \
Makefile.am.in
+if ENABLE_NETCORE
+version.h: Makefile
+ echo "#define FULL_VERSION \"netcore\"" > version.h
+else
version.h: Makefile
if test -e $(top_srcdir)/.git; then \
(cd $(top_srcdir); \
echo "#define FULL_VERSION \"$$MONO_BRANCH/$$MONO_BUILD_REVISION\""; \
fi \
fi > version.h
+endif
# Utility target for patching libtool to speed up linking
patch-libtool:
:: VS 2019.
if exist "%VSWHERE_TOOLS_BIN%" (
echo For VS2019 builds, make sure to run this from within Visual Studio build or using "x86|x64 Native Tools Command Prompt for VS2019" command prompt.
- for /f "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') do (
+ for /f "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') do (
echo Setup a "x86|x64 Native Tools Command Prompt for VS2019" command prompt by using "%%a\VC\Auxiliary\Build\vcvars32.bat|vcvars64.bat".
goto ON_ENV_WARNING_DONE
)
:: VS 2019.
if exist "%VSWHERE_TOOLS_BIN%" (
echo For VS2019 builds, make sure to run this from within Visual Studio build or using "x86|x64 Native Tools Command Prompt for VS2019" command prompt.
- for /f "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') do (
+ for /f "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') do (
echo Setup a "x86|x64 Native Tools Command Prompt for VS2019" command prompt by using "%%a\VC\Auxiliary\Build\vcvars32.bat|vcvars64.bat".
goto ON_ENV_WARNING_DONE
)
ECHO Make sure to run this from a "x64 Native Tools Command Prompt for VS2019" command prompt.
IF EXIST "%VSWHERE_TOOLS_BIN%" (
- FOR /F "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') DO (
+ FOR /F "tokens=*" %%a IN ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') DO (
ECHO Setup a "x64 Native Tools Command Prompt for VS2019 command prompt by using "%%a\VC\Auxiliary\Build\vcvars64.bat".
)
)
:: Try to locate installed VS2019 VC environment.
if exist "%VSWHERE_TOOLS_BIN%" (
- for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') do (
+ for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') do (
set VS_2019_DEV_CMD=%%a\Common7\Tools\VsMSBuildCmd.bat
)
)
:: Try to locate installed VS2019 VC environment.
if exist "%VSWHERE_TOOLS_BIN%" (
- for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') do (
+ for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') do (
set VS_2019_VCINSTALL_DIR=%%a\VC\
)
)
exit /b 1
:setup_build_env_exit
-goto :EOF
\ No newline at end of file
+goto :EOF