its a start...
This commit is contained in:
@@ -76,6 +76,7 @@ $linker_args += $flag_link_win_subsystem_console
|
||||
$linker_args += "/nodefaultlib"
|
||||
$linker_args += "kernel32.lib"
|
||||
$linker_args += "user32.lib"
|
||||
$linker_args += "gdi32.lib"
|
||||
$linker_args += "/entry:main"
|
||||
$linker_args += $object
|
||||
|
||||
@@ -85,8 +86,7 @@ write-host "Linking took $($linking_time.TotalMilliseconds)ms"
|
||||
write-host
|
||||
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
write-host "Running $binary..." -ForegroundColor Green
|
||||
& $binary
|
||||
write-host "Build Successful! Run $binary manually to see the GUI." -ForegroundColor Green
|
||||
}
|
||||
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user