Open fkaa opened 8 years ago
With these args, does it still output to the console if run from it?
@rakiru yes, it just hides it when double click on the .exe for example. Unfortunately Visual Studio doesn't have a way to show the output, but I can probably add a option for it to use while devving.
#ifdef _DEBUG
or w/e I guess.
Considering that the window disappears when any code crashes and you have to run from the commandline to see the error anyway, I'm OK with this.
Currently we don't do anything to the linker flags, so we get both a console and the Iceball window when launching on windows. If we were to get rid of the console it'd be nice to have something like #130 implemented first.
To get rid of the console we must both link to
SDL2main
and only specify theWINDOWS
module in the linker arguments like this: