views:

162

answers:

1

Hi,

i would like to know if there is an option in Eclipse (CDT) to build only part of project.

my situation is i got a very large single project which consist of many sub directories, and my build system is a custom script. now if i run the custom script from the root folder of the project, it will build all the sub folders of the projects. this takes long time and i would like to have an option to instruct the CDT to execute custom build command depending in which folder is selected in the source tree. (my custom build script would build then only the content of that directory).

is there any option to perform such action in CDT? (i'm using Galileo).

A: 

I don't think CDT provides this. However, do consider whether your project really is best suited to being a single project or if it might benefit from being split up into sub-projects. There might also be a performance boost to be found in your makefile; have you read the "Recursive Make Considered Harmful" essay?

crazyscot