Detect if game is build in debug or release mode?
Re: Detect if game is build in debug or release mode?
My compiler gives an error with the semicolon in and runs perfectly fine when I delete it. The expected result is obtained.
Chili
Re: Detect if game is build in debug or release mode?
I did try it to see if it would make a different, but I got the same result
I didn't get a compiler error - both with and without the semicolon - but when I build it in both debug and release config it would show "debug" in the console window
I didn't get a compiler error - both with and without the semicolon - but when I build it in both debug and release config it would show "debug" in the console window
Re: Detect if game is build in debug or release mode?
Well how did you do it?
I tried the method in the post I linked and works fine for me.
When you have it written there one part of the code should always come up as inactive depending how you have set the configuration. The inactive text will appear grayed.
I tried the method in the post I linked and works fine for me.
When you have it written there one part of the code should always come up as inactive depending how you have set the configuration. The inactive text will appear grayed.
ʕ •ᴥ•ʔ
Re: Detect if game is build in debug or release mode?
Try cleaning your solution and then building again. That's all I can think of. The code is sound.
Chili
Re: Detect if game is build in debug or release mode?
well tried to create an entirely new project, but it still havn't worked
as Lux says, yes the inactive code is greyed out
For now I can't seem to get this working, the way I want it to, so I've gonna stick to the single variable and just change that manually, as I need.
Don't know if something is set up wrong in my EDI or if it's just me doing something incredible stupid ^^'
anyway thanks for the help
as Lux says, yes the inactive code is greyed out
For now I can't seem to get this working, the way I want it to, so I've gonna stick to the single variable and just change that manually, as I need.
Don't know if something is set up wrong in my EDI or if it's just me doing something incredible stupid ^^'
anyway thanks for the help
Re: Detect if game is build in debug or release mode?
Just to be safe, why not post your solution? It might be something you've overlooked.
Chili