mirror of https://github.com/b4tman/qtftp.git
Add pro file structure
Change-Id: I82c697726e3689cf34c5378dc122e018d3603401 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
3235eedfa4
commit
7cf01577c2
|
@ -120,6 +120,8 @@ translations/*.qm
|
|||
translations/*_untranslated.ts
|
||||
qrc_*.cpp
|
||||
|
||||
src/qftp/qtftpversion.h
|
||||
|
||||
# Test generated files
|
||||
QObject.log
|
||||
tst_*
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += qftp
|
|
@ -0,0 +1,22 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
module_qtftp_src.subdir = src
|
||||
module_qtftp_src.target = sub-src
|
||||
|
||||
module_qtftp_examples.subdir = examples
|
||||
module_qtftp_examples.target = sub-examples
|
||||
module_qtftp_examples.depends = module_qtftp_src
|
||||
!contains(QT_BUILD_PARTS,examples) {
|
||||
module_qtftp_examples.CONFIG += no_default_install no_default_target
|
||||
}
|
||||
|
||||
module_qtftp_tests.subdir = tests
|
||||
module_qtftp_tests.target = sub-tests
|
||||
module_qtftp_tests.depends = module_qtftp_src
|
||||
module_qtftp_tests.CONFIG = no_default_install
|
||||
!contains(QT_BUILD_PARTS,tests):module_qtftp_tests.CONFIG += no_default_target
|
||||
|
||||
SUBDIRS += module_qtftp_src \
|
||||
module_qtftp_examples \
|
||||
module_qtftp_tests \
|
||||
|
|
@ -1,12 +1,16 @@
|
|||
TEMPLATE = lib
|
||||
CONFIG += staticlib
|
||||
CONFIG -= shared
|
||||
load(qt_module)
|
||||
|
||||
QT += network
|
||||
TARGET = QtFtp
|
||||
CONFIG += static
|
||||
CONFIG -= shared
|
||||
QT = core network
|
||||
|
||||
CONFIG += module
|
||||
MODULE_PRI = ../../modules/qt_ftp.pri
|
||||
MODULE = ftp
|
||||
|
||||
load(qt_module_config)
|
||||
|
||||
# Input
|
||||
HEADERS += qftp.h
|
||||
SOURCES += qftp.cpp
|
||||
|
||||
# Output
|
||||
DESTDIR = "../../lib"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += qftp
|
|
@ -0,0 +1,3 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += qftp
|
|
@ -0,0 +1,3 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += auto
|
Loading…
Reference in New Issue