mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Use a better name for the xbus MSVC project when using the MSVC project generator of qmake.
This commit is contained in:
@@ -76,6 +76,9 @@ macx {
|
||||
equals(WORD_SIZE,32): XBUS_DESTDIR = $$DestRoot/xbus
|
||||
}
|
||||
|
||||
# Default MSVC project name is $$TARGET, so use a better name
|
||||
QMAKE_PROJECT_NAME = xbus
|
||||
|
||||
# QMake ignores TARGET_EXT on Unix
|
||||
macx: QMAKE_POST_LINK += mkdir -p $${XBUS_DESTDIR} && cp $$OUT_PWD/lib$${TARGET}.dylib $$XBUS_DESTDIR/$${TARGET}.xpl
|
||||
else:unix: QMAKE_POST_LINK += mkdir -p $${XBUS_DESTDIR} && cp $$OUT_PWD/lib$${TARGET}.so $$XBUS_DESTDIR/$${TARGET}.xpl
|
||||
|
||||
Reference in New Issue
Block a user