mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
FeatureSummary: Add include() to examples
Since this module's documentation already includes complete usage examples, make them more complete by showing the include() explicitly. Issue: #16309
This commit is contained in:
@@ -196,6 +196,7 @@ endfunction()
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
include(FeatureSummary)
|
||||
feature_summary(WHAT ALL
|
||||
FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
|
||||
|
||||
@@ -204,6 +205,7 @@ endfunction()
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
include(FeatureSummary)
|
||||
feature_summary(WHAT ENABLED_FEATURES
|
||||
INCLUDE_QUIET_PACKAGES
|
||||
DESCRIPTION "Enabled Features:"
|
||||
|
||||
Reference in New Issue
Block a user