Welcome to mirror list, hosted at ThFree Co, Russian Federation.

OCApplyCommonSettings.cmake « modules « cmake - github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d933469b7422756ff0ff4d26a7d1f297890a133d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function(apply_common_target_settings targetNamme)
    target_compile_definitions(${targetNamme}
        PRIVATE
            QT_NO_CAST_TO_ASCII
            QT_NO_CAST_FROM_ASCII
            QT_NO_URL_CAST_FROM_STRING
            QT_NO_CAST_FROM_BYTEARRAY
            QT_USE_QSTRINGBUILDER
            QT_MESSAGELOGCONTEXT  # enable function name and line number in debug output
            QT_DEPRECATED_WARNINGS
            QT_NO_FOREACH
    )
endfunction()