mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 20:14:32 +00:00
centralize qca inclusion to crypto.prf in the base dir
svn path=/trunk/kdesupport/qca/; revision=815977
This commit is contained in:
parent
ece6dbfe27
commit
a7fc09ec5a
10
confapp.pri
10
confapp.pri
@ -1,8 +1,10 @@
|
||||
unix:include(confapp_unix.pri)
|
||||
windows:include(confapp_win.pri)
|
||||
|
||||
QCA_LIBNAME = qca
|
||||
CONFIG(debug, debug|release) {
|
||||
windows:QCA_LIBNAME = qcad
|
||||
mac:QCA_LIBNAME = qca_debug
|
||||
exists(crypto.prf) {
|
||||
# our apps should build against the qca in this tree
|
||||
include(crypto.prf)
|
||||
} else {
|
||||
# attempt to use system-wide qca
|
||||
CONFIG *= crypto
|
||||
}
|
||||
|
@ -4,12 +4,3 @@ include(../confapp.pri)
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
QT -= gui
|
||||
|
||||
# In a real application, you use the install locations
|
||||
# (eg /usr/local/include/QtCrypto and /usr/local/lib). We just do this
|
||||
# so you can see the examples without needing to install first.
|
||||
INCLUDEPATH += ../../include/QtCrypto
|
||||
LIBS += -L../../lib
|
||||
|
||||
# link
|
||||
LIBS += -l$$QCA_LIBNAME
|
||||
|
@ -3,7 +3,4 @@ CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
include(../../confapp.pri)
|
||||
|
||||
INCLUDEPATH += ../../include/QtCrypto
|
||||
LIBS += -L../../lib -l$$QCA_LIBNAME
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
@ -5,9 +5,6 @@ include(../../confapp.pri)
|
||||
TARGET = qcatool2
|
||||
DESTDIR = ../../bin
|
||||
|
||||
INCLUDEPATH += ../../include/QtCrypto
|
||||
LIBS += -L../../lib -l$$QCA_LIBNAME
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
unix:{
|
||||
|
@ -4,12 +4,3 @@ include(../confapp.pri)
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
QT -= gui
|
||||
|
||||
# In a real application, you use the install locations
|
||||
# (eg /usr/local/include/QtCrypto and /usr/local/lib). We just do this
|
||||
# so you can see the examples without needing to install first.
|
||||
INCLUDEPATH += ../../include/QtCrypto
|
||||
LIBS += -L../../lib
|
||||
|
||||
# link
|
||||
LIBS += -l$$QCA_LIBNAME
|
||||
|
Loading…
x
Reference in New Issue
Block a user