Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
0.3
-
None
-
OS X 10.8.2
qbs e5545733e8f63f62d499e73a27a72fc898a58e4e
-
ebdce31cb5762be3b0fa2fdabd03f57d6d159236
Description
Conflicting rules for producing /.../MyClass.o [obj]
while trying to apply: /.../GenericGCC.qbs:242:1 [cpp, c, objcpp, objc] -> [obj]
was already defined in: /.../GenericGCC.qbs:242:1 [cpp, c, objcpp, objc] -> [obj]
I imagine this is because I have both MyClass.cpp and MyClass.mm. QBS should include the original file extension in the object file's name to prevent such conflicts, i.e. MyClass.cpp -> MyClass.cpp.o, MyClass.mm -> MyClass.mm.o