1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-02-06 21:48:24 +08:00
TaoQuick/mkspecs/features/taoBuildPath.prf

22 lines
663 B
Plaintext
Raw Normal View History

2020-06-19 10:25:24 +08:00
defineTest(setBuildPath) {
2020-06-19 01:41:34 +08:00
buildPath = $$1
CONFIG(debug,debug|release){
MOC_DIR = $${buildPath}/debug/moc
RCC_DIR = $${buildPath}/debug/rcc
UI_DIR = $${buildPath}/debug/ui
OBJECTS_DIR = $${buildPath}/debug/obj
QMLCACHE_DIR = $${buildPath}/debug/qmlcache
} else {
MOC_DIR = $${buildPath}/release/moc
RCC_DIR = $${buildPath}/release/rcc
UI_DIR = $${buildPath}/release/ui
OBJECTS_DIR = $${buildPath}/release/obj
QMLCACHE_DIR = $${buildPath}/release/qmlcache
}
2020-06-19 10:25:24 +08:00
export(MOC_DIR)
export(RCC_DIR)
export(UI_DIR)
export(OBJECTS_DIR)
export(QMLCACHE_DIR)
2020-06-19 01:41:34 +08:00
}