forked from qt-creator/qt-creator
Unittest: Fix compile when building standalone
Amends 58d00f37d4
.
Change-Id: Iafd5b1c4f78077ae75f17ca7b315916e10916a1b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -31,6 +31,15 @@ unix: DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echoserver/echo)xxx\\\"\"
|
||||
RELATIVE_DATA_PATH = ../../../share/qtcreator
|
||||
DEFINES += $$shell_quote(RELATIVE_DATA_PATH=\"$$RELATIVE_DATA_PATH\")
|
||||
|
||||
win32 {
|
||||
RELATIVE_LIBEXEC_PATH = .
|
||||
} else: macos {
|
||||
RELATIVE_LIBEXEC_PATH = ../Resources/libexec
|
||||
} else {
|
||||
RELATIVE_LIBEXEC_PATH = ../libexec/qtcreator
|
||||
}
|
||||
DEFINES += $$shell_quote(RELATIVE_LIBEXEC_PATH=\"$$RELATIVE_LIBEXEC_PATH\")
|
||||
|
||||
linux {
|
||||
QMAKE_LFLAGS_RELEASE = #disable optimization
|
||||
QMAKE_LFLAGS += -fno-merge-debug-strings -fuse-ld=gold
|
||||
|
Reference in New Issue
Block a user