Warning, /graphics/digikam/core/libs/dplugins/webservices/o2/o2.pro is written in an unsupported language. File is not indexed.
0001 # Install prefix 0002 mac: PREFIX=/Users/hans/devel/libraries/osx 0003 win32: PREFIX=c:/devel/libraries/win64 0004 linux: PREFIX=/home/hans/devel/libraries/linux64 0005 0006 QT -= gui 0007 0008 TEMPLATE = lib 0009 DEFINES += O2_SHARED_LIB 0010 DEFINES += O2_DLL_EXPORT 0011 0012 CONFIG += c++11 0013 0014 # The following define makes your compiler emit warnings if you use 0015 # any Qt feature that has been marked deprecated (the exact warnings 0016 # depend on your compiler). Please consult the documentation of the 0017 # deprecated API in order to know how to port your code away from it. 0018 DEFINES += QT_DEPRECATED_WARNINGS 0019 0020 # You can make your code fail to compile if it uses deprecated APIs. 0021 # In order to do so, uncomment the following line. 0022 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 0023 0024 greaterThan(QT_VERSION, 6.2) { 0025 macx: { 0026 message("Building universal library on macOS") 0027 QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64 0028 } 0029 } 0030 0031 PREFIX=$$PREFIX 0032 SRC_PREFIX=$$SRC_PREFIX 0033 0034 LIB_TARGET=lib 0035 CONFIG(debug, release|debug) { 0036 LIB_TARGET=libd 0037 } 0038 0039 target.path = $$PREFIX/$$LIB_TARGET 0040 0041 INSTALLS += target 0042 0043 SOURCES += 0044 0045 HEADERS += 0046 0047 #### Headers to install 0048 headers.path = $$PREFIX/include/o2 0049 0050 include(src/src.pri) 0051