Changeset 904 for tests/common.pri
- Timestamp:
- Jul 24, 2011, 8:49:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/common.pri
r610 r904 1 isEmpty(DEPTH): DEPTH = .1 isEmpty(DEPTH):error("DEPTH is not set before including common.pri!") 2 2 3 os2:PLATFORM = os2 4 else:win32:PLATFORM = win 5 else:x11:PLATFORM = x11 6 else:PLATFORM = unknown 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) 10 debug_and_release:OUTPATH_SUFFIX = -debug 11 else:OUTPATH_SUFFIX = 12 13 OBJECTS_DIR = $$DEPTH/obj/$${PLATFORM}$${OUTPATH_SUFFIX} 14 MOC_DIR = $$OBJECTS_DIR 15 DESTDIR = $$OBJECTS_DIR 16 17 # target.path isn't there by default 18 QMAKE_DIR_REPLACE = OBJECTS_DIR MOC_DIR RCC_DIR target.path 19 20 target.path = $$DEPTH/bin/$${PLATFORM}$${OUTPATH_SUFFIX} 21 INSTALLS += target 3 DESTDIR = $$OUT_PWD/$$DEPTH/. 22 4 23 5 !build_pass: { … … 54 36 } 55 37 38 # All kinds of builds should have the console if possible 56 39 win32 { 57 40 CONFIG(release, debug|release):CONFIG(qt):contains(QT, gui) { … … 63 46 } 64 47 } 48 os2 { 49 CONFIG -= windows 50 CONFIG *= console 51 }
Note:
See TracChangeset
for help on using the changeset viewer.