# SPDX-FileCopyrightText: 2019, 2021 Michael Pyne <mpyne@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later

# Sample rc file just for testing purposes

# This should be same as kdesrc-buildrc except for include-dependencies

global
    source-dir /tmp
    make-options -j4
    git-repository-base fake git://localhost/git-set/
    cmake-options "-DCMAKE_BUILD_TYPE=a b" bar=c baz
    cxxflags # empty
    # Make sure the cmdline switch in corresponding test is picked up
    include-dependencies true

    # To prevent 'global' flags from being stripped in modules
    override-build-system kde

    # Used to test indirect options expansion
    num-cores   8
end global

module-set set1
    repository fake
    use-modules setmod1 setmod2 setmod3
    branch fake-branch2
end module-set

module module2
    repository git://localhost/git/module2.git
    make-options -j ${num-cores}
    tag fake-tag5
end module

options setmod2
    tag tag-setmod2
end options
