Page 1 of 1

Hide console window

Posted: Sat Jan 05, 2013 10:58 pm
by Ssawa
Hey, I'm making the leap from code::blocks to codelite and have gotten hung up on one little thing. I've made a g++ console project and have a little SFML code running and I'm curious if there is a way to hide the console from coming up when I run the project. In codeblocks I believe there was a drop down menu where you could select "gui" as opposed to "console" if you wanted it to run without the console for a release build for example and I'm curious if there's anything similar in codelite.

Re: Hide console window

Posted: Sat Jan 05, 2013 11:24 pm
by eranif
right click on your project and select settings -> common settings -> linker

and in the 'Options' field add (the semi colon is needed in case you have other options on that field):

Code: Select all

;-mwindows
Eran

Re: Hide console window

Posted: Sun Jan 06, 2013 1:11 am
by Ssawa
Thank you so much for the help, I really appreciate it :)