From 9edb5f57127489dec4b7cbdc1e60920e6002abea Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 12 Jun 2022 16:13:22 +0200 Subject: API dox: use more markup for code or commandline samples NO_CHANGELOG --- kde-modules/KDECompilerSettings.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kde-modules/KDECompilerSettings.cmake') diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index e5acd59b..ceb313ac 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -16,10 +16,10 @@ Set useful compile and link flags for C++ (and C) code. Enables many more warnings than the default, and sets stricter modes for some compiler features. By default, exceptions are disabled; -kde_target_enable_exceptions() can be used to re-enable them for a +``kde_target_enable_exceptions()`` can be used to re-enable them for a specific target. -NB: it is recommended to include this module with the NO_POLICY_SCOPE +NB: it is recommended to include this module with the ``NO_POLICY_SCOPE`` flag, otherwise you may get spurious warnings with some versions of CMake. Since 5.85 newer settings are controlled by a variable @@ -141,15 +141,15 @@ Variables Inclusion of this module defines the following variables: ``ENABLE_BSYMBOLICFUNCTIONS`` - indicates whether we make use of -Bsymbolic-functions for linking. + indicates whether we make use of ``-Bsymbolic-functions`` for linking. It ensures libraries bind global function references locally rather than at runtime. This option only has an effect on ELF-based systems. The option is disabled by default except when using :kde-module:`KDEFrameworkCompilerSettings` where it's enabled. Projects can enable - it by calling set(ENABLE_BSYMBOLICFUNCTIONS ON) or passing -DENABLE - BSYMBOLICFUNCTIONS=ON when configuring the build directory. + it by calling ``set(ENABLE_BSYMBOLICFUNCTIONS ON)`` or passing + ``-DENABLE BSYMBOLICFUNCTIONS=ON`` when configuring the build directory. Since 5.85 -- cgit v1.2.1