mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-10-31 16:17:29 +08:00
21 lines
734 B
Plaintext
21 lines
734 B
Plaintext
OUTP = $$OUT_PWD/../bin/FluentUI
|
|
BUILDBIN_PATH = $$replace(OUTP, src/../bin, bin)
|
|
QTQMLFLUENT_PATH = $$[QT_INSTALL_QML]/FluentUI
|
|
PRESET_PATH = $$PWD/build-preset
|
|
SOLIBFILE_PATH = $$OUT_PWD/libFluentUI.so
|
|
ANDROID = NO
|
|
android{
|
|
ANDROID=YES
|
|
QMAKE_PRE_LINK *= md $$replace(OUTP, /, \\)
|
|
}else{
|
|
DESTDIR += $$OUTP
|
|
}
|
|
SHAREDSCRIPT = "$$PWD\win_install.bat" SHARED "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH"
|
|
STATICSCRIPT = "$$PWD\win_install.bat" STATIC "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH"
|
|
CONFIG(sharedlib){
|
|
QMAKE_POST_LINK *= $$replace(SHAREDSCRIPT, /, \\)
|
|
}
|
|
else{
|
|
QMAKE_POST_LINK *= $$replace(STATICSCRIPT, /, \\)
|
|
}
|