mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-31 21:22:58 +08:00
22 lines
663 B
Plaintext
22 lines
663 B
Plaintext
defineTest(setBuildPath) {
|
|
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
|
|
}
|
|
export(MOC_DIR)
|
|
export(RCC_DIR)
|
|
export(UI_DIR)
|
|
export(OBJECTS_DIR)
|
|
export(QMLCACHE_DIR)
|
|
}
|