Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: patolfo on January 31, 2008, 05:15:33 am
-
Hell there, i am trying to learn about win32gui projects and everything runs smoothly except that at run time there is always this console behind, is there any way of putting the -mwindows in some place at compiling time?
-
is there any way of putting the -mwindows in some place at compiling time?
Sure - try the ccompiler options of your project. If you use the Win32 wizard it will create 2 targets for you: One "debug" (which has a debug console) and one "release" which does not have such a console and already uses -mwindows. Notice that C::B uses the console_runner (a C::B tool) anyways. If you don't need that, you can easily configure a tool to run the current active target's executable.
With regards, Morten.