Merge pull request #56 from PRESFIL/qmake-make-install
[FR] Add `make install` support for `linux` platform
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
13
i2pd_qt.pro
@ -3,6 +3,15 @@ QT += core gui
|
|||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
TARGET = i2pd_qt
|
TARGET = i2pd_qt
|
||||||
|
TARGET.files = i2pd_qt
|
||||||
|
linux:TARGET.path = /usr/bin/
|
||||||
|
|
||||||
|
desktop.files = contrib/website.i2pd.i2pd.desktop
|
||||||
|
linux:desktop.path = /usr/share/applications/
|
||||||
|
|
||||||
|
icons.files = contrib/icons/*
|
||||||
|
linux:icons.path = /usr/share/icons/hicolor/
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QMAKE_CXXFLAGS *= -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-deprecated-copy
|
QMAKE_CXXFLAGS *= -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-deprecated-copy
|
||||||
CONFIG += strict_c++ c++11
|
CONFIG += strict_c++ c++11
|
||||||
@ -143,6 +152,10 @@ macx {
|
|||||||
linux:!android {
|
linux:!android {
|
||||||
message("Using Linux settings")
|
message("Using Linux settings")
|
||||||
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc
|
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc
|
||||||
|
|
||||||
|
INSTALLS += TARGET
|
||||||
|
INSTALLS += icons
|
||||||
|
INSTALLS += desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
windows {
|
windows {
|
||||||
|