# qtractor.pri
#
PREFIX  = @ac_prefix@
BINDIR  = @ac_bindir@
LIBDIR  = @ac_libdir@
DATADIR = @ac_datadir@
MANDIR  = @ac_mandir@

VERSION = @ac_version@
CONFIG += @ac_debug@

INCLUDEPATH += @ac_incpath@
LIBS += @ac_libs@

# Extra optimization flags
QMAKE_CXXFLAGS += $(CPPFLAGS) @ac_cflags@
QMAKE_CFLAGS += $(CPPFLAGS)
QMAKE_LFLAGS += $(LDFLAGS) @ac_ldflags@

# VST3 plug-in support
VST3SDK = @ac_vst3sdk@

!isEmpty(VST3SDK) {
	DEFINES += NDEBUG
	INCLUDEPATH += $${VST3SDK}
	LIBS += -ldl
	SOURCES += \
	$${VST3SDK}/base/source/baseiids.cpp \
#	$${VST3SDK}/base/source/fstring.cpp \
	$${VST3SDK}/base/source/fobject.cpp \
	$${VST3SDK}/base/thread/source/flock.cpp \
	$${VST3SDK}/public.sdk/source/common/commoniids.cpp \
	$${VST3SDK}/public.sdk/source/vst/vstinitiids.cpp \
	$${VST3SDK}/pluginterfaces/base/coreiids.cpp \
	$${VST3SDK}/pluginterfaces/base/funknown.cpp
}

# Network support
QNETWORK = @ac_qnetwork@
!isEmpty(QNETWORK) {
	QT += network
}
