# List of all options: https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/conf-options-table.html

global


# strange capitalisation of value


# path with tilde
~

# try using the existing option as value for other option
${source-dir} # Comment on the same line with value

# Use line breaks
=
-DQT_MAJOR_VERSION


${non-existing-var}


non-existing-option

# use int value for binary option
5

# impossible enum value (allowed are: invent, flat, metadata)


# option with valid value with spaces

end global

# Comment with \
# line break



options kcalc
# use of module-set only option in the options block:
use-modules one


# use of unrecognized option:
new-option
end options


module-set
# use of global-only option in module-set:
stop-on-failure

# use allowed option:
one two three
end module-set

# module block without the actual name
module

end module

# double opening module block (forget ending the module block):
module kcalc
module
# body without options
end module kcalc

# non-recognized block
kcalc
repository kde-projects
end kcalc

# kate: syntax kdesrc-buildrc;