Eclipse build - Cant use include path with subdirectory
I tried adding a c source file library to my project, this library uses a structured include folder for the header files. The .c files do #include "a/b/c.h".
Using the automatic makefile generation, all the .c and .h files are copied from the library to the bin folder. The make file is generated with the bin folder as the only include path, so the .c files cant find their included files at their nested paths.
I tried changing to the Eclipse generated makefile option so I could add an include path to the header file source tree. Which turned out not to be necessary anyway as the Eclipse generated makefile adds every single directory in the project to the include path.
Problem is that the Eclipse generated makefile copies all the ttcn files to the bin folder, but does not generate the .cc and .hh files for each ttcn file. So are missing when try to compile.
I am talking entirely about using Eclipse for build management, without having to do any manual makefile mods.
I get the same issue with a new Hello World TTCN-3 C++ project. I need to disable the Eclipse internal Makefile Generator to get it to build, otherwise the .cc and .hh files are not generated for the .ttcn files. I am sure this didn't used to be the case! New hello world projects would just build with the default settings (internal Makefile Generator enabled).
Or maybe I am missing something obvious?