<commit_before>import qbs 1.0
import qbs.File
import qbs.FileInfo

Product
{
    name: "SortFilterProxyModel"
    type: ["dynamiclibrary", "copied qbs resources"]
    targetName: "sortfilterproxymodel"

    destinationDirectory: project.deployDirectory + "/" + name

    readonly property stringList qtModules:
    [
        "core",
        "qml",
        "gui"
    ]

    cpp.defines:
    {
        var defines = []
        
        defines.push('QT_NO_KEYWORDS')
        defines.push('SORT_FILTER_PROXY_MODEL_LIBRARY_BUILD')

        if (qbs.buildVariant === "release")
        {
            defines.push('QT_NO_DEBUG_OUTPUT=1')
        }
        
        return defines
    }

    cpp.includePaths: [ "." ]
    
    Depends { name: "cpp" }
    Depends { name: "Qt"; submodules: product.qtModules }

    Export
    {
        cpp.defines:
        {
            var defines = []
            
            defines.push('QT_NO_KEYWORDS')
            
            return defines
        }

        cpp.includePaths: [ "." ]

        Depends { name: "cpp" }
        Depends { name: "Qt"; submodules: product.qtModules }
    }

    Group
    {
        name: "C++ Sources"
        files:
        [
            "filter.cpp",
            "qqmlsortfilterproxymodel.cpp",
            "qqmlsortfilterproxymodel_plugin.cpp",
            "sorter.cpp"
        ]
    }

    Group
    {
        name: "C++ Headers"
        files:
        [
            "filter.h",
            "qqmlsortfilterproxymodel.h",<commit_msg>Add C++11 build flags<commit_after>import qbs 1.0
import qbs.File
import qbs.FileInfo

Product
{
    name: "SortFilterProxyModel"
    type: ["dynamiclibrary", "copied qbs resources"]
    targetName: "sortfilterproxymodel"

    destinationDirectory: project.deployDirectory + "/" + name

    readonly property stringList qtModules:
    [
        "core",
        "qml",
        "gui"
    ]

    cpp.defines:
    {
        var defines = []
        
        defines.push('QT_NO_KEYWORDS')
        defines.push('SORT_FILTER_PROXY_MODEL_LIBRARY_BUILD')

        if (qbs.buildVariant === "release")
        {
            defines.push('QT_NO_DEBUG_OUTPUT=1')
        }
        
        return defines
    }

    cpp.includePaths: [ "." ]
    
    Depends { name: "cpp" }
    Depends { name: "Qt"; submodules: product.qtModules }

    Export
    {
        cpp.defines:
        {
            var defines = []
            
            defines.push('QT_NO_KEYWORDS')
            
            return defines
        }

        cpp.includePaths: [ "." ]
        cpp.cxxLanguageVersion: "c++11"

        Depends { name: "cpp" }
        Depends { name: "Qt"; submodules: product.qtModules }
    }

    Group
    {
        name: "C++ Sources"
        files:
        [
            "filter.cpp",
            "qqmlsortfilterproxymodel.cpp",
            "qqmlsortfilterproxymodel_plugin.cpp",
            "sorter.cpp"
        ]
    }

    Group
    {
        name: "C++ Headers"
        files:
        [
            "filter.h",
            "qqmlsortfilterproxymodel.h",
{'fraction_non_alphanumeric': 0.11220472440944881, 'fraction_numerical': 0.0032808398950131233, 'mean_word_length': 1.5557418273260688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3361593', 'n_tokens_mistral': 1001, 'n_tokens_neox': 949, 'n_words': 162}