summaryrefslogtreecommitdiffstats
path: root/Modules/FindBacktrace.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Find*: Add intro code blocksPeter Kokot2025-08-041-5/+5
| | | | | | | | | | | - Added intro code blocks showing how to use find modules. - Synced modules documentation. - Extended few examples to make the intro code blocks fit into the modules descriptions. - Synced some RST formatting, variables descriptions and positions. - Removed few redundant internal comments. Issue: #26555
* FindBacktrace: Sync documentationPeter Kokot2025-08-031-7/+15
| | | | | - Added intro code block showing how to include this module. - Resorted variables.
* FindBacktrace: Update documentationPeter Kokot2025-03-311-20/+73
| | | | | | - Moved imported targets section to the top. - Reworded some descriptions. - Added separate examples section.
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* Modules/Find*: Include FindPackageHandleStandardArgs normallyBrad King2025-01-301-1/+1
| | | | | | | Since commit d74210a8bd (CMP0017: Remove support for OLD behavior, 2024-11-17) we can rely on CMP0017's NEW behavior unconditionally. Calling `include(FindPackageHandleStandardArgs)` in a builtin module will always get the builtin `FindPackageHandleStandardArgs`.
* Help: More syntax highlighting for literal blocksNikita Nemkin2025-01-291-1/+3
| | | | | | | | | | | | | | | Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
* Remove optional arguments from else() and end*() commandsPeter Kokot2025-01-281-2/+2
| | | | | This adds a brief explanation of the optional condition in the `else()` and removes all legacy usages of `else()` and `end*()` commands.
* FindPackageHandleStandardArgs: Clarify the FOUND_VAR optionPeter Kokot2024-12-311-1/+1
| | | | | | | | The `find_package_handle_standard_args(FOUND_VAR)` is deprecated as of CMake 3.3 and both the `<PackageName>_FOUND` and the upper-cased `<PACKAGE_NAME>_FOUND` are set with or without using this option. Additionally, find modules and docs are also synced with this to make it clearer.
* FindBacktrace: Add imported libraryDavid Faure2024-04-151-0/+22
| | | | | | | This is to avoid (a future version of) Qt from having to wrap FindBacktrace like [1]. [1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/FindWrapBacktrace.cmake
* Help: Fix some redirects reported with sphinx linkcheckAlex Turbov2022-11-071-1/+1
| | | | Mostly it's about replace `http:` with `https:` protocol.
* Fix elseif() in place of else()Artalus2019-07-031-1/+1
|
* Help: Improve description of modulesBartosz Kosiorek2019-04-231-9/+9
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-35/+36
|
* Simplify CMake per-source license noticesBrad King2016-09-271-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Modules: Format documentation to avoid over-long preformatted linesBrad King2014-10-221-9/+15
| | | | | | Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks.
* fix inclusion of FPHSARolf Eike Beer2014-10-021-1/+1
| | | | Make sure these modules also include exactly the version shipped with CMake.
* Find*: Make find_package(.. QUIET) affect Check* modules.Clinton Stimpson2014-03-301-0/+1
| | | | | | | | | | Fixes issues #14812 and #14813 where find_package(OpenMP QUIET) and find_package(Qt4 QUIET) would still print out messages when calling check*() functions. Also a partial fix for #14445 where building CMake (without cmake-gui) when Qt5 is installed and Qt4 is not installed and warnings come out of FindQt4.cmake.
* FindBacktrace: Search and report only when not already foundVadim Zhukov2013-12-191-7/+10
| | | | | | Avoid saying "... detected in default set..." each time CMake is run. Prompted by Rolf Eike Beer on cmake-developers@.
* Add FindBacktrace.cmake module.Vadim Zhukov2013-10-161-0/+91
It designed to search for implementation of backtrace(3) routine. Currently it is used in OpenBSD Ports for building Clementine music player. A lot of input from brad.king@ and neundorf@.