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:
parent
eae41050d1
commit
c0d28a0e43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user