forked from iamantony/qtcsv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtcsv.pro
63 lines (52 loc) · 1.72 KB
/
qtcsv.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
QT -= gui
TARGET = qtcsv
TEMPLATE = lib
VERSION = 1.5.0
win32:TARGET_EXT = .dll
# Uncomment this setting if you want to build static library
#CONFIG += staticlib
!msvc {
# flags for gcc-like compiler
CONFIG += warn_on
QMAKE_CXXFLAGS_WARN_ON += -Werror -Wformat=2 -Wuninitialized -Winit-self \
-Wswitch-enum -Wundef -Wpointer-arith \
-Wdisabled-optimization -Wcast-align -Wcast-qual
}
DEFINES += QTCSV_LIBRARY
INCLUDEPATH += $$PWD/include/
# Uncomment this settings if you want to manually set destination directory for
# compiled library
#CONFIG(release, debug|release): DESTDIR = $$PWD
#CONFIG(debug, debug|release): DESTDIR = $$PWD
SOURCES += \
sources/writer.cpp \
sources/variantdata.cpp \
sources/stringdata.cpp \
sources/reader.cpp \
sources/contentiterator.cpp
HEADERS += \
include/qtcsv/qtcsv_global.h \
include/qtcsv/writer.h \
include/qtcsv/variantdata.h \
include/qtcsv/stringdata.h \
include/qtcsv/reader.h \
include/qtcsv/abstractdata.h \
sources/filechecker.h \
sources/contentiterator.h \
sources/symbols.h
DISTFILES += \
CMakeLists.txt
message(=== Configuration of qtcsv ===)
message(Qt version: $$[QT_VERSION])
message(Library version: $$VERSION)
message(Library files will be created in folder: $$OUT_PWD)
unix {
# settings for command "make install"
copy_lib_headers.path = /usr/local/include/qtcsv/
copy_lib_headers.files = $$PWD/include/qtcsv/*.h
target.path = /usr/local/lib
INSTALLS += target copy_lib_headers
message(--- Settings for command \"make install\")
message(Library files will be copied to folder: $$target.path)
message(Library headers will be copied to folder: $$copy_lib_headers.path)
}