Page 1 of 1

Building

Posted: Thu Jul 19, 2012 2:17 am
by gano54
Well, I've installed CodeLite today and I'll have to admit that it's quite good. Anyway, still being a high school student and actively involved in various programming competitions etc, I have the need to be able to build a single file, without needing to create a new project. Is there any way of doing this? Thanks in advance for your help.

Re: Building

Posted: Wed Aug 29, 2012 3:05 pm
by soMan
There are no ways to do it in codelite like you want. You must create workspace and at least one project in it to compile anything you want. And it is not bad, because it is silly to run an IDE to compile one file - use terminal/console to do it: it won't take much time.

Re: Building

Posted: Tue Sep 18, 2012 8:56 am
by spaces
Well, actually there is but it circumvents the whole IDE.

Right click on the tab of the file. Like hello.cpp. "Open shell at File Path"
Type in "gcc hello.cpp", then you have a.out/a.exe that you can run.

Re: Building

Posted: Wed Sep 19, 2012 11:53 pm
by SlimFast
soMan wrote:because it is silly to run an IDE to compile one file
this is not true. First of all, the IDE you use to have highlighting etc... - so coding becomes easier. Second if you have multiple single files (like for student courses) it becomes "silly" to compile all the different files at the console and switch between them. An IDE is of help here, too.

Therefore it would indeed be a nice feature.