diff options
author | Aleix Pol <aleixpol@kde.org> | 2021-07-13 19:09:45 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-07-19 09:33:15 +0000 |
commit | 027797a036922a20b39532c219de0f49be86022b (patch) | |
tree | 4d1c6442ec5bce56ec7d4a3ef039aa60055bc443 /kde-modules | |
parent | a143cf02e40a46d08b6960e9296ea44d40d41b3f (diff) | |
download | extra-cmake-modules-027797a036922a20b39532c219de0f49be86022b.tar.gz extra-cmake-modules-027797a036922a20b39532c219de0f49be86022b.tar.bz2 |
Move ENABLE_BSYMBOLICFUNCTIONS documentation in its own module
Diffstat (limited to 'kde-modules')
-rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index 9f03977b..e7abfd92 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -135,6 +135,24 @@ on a target that has source files in a language other than C++. Enables exceptions for C++ source files compiled for the CMakeLists.txt file in the current directory and all subdirectories. +Variables +~~~~~~~~~ + +Inclusion of this module defines the following variables: + +``ENABLE_BSYMBOLICFUNCTIONS`` + 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 + KDEFrameworkCompilerSettings.cmake where it's enabled. Projects can enable + it by calling set(ENABLE_BSYMBOLICFUNCTIONS ON) or passing -DENABLE + BSYMBOLICFUNCTIONS=ON when configuring the build directory. + + Since 5.85 + Example usages: .. code-block:: cmake @@ -183,19 +201,6 @@ Example usages: -DQT_NO_FOREACH ) -Inclusion of this module defines the following variables: - -``ENABLE_BSYMBOLICFUNCTIONS`` - 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 - KDEFrameworkCompilerSettings.cmake where it's enabled. Projects can enable - it by calling set(ENABLE_BSYMBOLICFUNCTIONS ON) or passing -DENABLE - BSYMBOLICFUNCTIONS=ON when configuring the build directory. - Since pre-1.0.0. #]=======================================================================] |