Difference between "Build" and "Project Only/Build"?

General questions regarding the usage of CodeLite
moyamu
CodeLite Curious
Posts: 3
Joined: Wed Oct 19, 2011 4:41 pm
Genuine User: Yes
IDE Question: C++
Contact:

Difference between "Build" and "Project Only/Build"?

Post by moyamu »

I have a workspace with a number of projects (all custom makefile type) which depend
on each other. I have entered the dependencies for each project under "build order".

Now, I would expect that "Build" from a project's context menu builds all prerequisite projects
and the selected project, while "Project Only/Build" only builds the selected project. However,
both menu items appear to build only the selected project.

Is it possible to have Codelite build a project and all projects it depends on?
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Difference between "Build" and "Project Only/Build"?

Post by eranif »

Build from the project menu will build the project + its dependecies (It will not go recursively)
While project only -> project will build the current project without any dependencies

Eran
Make sure you have read the HOW TO POST thread
moyamu
CodeLite Curious
Posts: 3
Joined: Wed Oct 19, 2011 4:41 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Difference between "Build" and "Project Only/Build"?

Post by moyamu »

That's what I expected. Only it does not work...

For example:
I have two projects A and B (both have custom build commands).
Project B's build oder is "A", and A's build order is empty.
In the workspace view, I open B's context menu and select "Build".
Result: CodeLite builds B, but not A. Why?
Post Reply