Reorganized project to avoid the ".pro not found" by having all the
pro files in the same directory. With this change the android library now builds properly. This also fixes the parallel compilation problem that happened when building using +8 cores.
This commit is contained in:
30
cli/cli.pro
Normal file
30
cli/cli.pro
Normal file
@@ -0,0 +1,30 @@
|
||||
include(../config.pri)
|
||||
include(../common/defines.pri)
|
||||
|
||||
TARGET = qcma_cli
|
||||
TEMPLATE += app
|
||||
QT += network sql
|
||||
LIBS += -L../common -lqcma_common
|
||||
|
||||
SOURCES += \
|
||||
main_cli.cpp \
|
||||
singlecoreapplication.cpp \
|
||||
headlessmanager.cpp
|
||||
|
||||
HEADERS += \
|
||||
singlecoreapplication.h \
|
||||
headlessmanager.h
|
||||
|
||||
|
||||
# find packages using pkg-config
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG = libvitamtp libavformat libavcodec libavutil libswscale
|
||||
|
||||
# Linux-only config
|
||||
unix:!macx {
|
||||
man_cli.files = qcma_cli.1
|
||||
man_cli.path = $$MANDIR
|
||||
target.path = $$BINDIR
|
||||
INSTALLS += target man_cli
|
||||
}
|
Reference in New Issue
Block a user