Page 1 of 1

Active projects- how to choose project to build

Posted: Wed Feb 25, 2009 6:48 am
by Tigers!
Have just started with Codelite and got the ubiquitous 'Hello world' to work.
I have created a new workspace in the right hand frame and typed in my code. When I use F7 it builds the former project ('Hello world') not my new one. I notice that in the Workspace view frame I can see the old project (Mobius_errors) and the new project (AU_PICKLIST) in the tree. The Mobius_errors is enbolded and I assume that it means that this project is the active one rather than the one in the work space. Is this correct? If so how do I highlight and build my new project? Codelite must have done some form of compiling as my new project (AU_PICKLIST) has main.o and and a main.o.d files under a debug folder that Codelite presumably created. Codelite appears to be using g++
----------Build Started--------
"mingw32-make.exe" -j 2 -f "SEW-Eurodrive_wsp.mk"
----------Building project:[ Mobius_errors - Debug ]----------
g++ -o ./Debug/Mobius_errors ./Debug/main.o
----------Build Ended----------
0 errors, 0 warnings
(Note that is the build message from the original project rather than the one I wisd to build)
Where will Codelite store all the resultant files? At present I need to go searching for the various files. Can we change paths/settings etc?

Also can we call the xx.cpp files any name we like e.g. myfile.cpp?

Re: Active projects- how to choose project to build

Posted: Wed Feb 25, 2009 12:29 pm
by eranif
Right click on the project name and select 'Set as active'

OR

On top of the project view, there is a small toolbar (5 icons) hover them and u will get a tooltip, one of them says 'set active project'

Eran