Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
linux debian
-
134ee7d932391c7b3c1b801e64e4f5693c3cdd20 (qt/qtbase/dev) bd75dd929c89b4d2b3257c26786330dc1507a478 (qt/tqtc-qtbase/tqtc/lts-5.15)
Description
So lets say I got in .pro file
SOURCES += \
"foo.c" \
"bar.c" \
"whatever-else.c" .... etc
in bar.c, we have
#define DO_SOMETHING_DIFFERENT
#include "foo.c"
No make target is then generated for foo.c, even though it aught be there, we have explicitly included it in the sources. Only bar.c is compiled and linked.
A third party library I want to statically link with my project uses this structure of re including a "c" file that also needs to be compiled into the project on its own.
Attachments
Issue Links
- relates to
-
QTBUG-24906 qmake does not add cpp files to SOURCES / OBJECTS sections in Makefile, when the same cpp file is included into another cpp file.
- Closed
-
QTBUG-70467 Qmake cannot generate Makefile code for some .c files on MacOSX
- Closed
-
QTBUG-61842 Won't compile xxhash.c but will compile xxhash2.c
- Closed