an attempt to make this file with our kBuild make leads to this error:
make.exe: *** No rule to make target `needsquoting)dirname/mywidget.cpp)', needed by `CMakeFiles/mywidget.dir/mywidget.cpp.o'. Stop.
The fun thing is that if I reorder some strings (in this particular case — move all the CMakeFiles/mywidget.dir/mywidget.cpp.o targets on top), the problem gets magically solved and the error goes away.
I have no idea what this error originates from but it might really be an issue of kBuild make. Might be extremely hard to find and fix, given make complexity, unless we are extremely lucky.
Therre is a cmake test in qtbase, see https://github.com/bitwiseworks/qtbase-os2/tree/master/tests/auto/cmake/test(needsquoting)dirname. This test case among other things generates the following in one of the make files (a snippet):
an attempt to make this file with our kBuild make leads to this error:
The fun thing is that if I reorder some strings (in this particular case — move all the
CMakeFiles/mywidget.dir/mywidget.cpp.o
targets on top), the problem gets magically solved and the error goes away.I have no idea what this error originates from but it might really be an issue of kBuild make. Might be extremely hard to find and fix, given make complexity, unless we are extremely lucky.
Found while working on https://github.com/bitwiseworks/qt5-os2/issues/16.