-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathqtcsv.pro
50 lines (39 loc) · 1.36 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
QT = core
TARGET = qtcsv
TEMPLATE = lib
VERSION = 1.7.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
}
CONFIG(staticlib): DEFINES += QTCSV_STATIC_LIB
DEFINES += QTCSV_LIBRARY
include(qtcsv.pri)
# 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
DISTFILES += \
CMakeLists.txt
OTHER_FILES += \
appveyor.yml
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)
}