Hi All,
I'm running into a strange problem using C::B on a workspace that contains 5 "regular" projects (that use C::B built in make) and one "Custom Makefile" project. I have set up the "This is a custom Makefile", and properly config'd my ""Make" commands". Just in case, I defined the "Selected build target options" for that Makefile target with "Platforms" as "Unix" only and type as "Commands only" (but other options don't seem to work better).
When I build or rebuild each project separately, everything works great for each and every one of the all 6 projects. When building or rebuilding the "custom Makefile" project, it is compiled using its Makefile just like it should: Rebuild calls the Makefile with a clean, then a second time with with no parm, and a valid target is built. So far, so good.
Now when I "workspace rebuild" (or "workspace build"), the 5 regular projects build fine, but C::B erroneously tries to compile the "custom Makefile" project by invoking gcc all by itself - instead of invoking the Makefile. That of course is doomed, and ends up with lotsa red lines in the log.
Even stranger:
When I workspace rebuild, the "make clean" part is done properly like it should (i.e. C::B starts the workspace rebuild by calling the Makefile of the "custom Makefile" with the "clean" option). But later, at the end of the build phase, it still tries to compile the "custom Makefile" project by itself instead of calling the Makefile a second time with no option like its Make command line says.
I'm currently using C::B nightbuild 4977.
Did anyone see this behavior already, and should I report this as a possible bug, or is there something that I could have config'd wrong that could trigger this?
Conversely, did anyone successfully tried to use a similar workspace of "mixed type" projects?
TIA,
Phil.