Add pro file structure

Change-Id: I82c697726e3689cf34c5378dc122e018d3603401
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Shane Kearns 2012-04-16 15:53:01 +01:00 committed by Shane Kearns
parent 3235eedfa4
commit 7cf01577c2
7 changed files with 47 additions and 7 deletions

2
.gitignore vendored
View File

@ -120,6 +120,8 @@ translations/*.qm
translations/*_untranslated.ts
qrc_*.cpp
src/qftp/qtftpversion.h
# Test generated files
QObject.log
tst_*

3
examples/examples.pro Normal file
View File

@ -0,0 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += qftp

22
qtftp.pro Normal file
View File

@ -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 \

View File

@ -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"

3
src/src.pro Normal file
View File

@ -0,0 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += qftp

3
tests/auto/auto.pro Normal file
View File

@ -0,0 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += qftp

3
tests/tests.pro Normal file
View File

@ -0,0 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += auto