1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Warn that MSVC environment will need to be activated

This commit is contained in:
AnyOldName3 2020-05-12 02:22:39 +01:00
parent eae41050d1
commit c0d28a0e43

View File

@ -917,6 +917,14 @@ RET=$?
if [ -z $VERBOSE ]; then
if [ $RET -eq 0 ]; then
echo Done.
if [ -z $ACTIVATE_MSVC ]; then
echo "Note: you must manually activate MSVC for the shell in which you want to do the build."
echo "You may find options to launch a Development/Native Tools/Cross Tools shell in your start menu or Visual Studio."
echo "https://github.com/microsoft/vswhere/wiki/Start-Developer-Command-Prompt should help with activation in an existing shell."
echo "In Bash, sourcing this script with the same arguments should work."
# TODO command line option to activate in current bash shell when sourced without doing everything else as it's such a hassle.
# TODO alternatively, create scripts for common shells (CMD, PowerShell, Bash) in the build directory that activate MSVC with the right settings for the build.
fi
else
echo Failed.
fi