Skip to content

Commit

Permalink
Add QT_VERSION to default value of RABBIT_BUILD_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Nov 18, 2017
1 parent 374203e commit 27252b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions pri/ThirdLibraryConfig.pri
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ win32 {
RABBITIM_PLATFORM = "android"
RABBITIM_ARCH = $${ANDROID_ARCHITECTURE}
DEFINES += ANDROID MOBILE

} else:unix {

} else:unix {
RABBITIM_SYSTEM = unix
RABBITIM_PLATFORM = unix
DEFINES += UNIX
Expand All @@ -69,9 +68,18 @@ win32 {
}else {
RABBITIM_ARCH = "x86"
}

}

isEmpty(RABBIT_CONFIG) {
CONFIG(debug, debug|release) {
RABBIT_CONFIG=Debug
} else {
RABBIT_CONFIG=Release
}
}

isEmpty(THIRD_LIBRARY_PATH) : THIRD_LIBRARY_PATH = $$PWD/../ThirdLibrary/$${RABBITIM_PLATFORM}$${RABBIT_TOOLCHAIN_VERSION}_$${RABBITIM_ARCH}
isEmpty(THIRD_LIBRARY_PATH) : THIRD_LIBRARY_PATH = $$PWD/../ThirdLibrary/$${RABBITIM_PLATFORM}$${RABBIT_TOOLCHAIN_VERSION}_$${RABBITIM_ARCH}_qt$${QT_VERSION}_$${RABBIT_CONFIG}

CONFIG(static, static|shared) {
DEFINES += RABBITIM_STATIC
Expand Down

0 comments on commit 27252b4

Please sign in to comment.