Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.3.0
-
None
-
47df12225918ba82abe35921af19e547717da58b
Description
At the moment qmake overwrites .o if two cpp in different subdirs have the same filename. It would be handy if instead of creating the .o only from the .cpp file, the .o file was created based on the subdirectory and the .cpp name.
For example when having the following tree:
dir1/foo.cpp
dir2/foo.cpp
foo.cpp
then the generated .o would be :
dir1_foo.o
dir2_foo.o
foo.o
And they could sit next to each others in the same directory.