|
|
|
@ -86,6 +86,7 @@ BUILD_DIR = build |
|
|
|
|
macx:BUILD_DIR = $$BUILD_DIR/macx |
|
|
|
|
win32:BUILD_DIR = $$BUILD_DIR/win32 |
|
|
|
|
linux-g++:BUILD_DIR = $$BUILD_DIR/linux |
|
|
|
|
linux-g++-32:BUILD_DIR = $$BUILD_DIR/linux |
|
|
|
|
linux-g++-64:BUILD_DIR = $$BUILD_DIR/linux |
|
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release):BUILD_DIR = $$BUILD_DIR/debug |
|
|
|
@ -109,7 +110,7 @@ win32 { |
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += /Od \ |
|
|
|
|
/Zi |
|
|
|
|
QMAKE_LFLAGS_RELEASE += /DEBUG |
|
|
|
|
UB_LIBRARY.path = $$DESTDIR |
|
|
|
|
UB_LIBRARY.path = DESTDIR |
|
|
|
|
UB_I18N.path = $$DESTDIR/i18n |
|
|
|
|
UB_ETC.path = $$DESTDIR |
|
|
|
|
UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library |
|
|
|
@ -117,6 +118,7 @@ win32 { |
|
|
|
|
system(echo "$$VERSION" > $$BUILD_DIR/version) |
|
|
|
|
system(echo "$$LONG_VERSION" > $$BUILD_DIR/longversion) |
|
|
|
|
system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
macx { |
|
|
|
@ -323,6 +325,21 @@ linux-g++ { |
|
|
|
|
system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
linux-g++-32 { |
|
|
|
|
LIBS += -lcrypto |
|
|
|
|
QMAKE_CFLAGS += -fopenmp |
|
|
|
|
QMAKE_CXXFLAGS += -fopenmp |
|
|
|
|
QMAKE_LFLAGS += -fopenmp |
|
|
|
|
UB_LIBRARY.path = $$DESTDIR |
|
|
|
|
UB_I18N.path = $$DESTDIR/i18n |
|
|
|
|
UB_ETC.path = $$DESTDIR |
|
|
|
|
UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library |
|
|
|
|
system(mkdir -p $$BUILD_DIR) |
|
|
|
|
system(echo "$$VERSION" > $$BUILD_DIR/version) |
|
|
|
|
system(echo "$$LONG_VERSION" > $$BUILD_DIR/longversion) |
|
|
|
|
system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
linux-g++-64 { |
|
|
|
|
LIBS += -lcrypto |
|
|
|
|
QMAKE_CFLAGS += -fopenmp |
|
|
|
|