mirror of
https://github.com/QuasarApp/QuasarAppCoin.git
synced 2025-05-08 15:39:36 +00:00
added support of qmake release build
This commit is contained in:
parent
0936f35f65
commit
5fa4d4313b
1
.gitignore
vendored
1
.gitignore
vendored
@ -85,6 +85,7 @@ Makefile
|
||||
bitcoin-qt
|
||||
Bitcoin-Qt.app
|
||||
background.tiff*
|
||||
*.user*
|
||||
|
||||
# Unit-tests
|
||||
Makefile.test
|
||||
|
34
QuasarAppCoin.pro
Executable file
34
QuasarAppCoin.pro
Executable file
@ -0,0 +1,34 @@
|
||||
TEMPLATE = aux
|
||||
|
||||
autogen.commands = ./autogen.sh
|
||||
|
||||
Linux.commands = make HOST=x86_64-pc-linux-gnu -j$(nproc)
|
||||
Windows.commands = make HOST=x86_64-w64-mingw32 -j$(nproc)
|
||||
|
||||
#dependencies.depends += Linux
|
||||
#dependencies.depends += Windows
|
||||
|
||||
configureWin.depends = Windows
|
||||
configureWin.commands = ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
|
||||
|
||||
configureLinux.depends = Linux
|
||||
configureLinux.commands = ./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu
|
||||
|
||||
buildWin.depends = configureWin
|
||||
buildWin.commands = make -j$(nproc)
|
||||
|
||||
buildLinux.depends = configureLinux
|
||||
buildLinux.commands = make -j$(nproc)
|
||||
|
||||
build.depends += buildLinux
|
||||
build.depends += buildWin
|
||||
|
||||
QMAKE_EXTRA_TARGETS += \
|
||||
autogen \
|
||||
Linux \
|
||||
Windows \
|
||||
configureWin \
|
||||
buildWin \
|
||||
configureLinux \
|
||||
buildLinux \
|
||||
build
|
Loading…
x
Reference in New Issue
Block a user