Files
RedBear-OS/local/recipes/kde/kf6-syntaxhighlighting/source/autotests/html/.kdesrc-buildrc.html
T

82 lines
4.2 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>.kdesrc-buildrc</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (kdesrc-buildrc) - Theme (Breeze Light)"/>
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
<span style="color:#898887"># List of all options: https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/conf-options-table.html</span>
<span style="font-weight:bold">global</span>
branch-group <span style="color:#b08000">kf6-qt6</span>
<span style="color:#898887"># strange capitalisation of value</span>
include-dependencies <span style="color:#b08000">TrUe</span>
<span style="color:#898887"># path with tilde</span>
kdedir ~<span style="color:#b08000">/kde/usr</span>
<span style="color:#898887"># try using the existing option as value for other option</span>
qtdir <span style="color:#006e28">${source-dir}</span> <span style="color:#898887"># Comment on the same line with value</span>
<span style="color:#898887"># Use line breaks</span>
cmake-options -DCMAKE_BUILD_TYPE=<span style="color:#b08000">RelWithDebInfo</span> <span style="color:#b08000">\</span>
<span style="color:#bf0303;text-decoration:underline">-DQT_MAJOR_VERSION</span><span style="color:#b08000">=6</span> <span style="color:#b08000">\</span>
<span style="color:#b08000">-DBUILD_WITH_QT6=ON</span>
num-cores <span style="color:#006e28">${non-existing-var}</span>
num-cores-low-mem <span style="color:#b08000">4</span>
<span style="color:#7d4c0b">non-existing-option</span> <span style="color:#b08000">12345</span>
<span style="color:#898887"># use int value for binary option</span>
install-session-driver <span style="color:#bf0303;text-decoration:underline">5</span>
<span style="color:#898887"># impossible enum value (allowed are: invent, flat, metadata)</span>
directory-layout <span style="color:#b08000">project-ids-as-folder-names</span>
<span style="color:#898887"># option with valid value with spaces</span>
cmake-generator <span style="color:#b08000">Kate</span> <span style="color:#b08000">-</span> <span style="color:#b08000">Ninja</span>
end global
<span style="color:#898887"># Comment with \</span>
<span style="color:#898887"># line break</span>
include<span style="color:#b08000"> ~/kde6/src/kdesrc-build/kf6-common-options-build-include</span>
options<span style="color:#006e28;font-weight:bold"> kcalc</span>
<span style="color:#898887"># use of module-set only option in the options block:</span>
<span style="color:#bf0303;text-decoration:underline">use-modules</span> <span style="color:#7d4c0b">one</span> <span style="color:#b08000">two</span> <span style="color:#b08000">\</span>
<span style="color:#b08000">three</span>
<span style="color:#898887"># use of unrecognized option:</span>
<span style="color:#7d4c0b">new-option</span> <span style="color:#b08000">true</span>
end options
module-set
<span style="color:#898887"># use of global-only option in module-set:</span>
<span style="color:#bf0303;text-decoration:underline">stop-on-failure</span> <span style="color:#b08000">true</span>
<span style="color:#898887"># use allowed option:</span>
use-modules<span style="color:#006e28;font-weight:bold"> one two three</span>
end module-set
<span style="color:#898887"># module block without the actual name</span>
module
repository <span style="color:#b08000">kde-projects</span>
end module
<span style="color:#898887"># double opening module block (forget ending the module block):</span>
module<span style="color:#006e28;font-weight:bold"> kcalc</span>
<span style="color:#7d4c0b">module</span> <span style="color:#b08000">kcalc</span>
<span style="color:#898887"># body without options</span>
end module kcalc
<span style="color:#898887"># non-recognized block</span>
kcalc
repository kde-projects
end kcalc
<span style="color:#898887"># </span><span style="color:#ca60ca">kate:</span><span style="color:#898887"> </span><span style="color:#0095ff">syntax</span><span style="color:#bf0303"> kdesrc-buildrc</span><span style="color:#0095ff">;</span>
</pre></body></html>