Qv2ray/makespec/04-unix-linux.pri
Qv2ray-dev 70f7e16939
Rewrite Qv2ray.pro to make it easier to be understood. (#322)
* rewrite: rewritten Qv2ray.pro, adding project 'hooks'
* fix: fixed windows build
* fix: fixed macOS build
* Removing excess blank lines

Co-authored-by: DuckSoft <realducksoft@gmail.com>
2020-02-10 00:15:14 +08:00

27 lines
747 B
Plaintext

message(" ")
message("Configuring Qv2ray build for Linux")
isEmpty(PREFIX) {
PREFIX=/usr/local
}
use_grpc {
# For gRPC and protobuf in linux and macOS
message(" --> Linking against gRPC and protobuf library.")
LIBS += -L/usr/local/lib -lgrpc++ -lgrpc
} else {
message(" --> Linking libqvb static library, for Linux platform.")
LIBS += -L$$PWD/../libs/ -lqvb-linux64
}
message(" --> Generating desktop dependency.")
desktop.files += $$PWD/../assets/qv2ray.desktop
desktop.path = $$PREFIX/share/applications/
message(" --> Generating icons dependency.")
icon.files += $$PWD/../assets/icons/qv2ray.png
icon.path = $$PREFIX/share/icons/hicolor/256x256/apps/
target.path = $$PREFIX/bin/
INSTALLS += target desktop icon