Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, October 2007
QMake and taget hierarchy


Message 1 in thread

Hi,
Is it possible to map the sources directory hierarchy against the target
object files ?

Here is an example :

src/dir1/file1.cpp
src/dir2/file2.cpp

will become for OBJECTS_DIR = debug

debug/dir2/file1.obj
debug/dir2/file2.obj


It is useful when you have some files with the same name.

There is an explication here :
http://www.qtcentre.org/forum/f-qt-programming-2/t-object-files-names-collision-9906.html
but no solution.

Greg