|Excluding a directory but re-including certain files? [message #883053]
||Thu, 07 June 2012 18:42
| J, King
Registered: July 2009
Is there a way in CDT 8 to over-ride the build exclusion for certain files within an excluded directory?|
I'm developing an app on top of a third party stack + framework. My project is laid out as:
--- --- lots of subdirectories, .c and .h files
--- --- my .c and .h files, some subdirectories
The third party code includes some code files that I need to compile my project, but most of the code is for their framework, which I am not using (for the most part). With a managed Eclipse C project, I was hoping I could exclude everything in "thirdparty" by default, but manually override that for the few .c files I do need to include.
The alternative would be to go in an manually exclude individual files, though that would be a lot more work (the number of unused files greatly outnumbers the used). It also makes upgrading to new versions of their stack a little trickier, as I couldn't just ignore new files but would have to go in and manually exclude them.
Is there a way to do this kind of build exclusion? Or does anyone have a suggestion for a better project layout to use with a managed make project? I'm moving this from an external Makefile project, which of course easy to specify the exact files to use.
Powered by FUDForum
. Page generated in 0.16818 seconds