source: tests/common.pri@ 266

Last change on this file since 266 was 209, checked in by Dmitry A. Kuminov, 16 years ago

tests: Play Qt rules in order to get separate output directories for object files (needed after discarding r200).

File size: 621 bytes
RevLine 
[205]1isEmpty(DEPTH):DEPTH = .
2
[209]3os2:PLATFORM = os2
4else:win32:PLATFORM = win
5else:x11:PLATFORM = x11
6else:PLATFORM = unk
7
8# in debug_and_release, we need a -debug or -release suffix to get separate
9# output paths (it will be replaced with the correct one at runtime)
10debug_and_release:OUTPATH_SUFFIX = -debug
11else:OUTPATH_SUFFIX =
12
13OBJECTS_DIR = $$DEPTH/obj/$${PLATFORM}$${OUTPATH_SUFFIX}
[205]14MOC_DIR = $$OBJECTS_DIR
15DESTDIR = $$OBJECTS_DIR
16
[209]17# target.path isn't there by default
[205]18QMAKE_DIR_REPLACE = OBJECTS_DIR MOC_DIR RCC_DIR target.path
19
[209]20target.path = $$DEPTH/bin/$${PLATFORM}$${OUTPATH_SUFFIX}
[205]21INSTALLS += target
Note: See TracBrowser for help on using the repository browser.