mkspecs/features/static.prf
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 08 Apr 2010 14:19:33 +0300
branchRCL_3
changeset 8 3f74d0d4af4c
parent 0 1918ee327afb
child 30 5dc02b23752f
permissions -rw-r--r--
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84

CONFIG -= shared dll
contains(TEMPLATE, ".*lib"):{
    CONFIG += staticlib
    unix {
        QMAKE_CFLAGS += $$QMAKE_CFLAGS_STATIC_LIB
        QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
    }
}

mac {
    QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB
}

symbian {
    # we don't care about exports from static libraries, as they don't end up in DEF files
    MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
}

!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)