#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------

QT += core gui multimedia opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QMAKE_CXXFLAGS += -std=c++11

TEMPLATE = app
TARGET = sdrangel
INCLUDEPATH += $$PWD/../exports
INCLUDEPATH += $$PWD/../sdrbase
INCLUDEPATH += $$PWD/../sdrgui
INCLUDEPATH += $$PWD/../logging

CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug

SOURCES += main.cpp

LIBS += -L../sdrgui/$${build_subdir} -lsdrgui
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
LIBS += -L../logging/$${build_subdir} -llogging

CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =

macx {
    QMAKE_TARGET_BUNDLE_PREFIX = org.f4exb
    QMAKE_BUNDLE = SDRangel
    TARGET = SDRangel
    ICON = sdrangel.apple.icns
}
