CMake upgrade from 3.8 to 3.9: a gcc can't handle new build.make's way of committing objects (objects1.rsp)
Hey everybody,
Since the upgrade from CMake 3.8 to 3.9, the way of committing objects to gcc changed from:
gcc.exe -some_options &(PROJECTS_NAME_OBJECTS) $(PROJECTS_NAME_EXTERNAL_OBJECTS) -far_more_options
to
gcc.exe -some_options @CMakeFiles/PROJECTS_NAME.dir/objects1.rsp -far_more_options
Most of our gcc compilers can handle this, but one of the compilers does not and returns:
cannot find CMakeFiles/PROJECTS_NAME.dir/path/to/last_object_in_list.c.o: Invalid argument
Is there a possibility to switch back to the old behaviour in the project or do we have to stay with the old CMake version?
Thank you very much!