I\'m doing a C++ project with eclipse CDT but It takes a lot of time building all the source files.
I\'d prefer just build the one source file which I\'m working with un
If you're using makefile project. Simply add '-j n' (n specifies the concurrent job number) into your make parameter.
open 'project properties' -> 'C/C++ Build' -> 'Behavior'(page label) -> 'Build (incremental build'(edit box)
e.g. change it to '-j 3 all', will tell make to compile 3 files at same time.
Of course, make will detect file dependencies to decide whether the files can be compiled at same time.
cheers
It was much easier than expected.
Source: http://www.cesareriva.com/single-file-compile-in-eclipse-cdt/