1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

better winroot.zip info message

This commit is contained in:
Alexander Medvednikov 2019-08-28 14:35:48 +03:00
parent c92654a044
commit f29079daac

View File

@ -233,7 +233,11 @@ fn (c mut V) cc_windows_cross() {
winroot := '$ModPath/winroot'
if !os.dir_exists(winroot) {
winroot_url := 'https://github.com/vlang/v/releases/download/v0.1.10/winroot.zip'
println('"$winroot" not found. Download it from $winroot_url and save in $ModPath')
println('"$winroot" not found.')
println('Download it from $winroot_url and save it in $ModPath')
println('Unzip it afterwards.\n')
println('winroot.zip contains all library and header files needed '+
'to cross-compile for Windows.')
exit(1)
}
mut obj_name := c.out_name