0
|
1 |
CONFIG -= shared dll
|
|
2 |
contains(TEMPLATE, ".*lib"):{
|
|
3 |
CONFIG += staticlib
|
|
4 |
unix {
|
|
5 |
QMAKE_CFLAGS += $$QMAKE_CFLAGS_STATIC_LIB
|
|
6 |
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
|
|
7 |
}
|
|
8 |
}
|
|
9 |
|
|
10 |
mac {
|
|
11 |
QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB
|
|
12 |
}
|
|
13 |
|
|
14 |
symbian {
|
|
15 |
# we don't care about exports from static libraries, as they don't end up in DEF files
|
|
16 |
MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
|
|
17 |
}
|
|
18 |
|
|
19 |
!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)
|