Merge topic 'fileapi-reply-on-failure' 0cc962665b fileapi: Generate partial reply when buildsystem generation fails 09aa968ed0 cmFileAPI: Add BuildReplyEntry wrapper around AddReplyIndexObject 5e0a644ee8 Tests/RunCMake/FileAPI: Explicitly specify expected reply index prefix 0a0bd69f4b Help: Polish cmake-file-api(7) manual Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !10652
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c041d5..cab0fcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -100,6 +100,9 @@ # set the internal encoding of CMake to UTF-8 set(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_UTF8) +# enable parallel install +set_property(GLOBAL PROPERTY INSTALL_PARALLEL ON) + # option to use COMPONENT with install command option(CMake_INSTALL_COMPONENTS "Using components when installing" OFF) mark_as_advanced(CMake_INSTALL_COMPONENTS)
diff --git a/Help/command/add_compile_definitions.rst b/Help/command/add_compile_definitions.rst index b2eb2af..04cb4c2 100644 --- a/Help/command/add_compile_definitions.rst +++ b/Help/command/add_compile_definitions.rst
@@ -25,7 +25,7 @@ Any leading ``-D`` on an item will be removed. .. |command_name| replace:: ``add_compile_definitions`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst See Also ^^^^^^^^
diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst index 869d0c2..cd537b6 100644 --- a/Help/command/add_compile_options.rst +++ b/Help/command/add_compile_options.rst
@@ -20,9 +20,9 @@ ^^^^^^^^^ .. |command_name| replace:: ``add_compile_options`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst -.. include:: OPTIONS_SHELL.txt +.. include:: include/OPTIONS_SHELL.rst Example ^^^^^^^
diff --git a/Help/command/add_link_options.rst b/Help/command/add_link_options.rst index df72715..419ee56 100644 --- a/Help/command/add_link_options.rst +++ b/Help/command/add_link_options.rst
@@ -24,13 +24,13 @@ see the :prop_tgt:`STATIC_LIBRARY_OPTIONS` target property. .. |command_name| replace:: ``add_link_options`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst -.. include:: DEVICE_LINK_OPTIONS.txt +.. include:: include/DEVICE_LINK_OPTIONS.rst -.. include:: OPTIONS_SHELL.txt +.. include:: include/OPTIONS_SHELL.rst -.. include:: LINK_OPTIONS_LINKER.txt +.. include:: include/LINK_OPTIONS_LINKER.rst See Also ^^^^^^^^
diff --git a/Help/command/cmake_minimum_required.rst b/Help/command/cmake_minimum_required.rst index 333e514..98861f9 100644 --- a/Help/command/cmake_minimum_required.rst +++ b/Help/command/cmake_minimum_required.rst
@@ -59,9 +59,9 @@ cmake_policy(VERSION <min>[...<max>]) -.. include:: POLICY_VERSION.txt +.. include:: include/POLICY_VERSION.rst -.. include:: DEPRECATED_POLICY_VERSIONS.txt +.. include:: include/DEPRECATED_POLICY_VERSIONS.rst See Also ^^^^^^^^
diff --git a/Help/command/cmake_policy.rst b/Help/command/cmake_policy.rst index 276e160..bbec8e6 100644 --- a/Help/command/cmake_policy.rst +++ b/Help/command/cmake_policy.rst
@@ -39,12 +39,12 @@ component separators, resulting in the ``...<max>`` part being ignored and preserving the pre-3.12 behavior of basing policies on ``<min>``. -.. include:: POLICY_VERSION.txt +.. include:: include/POLICY_VERSION.rst Note that the :command:`cmake_minimum_required(VERSION)` command implicitly calls ``cmake_policy(VERSION)`` too. -.. include:: DEPRECATED_POLICY_VERSIONS.txt +.. include:: include/DEPRECATED_POLICY_VERSIONS.rst Setting Policies Explicitly ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -58,7 +58,7 @@ one may fix the project to work with the new behavior and set the policy state to ``NEW``. -.. include:: ../policy/DEPRECATED.txt +.. include:: ../policy/include/DEPRECATED.rst Checking Policy Settings ^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/command/enable_language.rst b/Help/command/enable_language.rst index d587310..1bffef6 100644 --- a/Help/command/enable_language.rst +++ b/Help/command/enable_language.rst
@@ -11,7 +11,7 @@ the :command:`project` command but does not create any of the extra variables that are created by the :command:`project` command. -.. include:: SUPPORTED_LANGUAGES.txt +.. include:: include/SUPPORTED_LANGUAGES.rst The following restrictions apply to where ``enable_language()`` may be called:
diff --git a/Help/command/find_file.rst b/Help/command/find_file.rst index 9ef8a6d..9695ddf 100644 --- a/Help/command/find_file.rst +++ b/Help/command/find_file.rst
@@ -45,4 +45,4 @@ .. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace:: :variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE` -.. include:: FIND_XXX.txt +.. include:: include/FIND_XXX.rst
diff --git a/Help/command/find_library.rst b/Help/command/find_library.rst index fea5e74..b150818 100644 --- a/Help/command/find_library.rst +++ b/Help/command/find_library.rst
@@ -44,7 +44,7 @@ .. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace:: :variable:`CMAKE_FIND_ROOT_PATH_MODE_LIBRARY` -.. include:: FIND_XXX.txt +.. include:: include/FIND_XXX.rst When more than one value is given to the ``NAMES`` option this command by default will consider one name at a time and search every directory
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index 089a3d6..5d2e326 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst
@@ -436,7 +436,7 @@ ``REGISTRY_VIEW`` can be specified to manage ``Windows`` registry queries specified as part of ``PATHS`` and ``HINTS``. - .. include:: FIND_XXX_REGISTRY_VIEW.txt + .. include:: include/FIND_XXX_REGISTRY_VIEW.rst If ``PATH_SUFFIXES`` is specified, the suffixes are appended to each (``W``) or (``U``) directory entry one-by-one. @@ -620,8 +620,8 @@ and ``<prefix>/<name>.framework/Versions/*/Resources/CMake``. In previous versions of CMake, this order was unspecified. -.. include:: FIND_XXX_ROOT.txt -.. include:: FIND_XXX_ORDER.txt +.. include:: include/FIND_XXX_ROOT.rst +.. include:: include/FIND_XXX_ORDER.rst By default the value stored in the result variable will be the path at which the file is found. The :variable:`CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS`
diff --git a/Help/command/find_path.rst b/Help/command/find_path.rst index 080c231..ab44e32 100644 --- a/Help/command/find_path.rst +++ b/Help/command/find_path.rst
@@ -44,7 +44,7 @@ .. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace:: :variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE` -.. include:: FIND_XXX.txt +.. include:: include/FIND_XXX.rst When searching for frameworks, if the file is specified as ``A/b.h``, then the framework search will look for ``A.framework/Headers/b.h``. If that
diff --git a/Help/command/find_program.rst b/Help/command/find_program.rst index d20ca93..bde5289 100644 --- a/Help/command/find_program.rst +++ b/Help/command/find_program.rst
@@ -35,7 +35,7 @@ .. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace:: :variable:`CMAKE_FIND_ROOT_PATH_MODE_PROGRAM` -.. include:: FIND_XXX.txt +.. include:: include/FIND_XXX.rst When more than one value is given to the ``NAMES`` option this command by default will consider one name at a time and search every directory
diff --git a/Help/command/DEPRECATED_POLICY_VERSIONS.txt b/Help/command/include/DEPRECATED_POLICY_VERSIONS.rst similarity index 100% rename from Help/command/DEPRECATED_POLICY_VERSIONS.txt rename to Help/command/include/DEPRECATED_POLICY_VERSIONS.rst
diff --git a/Help/command/DEVICE_LINK_OPTIONS.txt b/Help/command/include/DEVICE_LINK_OPTIONS.rst similarity index 100% rename from Help/command/DEVICE_LINK_OPTIONS.txt rename to Help/command/include/DEVICE_LINK_OPTIONS.rst
diff --git a/Help/command/FIND_XXX.txt b/Help/command/include/FIND_XXX.rst similarity index 97% rename from Help/command/FIND_XXX.txt rename to Help/command/include/FIND_XXX.rst index 299c761..9d063ad 100644 --- a/Help/command/FIND_XXX.txt +++ b/Help/command/include/FIND_XXX.rst
@@ -61,7 +61,7 @@ ``REGISTRY_VIEW`` .. versionadded:: 3.24 - .. include:: FIND_XXX_REGISTRY_VIEW.txt + .. include:: include/FIND_XXX_REGISTRY_VIEW.rst ``PATH_SUFFIXES`` Specify additional subdirectories to check below each directory @@ -261,5 +261,5 @@ :variable:`CMAKE_FIND_APPBUNDLE` variables determine the order of preference between Apple-style and unix-style package components. -.. include:: FIND_XXX_ROOT.txt -.. include:: FIND_XXX_ORDER.txt +.. include:: include/FIND_XXX_ROOT.rst +.. include:: include/FIND_XXX_ORDER.rst
diff --git a/Help/command/FIND_XXX_ORDER.txt b/Help/command/include/FIND_XXX_ORDER.rst similarity index 100% rename from Help/command/FIND_XXX_ORDER.txt rename to Help/command/include/FIND_XXX_ORDER.rst
diff --git a/Help/command/FIND_XXX_REGISTRY_VIEW.txt b/Help/command/include/FIND_XXX_REGISTRY_VIEW.rst similarity index 100% rename from Help/command/FIND_XXX_REGISTRY_VIEW.txt rename to Help/command/include/FIND_XXX_REGISTRY_VIEW.rst
diff --git a/Help/command/FIND_XXX_ROOT.txt b/Help/command/include/FIND_XXX_ROOT.rst similarity index 100% rename from Help/command/FIND_XXX_ROOT.txt rename to Help/command/include/FIND_XXX_ROOT.rst
diff --git a/Help/command/GENEX_NOTE.txt b/Help/command/include/GENEX_NOTE.rst similarity index 100% rename from Help/command/GENEX_NOTE.txt rename to Help/command/include/GENEX_NOTE.rst
diff --git a/Help/command/LINK_LIBRARIES_LINKER.txt b/Help/command/include/LINK_LIBRARIES_LINKER.rst similarity index 100% rename from Help/command/LINK_LIBRARIES_LINKER.txt rename to Help/command/include/LINK_LIBRARIES_LINKER.rst
diff --git a/Help/command/LINK_OPTIONS_LINKER.txt b/Help/command/include/LINK_OPTIONS_LINKER.rst similarity index 100% rename from Help/command/LINK_OPTIONS_LINKER.txt rename to Help/command/include/LINK_OPTIONS_LINKER.rst
diff --git a/Help/command/OPTIONS_SHELL.txt b/Help/command/include/OPTIONS_SHELL.rst similarity index 100% rename from Help/command/OPTIONS_SHELL.txt rename to Help/command/include/OPTIONS_SHELL.rst
diff --git a/Help/command/POLICY_VERSION.txt b/Help/command/include/POLICY_VERSION.rst similarity index 100% rename from Help/command/POLICY_VERSION.txt rename to Help/command/include/POLICY_VERSION.rst
diff --git a/Help/command/SUPPORTED_LANGUAGES.txt b/Help/command/include/SUPPORTED_LANGUAGES.rst similarity index 100% rename from Help/command/SUPPORTED_LANGUAGES.txt rename to Help/command/include/SUPPORTED_LANGUAGES.rst
diff --git a/Help/command/UNSET_NOTE.txt b/Help/command/include/UNSET_NOTE.rst similarity index 100% rename from Help/command/UNSET_NOTE.txt rename to Help/command/include/UNSET_NOTE.rst
diff --git a/Help/command/include_directories.rst b/Help/command/include_directories.rst index e68bb81..dcb5620 100644 --- a/Help/command/include_directories.rst +++ b/Help/command/include_directories.rst
@@ -30,7 +30,7 @@ considered in dependency calculations - see compiler docs. .. |command_name| replace:: ``include_directories`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst .. note::
diff --git a/Help/command/project.rst b/Help/command/project.rst index b42a034..0b274e2 100644 --- a/Help/command/project.rst +++ b/Help/command/project.rst
@@ -123,7 +123,7 @@ Selects which programming languages are needed to build the project. -.. include:: SUPPORTED_LANGUAGES.txt +.. include:: include/SUPPORTED_LANGUAGES.rst By default ``C`` and ``CXX`` are enabled if no language options are given. Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages,
diff --git a/Help/command/set.rst b/Help/command/set.rst index fa635c6..6c1af47 100644 --- a/Help/command/set.rst +++ b/Help/command/set.rst
@@ -38,7 +38,7 @@ can be used as an alternate method to the :command:`set(PARENT_SCOPE)` and :command:`unset(PARENT_SCOPE)` commands to update the parent scope. -.. include:: UNSET_NOTE.txt +.. include:: include/UNSET_NOTE.rst Set Cache Entry ^^^^^^^^^^^^^^^
diff --git a/Help/command/target_compile_definitions.rst b/Help/command/target_compile_definitions.rst index 5796b00..61cfb19 100644 --- a/Help/command/target_compile_definitions.rst +++ b/Help/command/target_compile_definitions.rst
@@ -26,7 +26,7 @@ Allow setting ``INTERFACE`` items on :ref:`IMPORTED targets <Imported Targets>`. .. |command_name| replace:: ``target_compile_definitions`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst Any leading ``-D`` on an item will be removed. Empty items are ignored. For example, the following are all equivalent:
diff --git a/Help/command/target_compile_features.rst b/Help/command/target_compile_features.rst index 531af81..1b40948 100644 --- a/Help/command/target_compile_features.rst +++ b/Help/command/target_compile_features.rst
@@ -33,7 +33,7 @@ .. |command_name| replace:: ``target_compile_features`` .. |more_see_also| replace:: See the :manual:`cmake-compile-features(7)` manual for information on compile features and a list of supported compilers. -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst :start-line: 1 See Also
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst index 64f45aa..c734c1a 100644 --- a/Help/command/target_compile_options.rst +++ b/Help/command/target_compile_options.rst
@@ -39,9 +39,9 @@ Allow setting ``INTERFACE`` items on :ref:`IMPORTED targets <Imported Targets>`. .. |command_name| replace:: ``target_compile_options`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst -.. include:: OPTIONS_SHELL.txt +.. include:: include/OPTIONS_SHELL.rst See Also ^^^^^^^^
diff --git a/Help/command/target_include_directories.rst b/Help/command/target_include_directories.rst index bb5f9c3..38bf581 100644 --- a/Help/command/target_include_directories.rst +++ b/Help/command/target_include_directories.rst
@@ -41,7 +41,7 @@ populated with the specified directories. .. |command_name| replace:: ``target_include_directories`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst Specified include directories may be absolute paths or relative paths. A relative path will be interpreted as relative to the current source @@ -71,7 +71,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` -.. include:: /include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.txt +.. include:: /include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.rst See Also ^^^^^^^^
diff --git a/Help/command/target_link_directories.rst b/Help/command/target_link_directories.rst index 67d3352..2226e4c 100644 --- a/Help/command/target_link_directories.rst +++ b/Help/command/target_link_directories.rst
@@ -35,7 +35,7 @@ property instead of being appended. .. |command_name| replace:: ``target_link_directories`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst .. note::
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst index 4a1140b..a8ba92c 100644 --- a/Help/command/target_link_libraries.rst +++ b/Help/command/target_link_libraries.rst
@@ -150,7 +150,7 @@ See the :manual:`cmake-buildsystem(7)` manual for more on defining buildsystem properties. -.. include:: ../command/LINK_LIBRARIES_LINKER.txt +.. include:: ../command/include/LINK_LIBRARIES_LINKER.rst Libraries for a Target and/or its Dependents ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -416,7 +416,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: :prop_tgt:`INTERFACE_LINK_LIBRARIES` -.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt +.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.rst See Also ^^^^^^^^
diff --git a/Help/command/target_link_options.rst b/Help/command/target_link_options.rst index 7561c99..07ef7e9 100644 --- a/Help/command/target_link_options.rst +++ b/Help/command/target_link_options.rst
@@ -43,13 +43,13 @@ :ref:`IMPORTED targets <Imported Targets>` only support ``INTERFACE`` items. .. |command_name| replace:: ``target_link_options`` -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst -.. include:: DEVICE_LINK_OPTIONS.txt +.. include:: include/DEVICE_LINK_OPTIONS.rst -.. include:: OPTIONS_SHELL.txt +.. include:: include/OPTIONS_SHELL.rst -.. include:: LINK_OPTIONS_LINKER.txt +.. include:: include/LINK_OPTIONS_LINKER.rst See Also ^^^^^^^^
diff --git a/Help/command/target_precompile_headers.rst b/Help/command/target_precompile_headers.rst index 61ea0aa..61bd973 100644 --- a/Help/command/target_precompile_headers.rst +++ b/Help/command/target_precompile_headers.rst
@@ -78,7 +78,7 @@ brackets must be specified by absolute path. Also, when specifying angle brackets inside a generator expression, be sure to encode the closing ``>`` as :genex:`$<ANGLE-R>`. For example: -.. include:: GENEX_NOTE.txt +.. include:: include/GENEX_NOTE.rst :start-line: 1 .. code-block:: cmake
diff --git a/Help/command/unset.rst b/Help/command/unset.rst index 522be89..f78d01f 100644 --- a/Help/command/unset.rst +++ b/Help/command/unset.rst
@@ -18,7 +18,7 @@ above the current scope. See the same option in the :command:`set` command for further details. -.. include:: UNSET_NOTE.txt +.. include:: include/UNSET_NOTE.rst Unset Environment Variable ^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/envvar/ADSP_ROOT.rst b/Help/envvar/ADSP_ROOT.rst index ee2328b..f624ac4 100644 --- a/Help/envvar/ADSP_ROOT.rst +++ b/Help/envvar/ADSP_ROOT.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.24 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``ADSP_ROOT`` environment variable specifies a default value for the :variable:`CMAKE_ADSP_ROOT` variable when there is no explicit
diff --git a/Help/envvar/ASM_DIALECT.rst b/Help/envvar/ASM_DIALECT.rst index 11dbe5a..4c271fd 100644 --- a/Help/envvar/ASM_DIALECT.rst +++ b/Help/envvar/ASM_DIALECT.rst
@@ -1,7 +1,7 @@ ASM<DIALECT> ------------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling a specific dialect of assembly language files. ``ASM<DIALECT>`` can be one of:
diff --git a/Help/envvar/ASM_DIALECTFLAGS.rst b/Help/envvar/ASM_DIALECTFLAGS.rst index f13efbb..e2b48a1 100644 --- a/Help/envvar/ASM_DIALECTFLAGS.rst +++ b/Help/envvar/ASM_DIALECTFLAGS.rst
@@ -1,7 +1,7 @@ ASM<DIALECT>FLAGS ----------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling a specific dialect of an assembly language. ``ASM<DIALECT>FLAGS`` can be one of: @@ -14,6 +14,6 @@ .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``ASM<DIALECT>`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_ASM<DIALECT>_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/CC.rst b/Help/envvar/CC.rst index 1bb8d51..31867e4 100644 --- a/Help/envvar/CC.rst +++ b/Help/envvar/CC.rst
@@ -1,7 +1,7 @@ CC -- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``C`` language files. Will only be used by CMake on the first configuration to determine ``C`` compiler, after which the
diff --git a/Help/envvar/CFLAGS.rst b/Help/envvar/CFLAGS.rst index a6b2452..987ff3b 100644 --- a/Help/envvar/CFLAGS.rst +++ b/Help/envvar/CFLAGS.rst
@@ -1,12 +1,12 @@ CFLAGS ------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``C`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``C`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_C_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/CLICOLOR.rst b/Help/envvar/CLICOLOR.rst index 404e79e..b899ded 100644 --- a/Help/envvar/CLICOLOR.rst +++ b/Help/envvar/CLICOLOR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.21 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Set to ``0`` to tell command-line tools not to print color messages even if connected to a terminal.
diff --git a/Help/envvar/CLICOLOR_FORCE.rst b/Help/envvar/CLICOLOR_FORCE.rst index 639ed85..60a54fb 100644 --- a/Help/envvar/CLICOLOR_FORCE.rst +++ b/Help/envvar/CLICOLOR_FORCE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.5 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Set to a non-empty value, other than ``0``, to tell command-line tools to print color messages even if not connected to a terminal.
diff --git a/Help/envvar/CMAKE_APPBUNDLE_PATH.rst b/Help/envvar/CMAKE_APPBUNDLE_PATH.rst index d80e08d..7b5f761 100644 --- a/Help/envvar/CMAKE_APPBUNDLE_PATH.rst +++ b/Help/envvar/CMAKE_APPBUNDLE_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_APPBUNDLE_PATH -------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_APPBUNDLE_PATH`` environment variable may be set to a list of directories to be searched for macOS application bundles
diff --git a/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst b/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst index adecb72..31558ea 100644 --- a/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst +++ b/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.19.2 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst On Apple Silicon hosts running macOS, set this environment variable to tell CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
diff --git a/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst b/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst index a50797c..0030469 100644 --- a/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst +++ b/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.12 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specifies the maximum number of concurrent processes to use when building using the ``cmake --build`` command line
diff --git a/Help/envvar/CMAKE_BUILD_TYPE.rst b/Help/envvar/CMAKE_BUILD_TYPE.rst index f798aff..b2627f7 100644 --- a/Help/envvar/CMAKE_BUILD_TYPE.rst +++ b/Help/envvar/CMAKE_BUILD_TYPE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.22 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_BUILD_TYPE`` environment variable specifies a default value for the :variable:`CMAKE_BUILD_TYPE` variable when there is no explicit
diff --git a/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst b/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst index d3d0aa9..2f34e00 100644 --- a/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst +++ b/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.24 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specifies a default value for the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable when there is no explicit value given on the first run.
diff --git a/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst b/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst index 833aa4a..39d98c4 100644 --- a/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst +++ b/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.22 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_CONFIGURATION_TYPES`` environment variable specifies a default value for the :variable:`CMAKE_CONFIGURATION_TYPES` variable
diff --git a/Help/envvar/CMAKE_CONFIG_DIR.rst b/Help/envvar/CMAKE_CONFIG_DIR.rst index 1b5f14f..8f93a56 100644 --- a/Help/envvar/CMAKE_CONFIG_DIR.rst +++ b/Help/envvar/CMAKE_CONFIG_DIR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.31 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify a CMake user-wide configuration directory for :manual:`cmake-file-api(7)` queries.
diff --git a/Help/envvar/CMAKE_CONFIG_TYPE.rst b/Help/envvar/CMAKE_CONFIG_TYPE.rst index 168593d..d1d2301 100644 --- a/Help/envvar/CMAKE_CONFIG_TYPE.rst +++ b/Help/envvar/CMAKE_CONFIG_TYPE.rst
@@ -1,7 +1,7 @@ CMAKE_CONFIG_TYPE ----------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default build configuration for :ref:`Build Tool Mode` and ``ctest`` build handler when there is no explicit configuration given.
diff --git a/Help/envvar/CMAKE_CROSSCOMPILING_EMULATOR.rst b/Help/envvar/CMAKE_CROSSCOMPILING_EMULATOR.rst index 3e397d8..40d6c84 100644 --- a/Help/envvar/CMAKE_CROSSCOMPILING_EMULATOR.rst +++ b/Help/envvar/CMAKE_CROSSCOMPILING_EMULATOR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.28 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default value for :variable:`CMAKE_CROSSCOMPILING_EMULATOR` when there is no explicit configuration given on the first run while creating a new
diff --git a/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst b/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst index a9d868a..368617d 100644 --- a/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst +++ b/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.31 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default value for :variable:`CMAKE_EXPORT_BUILD_DATABASE` when there is no explicit configuration given on the first run while creating a new build tree.
diff --git a/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst b/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst index 9e678be..50800aa 100644 --- a/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst +++ b/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.17 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default value for :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` when there is no explicit configuration given on the first run while creating a new
diff --git a/Help/envvar/CMAKE_FRAMEWORK_PATH.rst b/Help/envvar/CMAKE_FRAMEWORK_PATH.rst index f543132..e8a360d 100644 --- a/Help/envvar/CMAKE_FRAMEWORK_PATH.rst +++ b/Help/envvar/CMAKE_FRAMEWORK_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_FRAMEWORK_PATH -------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_FRAMEWORK_PATH`` environment variable may be set to a list of directories to be searched for macOS frameworks by the :command:`find_library`,
diff --git a/Help/envvar/CMAKE_GENERATOR.rst b/Help/envvar/CMAKE_GENERATOR.rst index 596e8f3..284b15c 100644 --- a/Help/envvar/CMAKE_GENERATOR.rst +++ b/Help/envvar/CMAKE_GENERATOR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.15 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specifies the CMake default generator to use when no generator is supplied with :option:`-G <cmake -G>`. If the provided value doesn't name a generator
diff --git a/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst b/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst index 8ca7d80..a3efbbd 100644 --- a/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst +++ b/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.15 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Default value for :variable:`CMAKE_GENERATOR_INSTANCE` if no Cache entry is present. This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
diff --git a/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst b/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst index e657904..0c0d9aa 100644 --- a/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst +++ b/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.15 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Default value for :variable:`CMAKE_GENERATOR_PLATFORM` if no Cache entry is present and no value is specified by :option:`cmake -A` option.
diff --git a/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst b/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst index 03208e7..f90b62d 100644 --- a/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst +++ b/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.15 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Default value for :variable:`CMAKE_GENERATOR_TOOLSET` if no Cache entry is present and no value is specified by :option:`cmake -T` option.
diff --git a/Help/envvar/CMAKE_INCLUDE_PATH.rst b/Help/envvar/CMAKE_INCLUDE_PATH.rst index a42460d..d4093dc 100644 --- a/Help/envvar/CMAKE_INCLUDE_PATH.rst +++ b/Help/envvar/CMAKE_INCLUDE_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_INCLUDE_PATH ------------------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_INCLUDE_PATH`` environment variable may be set to a list of directories to be searched by the :command:`find_file` and :command:`find_path` commands.
diff --git a/Help/envvar/CMAKE_INSTALL_MODE.rst b/Help/envvar/CMAKE_INSTALL_MODE.rst index 4549ea1..eab90a1 100644 --- a/Help/envvar/CMAKE_INSTALL_MODE.rst +++ b/Help/envvar/CMAKE_INSTALL_MODE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.22 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_INSTALL_MODE`` environment variable allows users to operate CMake in an alternate mode of :command:`file(INSTALL)` and :command:`install()`.
diff --git a/Help/envvar/CMAKE_INSTALL_PARALLEL_LEVEL.rst b/Help/envvar/CMAKE_INSTALL_PARALLEL_LEVEL.rst index 84b5930..6af6732 100644 --- a/Help/envvar/CMAKE_INSTALL_PARALLEL_LEVEL.rst +++ b/Help/envvar/CMAKE_INSTALL_PARALLEL_LEVEL.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.31 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specifies the default maximum number of concurrent processes to use when installing using ``cmake --install``.
diff --git a/Help/envvar/CMAKE_INSTALL_PREFIX.rst b/Help/envvar/CMAKE_INSTALL_PREFIX.rst index 5c3e055..a80b537 100644 --- a/Help/envvar/CMAKE_INSTALL_PREFIX.rst +++ b/Help/envvar/CMAKE_INSTALL_PREFIX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.29 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_INSTALL_PREFIX`` environment variable specifies a custom default value for the :variable:`CMAKE_INSTALL_PREFIX` variable in place of the
diff --git a/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst b/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst index c384fa1..d70bed0 100644 --- a/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst +++ b/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.17 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Default compiler launcher to use for the specified language. Will only be used by CMake to initialize the variable on the first configuration. Afterwards, it
diff --git a/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst b/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst index 36c79fa..d21c6a8 100644 --- a/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst +++ b/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.27 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst A :ref:`semicolon-separated list <CMake Language Lists>` of directories to exclude from the :variable:`CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`
diff --git a/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst b/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst index 6251d9c..206caec 100644 --- a/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst +++ b/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.21 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Default launcher to use when linking a target of the specified language. Will only be used by CMake to initialize the variable on the first configuration.
diff --git a/Help/envvar/CMAKE_LIBRARY_PATH.rst b/Help/envvar/CMAKE_LIBRARY_PATH.rst index a51100d..0b5a997 100644 --- a/Help/envvar/CMAKE_LIBRARY_PATH.rst +++ b/Help/envvar/CMAKE_LIBRARY_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_LIBRARY_PATH ------------------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_LIBRARY_PATH`` environment variable may be set to a list of directories to be searched by the :command:`find_library` command.
diff --git a/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst b/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst index 2d65b60..4a6cced 100644 --- a/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst +++ b/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.27 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Maximum recursion depth for CMake scripts. This environment variable is used if the :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH` variable is not set.
diff --git a/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst b/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst index bb04b30..3efb05f 100644 --- a/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst +++ b/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_MSVCIDE_RUN_PATH ---------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Extra PATH locations for custom commands when using :ref:`Visual Studio Generators`.
diff --git a/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst b/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst index ef7d547..141e594 100644 --- a/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst +++ b/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst
@@ -1,7 +1,7 @@ CMAKE_OSX_ARCHITECTURES ----------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Target specific architectures for macOS.
diff --git a/Help/envvar/CMAKE_POLICY_VERSION_MINIMUM.rst b/Help/envvar/CMAKE_POLICY_VERSION_MINIMUM.rst index 0521f5c..dd881a6 100644 --- a/Help/envvar/CMAKE_POLICY_VERSION_MINIMUM.rst +++ b/Help/envvar/CMAKE_POLICY_VERSION_MINIMUM.rst
@@ -3,7 +3,7 @@ .. versionadded:: 4.0 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default value for :variable:`CMAKE_POLICY_VERSION_MINIMUM` when there is no explicit configuration given on the first run while creating a new
diff --git a/Help/envvar/CMAKE_PREFIX_PATH.rst b/Help/envvar/CMAKE_PREFIX_PATH.rst index 276fdd6..f096cca 100644 --- a/Help/envvar/CMAKE_PREFIX_PATH.rst +++ b/Help/envvar/CMAKE_PREFIX_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_PREFIX_PATH ----------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_PREFIX_PATH`` environment variable may be set to a list of directories specifying installation *prefixes* to be searched by the
diff --git a/Help/envvar/CMAKE_PROGRAM_PATH.rst b/Help/envvar/CMAKE_PROGRAM_PATH.rst index bfc7a30..6d86548 100644 --- a/Help/envvar/CMAKE_PROGRAM_PATH.rst +++ b/Help/envvar/CMAKE_PROGRAM_PATH.rst
@@ -1,7 +1,7 @@ CMAKE_PROGRAM_PATH ------------------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_PROGRAM_PATH`` environment variable may be set to a list of directories to be searched by the :command:`find_program` command.
diff --git a/Help/envvar/CMAKE_TEST_LAUNCHER.rst b/Help/envvar/CMAKE_TEST_LAUNCHER.rst index d620ce5..40a93e2 100644 --- a/Help/envvar/CMAKE_TEST_LAUNCHER.rst +++ b/Help/envvar/CMAKE_TEST_LAUNCHER.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.29 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The default value for the :variable:`CMAKE_TEST_LAUNCHER` variable when there is no explicit configuration given on the first run while creating a new
diff --git a/Help/envvar/CMAKE_TLS_VERIFY.rst b/Help/envvar/CMAKE_TLS_VERIFY.rst index 9571cb8..84471a4 100644 --- a/Help/envvar/CMAKE_TLS_VERIFY.rst +++ b/Help/envvar/CMAKE_TLS_VERIFY.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.30 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify the default value for the :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands' ``TLS_VERIFY`` option.
diff --git a/Help/envvar/CMAKE_TLS_VERSION.rst b/Help/envvar/CMAKE_TLS_VERSION.rst index c411861..a9589f3 100644 --- a/Help/envvar/CMAKE_TLS_VERSION.rst +++ b/Help/envvar/CMAKE_TLS_VERSION.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.30 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify the default value for the :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
diff --git a/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst b/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst index 7ea9cea..1b1c57c 100644 --- a/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst +++ b/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.21 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst The ``CMAKE_TOOLCHAIN_FILE`` environment variable specifies a default value for the :variable:`CMAKE_TOOLCHAIN_FILE` variable when there is no explicit
diff --git a/Help/envvar/CSFLAGS.rst b/Help/envvar/CSFLAGS.rst index 6e909fe..1a7c4c9 100644 --- a/Help/envvar/CSFLAGS.rst +++ b/Help/envvar/CSFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.9.2 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``CSharp`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CSharp_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``CSharp`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_CSharp_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst b/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst index e1991b2..6d893f9 100644 --- a/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst +++ b/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst
@@ -1,7 +1,7 @@ CTEST_INTERACTIVE_DEBUG_MODE ---------------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Environment variable that will exist and be set to ``1`` when a test executed by :manual:`ctest(1)` is run in interactive mode.
diff --git a/Help/envvar/CTEST_NO_TESTS_ACTION.rst b/Help/envvar/CTEST_NO_TESTS_ACTION.rst index 2bc86dc..c5f74a7 100644 --- a/Help/envvar/CTEST_NO_TESTS_ACTION.rst +++ b/Help/envvar/CTEST_NO_TESTS_ACTION.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.26 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Environment variable that controls how :manual:`ctest <ctest(1)>` handles cases when there are no tests to run. Possible values are: ``error``,
diff --git a/Help/envvar/CTEST_OUTPUT_ON_FAILURE.rst b/Help/envvar/CTEST_OUTPUT_ON_FAILURE.rst index d8b4262..7ec642c 100644 --- a/Help/envvar/CTEST_OUTPUT_ON_FAILURE.rst +++ b/Help/envvar/CTEST_OUTPUT_ON_FAILURE.rst
@@ -1,7 +1,7 @@ CTEST_OUTPUT_ON_FAILURE ----------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Boolean environment variable that controls if the output should be logged for failed tests. Set the value to ``1``, ``True``, or ``ON`` to enable output on failure.
diff --git a/Help/envvar/CTEST_PARALLEL_LEVEL.rst b/Help/envvar/CTEST_PARALLEL_LEVEL.rst index 0ef01d5..798c79b 100644 --- a/Help/envvar/CTEST_PARALLEL_LEVEL.rst +++ b/Help/envvar/CTEST_PARALLEL_LEVEL.rst
@@ -1,7 +1,7 @@ CTEST_PARALLEL_LEVEL -------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify the number of tests for CTest to run in parallel. For example, if ``CTEST_PARALLEL_LEVEL`` is set to 8, CTest will run
diff --git a/Help/envvar/CTEST_PROGRESS_OUTPUT.rst b/Help/envvar/CTEST_PROGRESS_OUTPUT.rst index 348acc6..2e87acb 100644 --- a/Help/envvar/CTEST_PROGRESS_OUTPUT.rst +++ b/Help/envvar/CTEST_PROGRESS_OUTPUT.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.13 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Boolean environment variable that affects how :manual:`ctest <ctest(1)>` command output reports overall progress. When set to ``1``, ``TRUE``, ``ON`` or anything
diff --git a/Help/envvar/CTEST_USE_INSTRUMENTATION.rst b/Help/envvar/CTEST_USE_INSTRUMENTATION.rst index c6c7f70..6e33845 100644 --- a/Help/envvar/CTEST_USE_INSTRUMENTATION.rst +++ b/Help/envvar/CTEST_USE_INSTRUMENTATION.rst
@@ -3,7 +3,7 @@ .. versionadded:: 4.0 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst .. note::
diff --git a/Help/envvar/CTEST_USE_LAUNCHERS_DEFAULT.rst b/Help/envvar/CTEST_USE_LAUNCHERS_DEFAULT.rst index 79dbb79..c58128e 100644 --- a/Help/envvar/CTEST_USE_LAUNCHERS_DEFAULT.rst +++ b/Help/envvar/CTEST_USE_LAUNCHERS_DEFAULT.rst
@@ -1,6 +1,6 @@ CTEST_USE_LAUNCHERS_DEFAULT --------------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Initializes the :variable:`CTEST_USE_LAUNCHERS` variable if not already defined.
diff --git a/Help/envvar/CTEST_USE_VERBOSE_INSTRUMENTATION.rst b/Help/envvar/CTEST_USE_VERBOSE_INSTRUMENTATION.rst index d7f7477..95053e4 100644 --- a/Help/envvar/CTEST_USE_VERBOSE_INSTRUMENTATION.rst +++ b/Help/envvar/CTEST_USE_VERBOSE_INSTRUMENTATION.rst
@@ -3,7 +3,7 @@ .. versionadded:: 4.0 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst .. note::
diff --git a/Help/envvar/CUDAARCHS.rst b/Help/envvar/CUDAARCHS.rst index e9e6a42..e68d19f 100644 --- a/Help/envvar/CUDAARCHS.rst +++ b/Help/envvar/CUDAARCHS.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.20 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Value used to initialize :variable:`CMAKE_CUDA_ARCHITECTURES` on the first configuration. Subsequent runs will use the value stored in the cache.
diff --git a/Help/envvar/CUDACXX.rst b/Help/envvar/CUDACXX.rst index 1722128..08c1414 100644 --- a/Help/envvar/CUDACXX.rst +++ b/Help/envvar/CUDACXX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.8 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``CUDA`` language files. Will only be used by CMake on the first configuration to determine ``CUDA`` compiler, after which the
diff --git a/Help/envvar/CUDAFLAGS.rst b/Help/envvar/CUDAFLAGS.rst index 46a91df..66b84f3 100644 --- a/Help/envvar/CUDAFLAGS.rst +++ b/Help/envvar/CUDAFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.8 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``CUDA`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CUDA_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``CUDA`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_CUDA_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/CUDAHOSTCXX.rst b/Help/envvar/CUDAHOSTCXX.rst index 4e78afa..1836301 100644 --- a/Help/envvar/CUDAHOSTCXX.rst +++ b/Help/envvar/CUDAHOSTCXX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.8 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling host code when compiling ``CUDA`` language files. Will only be used by CMake on the first configuration to
diff --git a/Help/envvar/CXX.rst b/Help/envvar/CXX.rst index 61ba5b8..5b7b4ab 100644 --- a/Help/envvar/CXX.rst +++ b/Help/envvar/CXX.rst
@@ -1,7 +1,7 @@ CXX --- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``CXX`` language files. Will only be used by CMake on the first configuration to determine ``CXX`` compiler, after which the
diff --git a/Help/envvar/CXXFLAGS.rst b/Help/envvar/CXXFLAGS.rst index f67431f..25b2613 100644 --- a/Help/envvar/CXXFLAGS.rst +++ b/Help/envvar/CXXFLAGS.rst
@@ -1,12 +1,12 @@ CXXFLAGS -------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``CXX`` (C++) files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CXX_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``CXX`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_CXX_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst b/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst index 6a52d64..e25a31d 100644 --- a/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst +++ b/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst
@@ -1,7 +1,7 @@ DASHBOARD_TEST_FROM_CTEST ------------------------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Environment variable that will exist when a test executed by :manual:`ctest(1)` is run in non-interactive mode. The value will be equal to
diff --git a/Help/envvar/DESTDIR.rst b/Help/envvar/DESTDIR.rst index dec8430..dd18535 100644 --- a/Help/envvar/DESTDIR.rst +++ b/Help/envvar/DESTDIR.rst
@@ -1,7 +1,7 @@ DESTDIR ------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the whole installation. ``DESTDIR`` means DESTination DIRectory. It is
diff --git a/Help/envvar/FC.rst b/Help/envvar/FC.rst index 70e1475..17c7fee 100644 --- a/Help/envvar/FC.rst +++ b/Help/envvar/FC.rst
@@ -1,7 +1,7 @@ FC -- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``Fortran`` language files. Will only be used by CMake on the first configuration to determine ``Fortran`` compiler, after
diff --git a/Help/envvar/FFLAGS.rst b/Help/envvar/FFLAGS.rst index 23bc8d2..8b452e1 100644 --- a/Help/envvar/FFLAGS.rst +++ b/Help/envvar/FFLAGS.rst
@@ -1,12 +1,12 @@ FFLAGS ------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``Fortran`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_Fortran_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``Fortran`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_Fortran_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/HIPCXX.rst b/Help/envvar/HIPCXX.rst index 23329e9..ebffb56 100644 --- a/Help/envvar/HIPCXX.rst +++ b/Help/envvar/HIPCXX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.21 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``HIP`` language files. Will only be used by CMake on the first configuration to determine ``HIP`` compiler, after which the
diff --git a/Help/envvar/HIPFLAGS.rst b/Help/envvar/HIPFLAGS.rst index 31e2390..866c87e 100644 --- a/Help/envvar/HIPFLAGS.rst +++ b/Help/envvar/HIPFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.21 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``HIP`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_HIP_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``HIP`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_HIP_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/HIPHOSTCXX.rst b/Help/envvar/HIPHOSTCXX.rst index 871fbfb..b12def6 100644 --- a/Help/envvar/HIPHOSTCXX.rst +++ b/Help/envvar/HIPHOSTCXX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.28 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling host code when compiling ``HIP`` language files with the NVIDIA CUDA Compiler. Will only be used by CMake
diff --git a/Help/envvar/ISPC.rst b/Help/envvar/ISPC.rst index bcd6260..4a9d700 100644 --- a/Help/envvar/ISPC.rst +++ b/Help/envvar/ISPC.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.19 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``ISPC`` language files. Will only be used by CMake on the first configuration to determine ``ISPC`` compiler, after which the
diff --git a/Help/envvar/ISPCFLAGS.rst b/Help/envvar/ISPCFLAGS.rst index b7a2bd5..4a45d7c 100644 --- a/Help/envvar/ISPCFLAGS.rst +++ b/Help/envvar/ISPCFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.19 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``ISPC`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ISPC_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``ISPC`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_ISPC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/LDFLAGS.rst b/Help/envvar/LDFLAGS.rst index 816d6ef..03a70f5 100644 --- a/Help/envvar/LDFLAGS.rst +++ b/Help/envvar/LDFLAGS.rst
@@ -1,7 +1,7 @@ LDFLAGS ------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Will only be used by CMake on the first configuration to determine the default linker flags, after which the value for ``LDFLAGS`` is stored in the cache
diff --git a/Help/envvar/MACOSX_DEPLOYMENT_TARGET.rst b/Help/envvar/MACOSX_DEPLOYMENT_TARGET.rst index 662bd03..53c6950 100644 --- a/Help/envvar/MACOSX_DEPLOYMENT_TARGET.rst +++ b/Help/envvar/MACOSX_DEPLOYMENT_TARGET.rst
@@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET ------------------------ -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify the minimum version of macOS on which the target binaries are to be deployed.
diff --git a/Help/envvar/OBJC.rst b/Help/envvar/OBJC.rst index 2d95806..6317bdb 100644 --- a/Help/envvar/OBJC.rst +++ b/Help/envvar/OBJC.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.16.7 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``OBJC`` language files. Will only be used by CMake on the first configuration to determine ``OBJC`` compiler, after
diff --git a/Help/envvar/OBJCFLAGS.rst b/Help/envvar/OBJCFLAGS.rst index 2f30807..5d40b02 100644 --- a/Help/envvar/OBJCFLAGS.rst +++ b/Help/envvar/OBJCFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.16 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``Objective C`` files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_OBJC_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``OBJC`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_OBJC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/OBJCXX.rst b/Help/envvar/OBJCXX.rst index 71286d9..1e04e3b 100644 --- a/Help/envvar/OBJCXX.rst +++ b/Help/envvar/OBJCXX.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.16.7 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``OBJCXX`` language files. Will only be used by CMake on the first configuration to determine ``OBJCXX`` compiler, after
diff --git a/Help/envvar/OBJCXXFLAGS.rst b/Help/envvar/OBJCXXFLAGS.rst index 089222a..38c751d 100644 --- a/Help/envvar/OBJCXXFLAGS.rst +++ b/Help/envvar/OBJCXXFLAGS.rst
@@ -3,12 +3,12 @@ .. versionadded:: 3.16 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``Objective C++`` (.mm) files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_OBJCXX_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``OBJCXX`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_OBJCXX_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/PackageName_ROOT.rst b/Help/envvar/PackageName_ROOT.rst index 6e9c744..f622916 100644 --- a/Help/envvar/PackageName_ROOT.rst +++ b/Help/envvar/PackageName_ROOT.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.12 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Calls to :command:`find_package(<PackageName>)` will search in prefixes specified by the ``<PackageName>_ROOT`` environment variable, where
diff --git a/Help/envvar/RC.rst b/Help/envvar/RC.rst index 8a9324d..5d5c4aa 100644 --- a/Help/envvar/RC.rst +++ b/Help/envvar/RC.rst
@@ -1,7 +1,7 @@ RC -- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``resource`` files. Will only be used by CMake on the first configuration to determine ``resource`` compiler, after which the
diff --git a/Help/envvar/RCFLAGS.rst b/Help/envvar/RCFLAGS.rst index 7df83a7..dd6d623 100644 --- a/Help/envvar/RCFLAGS.rst +++ b/Help/envvar/RCFLAGS.rst
@@ -1,12 +1,12 @@ RCFLAGS ------- -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Add default compilation flags to be used when compiling ``RC`` (resource) files. .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_RC_FLAGS <CMAKE_<LANG>_FLAGS>` .. |LANG| replace:: ``RC`` -.. include:: LANG_FLAGS.txt +.. include:: include/LANG_FLAGS.rst See also :variable:`CMAKE_RC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
diff --git a/Help/envvar/SSL_CERT_DIR.rst b/Help/envvar/SSL_CERT_DIR.rst index 1e678e4..93b4087 100644 --- a/Help/envvar/SSL_CERT_DIR.rst +++ b/Help/envvar/SSL_CERT_DIR.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.25 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify default directory containing CA certificates. It overrides the default CA directory used.
diff --git a/Help/envvar/SSL_CERT_FILE.rst b/Help/envvar/SSL_CERT_FILE.rst index 23216c0..5fabc4f 100644 --- a/Help/envvar/SSL_CERT_FILE.rst +++ b/Help/envvar/SSL_CERT_FILE.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.25 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Specify the file name containing CA certificates. It overrides the default, os-specific CA file used.
diff --git a/Help/envvar/SWIFTC.rst b/Help/envvar/SWIFTC.rst index 896e156..4d237a3 100644 --- a/Help/envvar/SWIFTC.rst +++ b/Help/envvar/SWIFTC.rst
@@ -3,7 +3,7 @@ .. versionadded:: 3.15 -.. include:: ENV_VAR.txt +.. include:: include/ENV_VAR.rst Preferred executable for compiling ``Swift`` language files. Will only be used by CMake on the first configuration to determine ``Swift`` compiler, after which the
diff --git a/Help/envvar/ENV_VAR.txt b/Help/envvar/include/ENV_VAR.rst similarity index 100% rename from Help/envvar/ENV_VAR.txt rename to Help/envvar/include/ENV_VAR.rst
diff --git a/Help/envvar/LANG_FLAGS.txt b/Help/envvar/include/LANG_FLAGS.rst similarity index 100% rename from Help/envvar/LANG_FLAGS.txt rename to Help/envvar/include/LANG_FLAGS.rst
diff --git a/Help/generator/Visual Studio 14 2015.rst b/Help/generator/Visual Studio 14 2015.rst index 6629b68..a491193 100644 --- a/Help/generator/Visual Studio 14 2015.rst +++ b/Help/generator/Visual Studio 14 2015.rst
@@ -48,7 +48,7 @@ .. |VS_TOOLSET_HOST_ARCH_DEFAULT| replace:: By default this generator uses the 32-bit variant even on a 64-bit host. -.. include:: VS_TOOLSET_HOST_ARCH_LEGACY.txt +.. include:: include/VS_TOOLSET_HOST_ARCH_LEGACY.rst .. _`Windows 10 SDK Maximum Version for VS 2015`:
diff --git a/Help/generator/Visual Studio 15 2017.rst b/Help/generator/Visual Studio 15 2017.rst index 3f29072..709b61f 100644 --- a/Help/generator/Visual Studio 15 2017.rst +++ b/Help/generator/Visual Studio 15 2017.rst
@@ -57,4 +57,4 @@ .. |VS_TOOLSET_HOST_ARCH_DEFAULT| replace:: By default this generator uses the 32-bit variant even on a 64-bit host. -.. include:: VS_TOOLSET_HOST_ARCH_LEGACY.txt +.. include:: include/VS_TOOLSET_HOST_ARCH_LEGACY.rst
diff --git a/Help/generator/Visual Studio 16 2019.rst b/Help/generator/Visual Studio 16 2019.rst index 2918a6e..4435487 100644 --- a/Help/generator/Visual Studio 16 2019.rst +++ b/Help/generator/Visual Studio 16 2019.rst
@@ -44,4 +44,4 @@ By default this generator uses the 64-bit variant on x64 hosts and the 32-bit variant otherwise. -.. include:: VS_TOOLSET_HOST_ARCH.txt +.. include:: include/VS_TOOLSET_HOST_ARCH.rst
diff --git a/Help/generator/Visual Studio 17 2022.rst b/Help/generator/Visual Studio 17 2022.rst index ab101ac..7157dcf 100644 --- a/Help/generator/Visual Studio 17 2022.rst +++ b/Help/generator/Visual Studio 17 2022.rst
@@ -44,4 +44,4 @@ By default this generator uses the 64-bit variant on x64 hosts and the 32-bit variant otherwise. -.. include:: VS_TOOLSET_HOST_ARCH.txt +.. include:: include/VS_TOOLSET_HOST_ARCH.rst
diff --git a/Help/generator/VS_TOOLSET_HOST_ARCH.txt b/Help/generator/include/VS_TOOLSET_HOST_ARCH.rst similarity index 100% rename from Help/generator/VS_TOOLSET_HOST_ARCH.txt rename to Help/generator/include/VS_TOOLSET_HOST_ARCH.rst
diff --git a/Help/generator/VS_TOOLSET_HOST_ARCH_LEGACY.txt b/Help/generator/include/VS_TOOLSET_HOST_ARCH_LEGACY.rst similarity index 100% rename from Help/generator/VS_TOOLSET_HOST_ARCH_LEGACY.txt rename to Help/generator/include/VS_TOOLSET_HOST_ARCH_LEGACY.rst
diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst index 1ab0009..adedbcd 100644 --- a/Help/guide/tutorial/index.rst +++ b/Help/guide/tutorial/index.rst
@@ -11,9 +11,8 @@ Steps ===== -.. include:: source.txt - -|tutorial_source| +The tutorial documentation and source code examples can be found in +the ``Help/guide/tutorial`` directory of the CMake source code tree. Each step has its own subdirectory containing code that may be used as a starting point. The tutorial examples are progressive so that each step provides the complete solution for the previous step.
diff --git a/Help/guide/tutorial/source.txt b/Help/guide/tutorial/source.txt deleted file mode 100644 index bb45e86..0000000 --- a/Help/guide/tutorial/source.txt +++ /dev/null
@@ -1,3 +0,0 @@ -.. |tutorial_source| replace:: - The tutorial documentation and source code examples can be found in - the ``Help/guide/tutorial`` directory of the CMake source code tree.
diff --git a/Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt b/Help/include/COMPILE_DEFINITIONS_DISCLAIMER.rst similarity index 100% rename from Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt rename to Help/include/COMPILE_DEFINITIONS_DISCLAIMER.rst
diff --git a/Help/include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.txt b/Help/include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.rst similarity index 100% rename from Help/include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.txt rename to Help/include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.rst
diff --git a/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt b/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.rst similarity index 100% rename from Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt rename to Help/include/INTERFACE_LINK_LIBRARIES_WARNING.rst
diff --git a/Help/manual/ccmake.1.rst b/Help/manual/ccmake.1.rst index 5b118d1..b5192cf 100644 --- a/Help/manual/ccmake.1.rst +++ b/Help/manual/ccmake.1.rst
@@ -30,11 +30,11 @@ .. program:: ccmake -.. include:: OPTIONS_BUILD.txt +.. include:: include/OPTIONS_BUILD.rst -.. include:: OPTIONS_HELP.txt +.. include:: include/OPTIONS_HELP.rst See Also ======== -.. include:: LINKS.txt +.. include:: include/LINKS.rst
diff --git a/Help/manual/cmake-compile-features.7.rst b/Help/manual/cmake-compile-features.7.rst index fb93222..141f714 100644 --- a/Help/manual/cmake-compile-features.7.rst +++ b/Help/manual/cmake-compile-features.7.rst
@@ -115,7 +115,7 @@ ``-std=gnu++11`` if necessary. This applies to sources within ``mylib`` as well as any dependents (that may include headers from ``mylib``). -.. include:: ../prop_gbl/CMAKE_LANG_STD_FLAGS.txt +.. include:: ../prop_gbl/include/CMAKE_LANG_STD_FLAGS.rst Availability of Compiler Extensions -----------------------------------
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 2e622ff..68f0a8f 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -1573,7 +1573,7 @@ underscores. Feature names defined in all uppercase are reserved for CMake's own built-in features. The pre-defined built-in library features are: - .. include:: ../variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt + .. include:: ../variable/include/LINK_LIBRARY_PREDEFINED_FEATURES.rst Built-in and custom library features are defined in terms of the following variables: @@ -1665,7 +1665,7 @@ own built-in features. Currently, there is only one pre-defined built-in group feature: - .. include:: ../variable/LINK_GROUP_PREDEFINED_FEATURES.txt + .. include:: ../variable/include/LINK_GROUP_PREDEFINED_FEATURES.rst Built-in and custom group features are defined in terms of the following variables:
diff --git a/Help/manual/cmake-gui.1.rst b/Help/manual/cmake-gui.1.rst index 26083ca..c270ab9 100644 --- a/Help/manual/cmake-gui.1.rst +++ b/Help/manual/cmake-gui.1.rst
@@ -52,9 +52,9 @@ ``<filename>`` is specified, open that file within the reference manual instead of ``index.html``. -.. include:: OPTIONS_HELP.txt +.. include:: include/OPTIONS_HELP.rst See Also ======== -.. include:: LINKS.txt +.. include:: include/LINKS.rst
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index dba953d..d590b5a 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst
@@ -572,7 +572,7 @@ that are provided by CMake or have meaning to CMake when set by project code. -.. include:: ID_RESERVE.txt +.. include:: include/ID_RESERVE.rst .. _`CMake Language Environment Variables`:
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst index 7542e93..d9b9f2e 100644 --- a/Help/manual/cmake-modules.7.rst +++ b/Help/manual/cmake-modules.7.rst
@@ -225,8 +225,8 @@ /module/FindRTI /module/FindRuby /module/FindSDL - /module/FindSDL_image /module/FindSDL_gfx + /module/FindSDL_image /module/FindSDL_mixer /module/FindSDL_net /module/FindSDL_sound
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index 5db2d3a..7817b5d 100644 --- a/Help/manual/cmake-variables.7.rst +++ b/Help/manual/cmake-variables.7.rst
@@ -14,7 +14,7 @@ :ref:`Variables <CMake Language Variables>` section in the cmake-language manual. -.. include:: ID_RESERVE.txt +.. include:: include/ID_RESERVE.rst Variables that Provide Information ==================================
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 313f060..4004e91 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst
@@ -203,7 +203,7 @@ .. program:: cmake -.. include:: OPTIONS_BUILD.txt +.. include:: include/OPTIONS_BUILD.rst .. option:: --fresh @@ -1498,7 +1498,7 @@ with one of the following options: -.. include:: OPTIONS_HELP.txt +.. include:: include/OPTIONS_HELP.rst To view the presets available for a project, use @@ -1521,4 +1521,4 @@ See Also ======== -.. include:: LINKS.txt +.. include:: include/LINKS.rst
diff --git a/Help/manual/cpack.1.rst b/Help/manual/cpack.1.rst index 038cad2..167707a 100644 --- a/Help/manual/cpack.1.rst +++ b/Help/manual/cpack.1.rst
@@ -127,9 +127,9 @@ List presets from :manual:`cmake-presets(7)`. -.. include:: OPTIONS_HELP.txt +.. include:: include/OPTIONS_HELP.rst See Also ======== -.. include:: LINKS.txt +.. include:: include/LINKS.rst
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 379e00d..035da3c 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst
@@ -503,7 +503,7 @@ To print version details or selected pages from the CMake documentation, use one of the following options: -.. include:: OPTIONS_HELP.txt +.. include:: include/OPTIONS_HELP.rst .. _`Label Matching`: @@ -1978,4 +1978,4 @@ See Also ======== -.. include:: LINKS.txt +.. include:: include/LINKS.rst
diff --git a/Help/manual/ID_RESERVE.txt b/Help/manual/include/ID_RESERVE.rst similarity index 100% rename from Help/manual/ID_RESERVE.txt rename to Help/manual/include/ID_RESERVE.rst
diff --git a/Help/manual/LINKS.txt b/Help/manual/include/LINKS.rst similarity index 100% rename from Help/manual/LINKS.txt rename to Help/manual/include/LINKS.rst
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/include/OPTIONS_BUILD.rst similarity index 100% rename from Help/manual/OPTIONS_BUILD.txt rename to Help/manual/include/OPTIONS_BUILD.rst
diff --git a/Help/manual/OPTIONS_HELP.txt b/Help/manual/include/OPTIONS_HELP.rst similarity index 100% rename from Help/manual/OPTIONS_HELP.txt rename to Help/manual/include/OPTIONS_HELP.rst
diff --git a/Help/module/CMAKE_REQUIRED_DEFINITIONS.txt b/Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_DEFINITIONS.txt rename to Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst
diff --git a/Help/module/CMAKE_REQUIRED_FLAGS.txt b/Help/module/include/CMAKE_REQUIRED_FLAGS.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_FLAGS.txt rename to Help/module/include/CMAKE_REQUIRED_FLAGS.rst
diff --git a/Help/module/CMAKE_REQUIRED_INCLUDES.txt b/Help/module/include/CMAKE_REQUIRED_INCLUDES.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_INCLUDES.txt rename to Help/module/include/CMAKE_REQUIRED_INCLUDES.rst
diff --git a/Help/module/CMAKE_REQUIRED_LIBRARIES.txt b/Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_LIBRARIES.txt rename to Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst
diff --git a/Help/module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt b/Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt rename to Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst
diff --git a/Help/module/CMAKE_REQUIRED_LINK_OPTIONS.txt b/Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_LINK_OPTIONS.txt rename to Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst
diff --git a/Help/module/CMAKE_REQUIRED_QUIET.txt b/Help/module/include/CMAKE_REQUIRED_QUIET.rst similarity index 100% rename from Help/module/CMAKE_REQUIRED_QUIET.txt rename to Help/module/include/CMAKE_REQUIRED_QUIET.rst
diff --git a/Help/policy/CMP0000.rst b/Help/policy/CMP0000.rst index e06a4c2..1c723c6 100644 --- a/Help/policy/CMP0000.rst +++ b/Help/policy/CMP0000.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst A minimum required CMake version must be specified. @@ -30,4 +30,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0001.rst b/Help/policy/CMP0001.rst index 3a3c442..f35a61b 100644 --- a/Help/policy/CMP0001.rst +++ b/Help/policy/CMP0001.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst ``CMAKE_BACKWARDS_COMPATIBILITY`` should no longer be used. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0002.rst b/Help/policy/CMP0002.rst index 02fbf57..d2d2b97 100644 --- a/Help/policy/CMP0002.rst +++ b/Help/policy/CMP0002.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Logical target names must be globally unique. @@ -24,4 +24,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0003.rst b/Help/policy/CMP0003.rst index e3c8fa6..417d23d 100644 --- a/Help/policy/CMP0003.rst +++ b/Help/policy/CMP0003.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Libraries linked via full path no longer produce linker search paths. @@ -102,4 +102,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0004.rst b/Help/policy/CMP0004.rst index 94d04fe..2d62d8e 100644 --- a/Help/policy/CMP0004.rst +++ b/Help/policy/CMP0004.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Libraries linked may not have leading or trailing whitespace. @@ -24,4 +24,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0005.rst b/Help/policy/CMP0005.rst index 9163845..1c1f41a 100644 --- a/Help/policy/CMP0005.rst +++ b/Help/policy/CMP0005.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Preprocessor definition values are now escaped automatically. @@ -24,4 +24,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0006.rst b/Help/policy/CMP0006.rst index 08776f2..2afc222 100644 --- a/Help/policy/CMP0006.rst +++ b/Help/policy/CMP0006.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Installing :prop_tgt:`MACOSX_BUNDLE` targets requires a ``BUNDLE DESTINATION``. @@ -22,4 +22,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0007.rst b/Help/policy/CMP0007.rst index 7b013db..37f90eb 100644 --- a/Help/policy/CMP0007.rst +++ b/Help/policy/CMP0007.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst list command no longer ignores empty elements. @@ -15,4 +15,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0008.rst b/Help/policy/CMP0008.rst index 8a4b8c5..a66f174 100644 --- a/Help/policy/CMP0008.rst +++ b/Help/policy/CMP0008.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Libraries linked by full-path must have a valid library file name. @@ -33,4 +33,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0009.rst b/Help/policy/CMP0009.rst index aeef533..7c9b6b1 100644 --- a/Help/policy/CMP0009.rst +++ b/Help/policy/CMP0009.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst FILE GLOB_RECURSE calls should not follow symlinks by default. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.2 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0010.rst b/Help/policy/CMP0010.rst index 1f32283..501ee38 100644 --- a/Help/policy/CMP0010.rst +++ b/Help/policy/CMP0010.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Bad variable reference syntax is an error. @@ -18,4 +18,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0011.rst b/Help/policy/CMP0011.rst index 98614b9..0f20f87 100644 --- a/Help/policy/CMP0011.rst +++ b/Help/policy/CMP0011.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Included scripts do automatic :command:`cmake_policy` PUSH and POP. @@ -23,4 +23,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0012.rst b/Help/policy/CMP0012.rst index 24cc20b..8a6639b 100644 --- a/Help/policy/CMP0012.rst +++ b/Help/policy/CMP0012.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst :command:`if` recognizes numbers and boolean constants. @@ -26,4 +26,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0013.rst b/Help/policy/CMP0013.rst index c22d5c9..c396096 100644 --- a/Help/policy/CMP0013.rst +++ b/Help/policy/CMP0013.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Duplicate binary directories are not allowed. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0014.rst b/Help/policy/CMP0014.rst index e147705..49b9046 100644 --- a/Help/policy/CMP0014.rst +++ b/Help/policy/CMP0014.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Input directories must have ``CMakeLists.txt``. @@ -15,4 +15,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0015.rst b/Help/policy/CMP0015.rst index 6fbe833..de4cbe8 100644 --- a/Help/policy/CMP0015.rst +++ b/Help/policy/CMP0015.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst :command:`link_directories` treats paths relative to the source dir. @@ -17,4 +17,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0016.rst b/Help/policy/CMP0016.rst index 2e5ac53..3da7280 100644 --- a/Help/policy/CMP0016.rst +++ b/Help/policy/CMP0016.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst :command:`target_link_libraries` reports error if its only argument is not a target. @@ -14,4 +14,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0017.rst b/Help/policy/CMP0017.rst index 7bac8a6..65714ae 100644 --- a/Help/policy/CMP0017.rst +++ b/Help/policy/CMP0017.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Prefer files from the CMake module directory when including from there. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.4 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0018.rst b/Help/policy/CMP0018.rst index c3ae66f..322045c 100644 --- a/Help/policy/CMP0018.rst +++ b/Help/policy/CMP0018.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Ignore ``CMAKE_SHARED_LIBRARY_<Lang>_FLAGS`` variable. @@ -32,4 +32,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.9 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0019.rst b/Help/policy/CMP0019.rst index 004316f..0fece7e 100644 --- a/Help/policy/CMP0019.rst +++ b/Help/policy/CMP0019.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Do not re-expand variables in include and link information. @@ -20,4 +20,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.11 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0020.rst b/Help/policy/CMP0020.rst index ceace31..7eee5af 100644 --- a/Help/policy/CMP0020.rst +++ b/Help/policy/CMP0020.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Automatically link Qt executables to ``qtmain`` target on Windows. @@ -25,4 +25,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.11 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0021.rst b/Help/policy/CMP0021.rst index b9074ab..7cb5fb8 100644 --- a/Help/policy/CMP0021.rst +++ b/Help/policy/CMP0021.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Fatal error on relative paths in :prop_tgt:`INCLUDE_DIRECTORIES` target property. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.12 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0022.rst b/Help/policy/CMP0022.rst index 91e7aa3..584b05e 100644 --- a/Help/policy/CMP0022.rst +++ b/Help/policy/CMP0022.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst :prop_tgt:`INTERFACE_LINK_LIBRARIES` defines the link interface. @@ -37,4 +37,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.12 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0023.rst b/Help/policy/CMP0023.rst index 6f582ec..e147d7c 100644 --- a/Help/policy/CMP0023.rst +++ b/Help/policy/CMP0023.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Plain and keyword :command:`target_link_libraries` signatures cannot be mixed. @@ -33,4 +33,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.12 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0024.rst b/Help/policy/CMP0024.rst index 72dbc0e..02be08f 100644 --- a/Help/policy/CMP0024.rst +++ b/Help/policy/CMP0024.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Disallow include export result. @@ -22,4 +22,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0025.rst b/Help/policy/CMP0025.rst index d0f67f9..481189e 100644 --- a/Help/policy/CMP0025.rst +++ b/Help/policy/CMP0025.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Compiler id for Apple Clang is now ``AppleClang``. @@ -23,7 +23,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn by default -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0025 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
diff --git a/Help/policy/CMP0026.rst b/Help/policy/CMP0026.rst index 06b1dd1..339d325 100644 --- a/Help/policy/CMP0026.rst +++ b/Help/policy/CMP0026.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Disallow use of the LOCATION property for build targets. @@ -27,4 +27,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0027.rst b/Help/policy/CMP0027.rst index eaf1929..98581a7 100644 --- a/Help/policy/CMP0027.rst +++ b/Help/policy/CMP0027.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Conditionally linked imported targets with missing include directories. @@ -25,4 +25,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0028.rst b/Help/policy/CMP0028.rst index c0ba715..f7c5c9a 100644 --- a/Help/policy/CMP0028.rst +++ b/Help/policy/CMP0028.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Double colon in target name means ``ALIAS`` or ``IMPORTED`` target. @@ -25,4 +25,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0029.rst b/Help/policy/CMP0029.rst index b5cca1e..afa27c3 100644 --- a/Help/policy/CMP0029.rst +++ b/Help/policy/CMP0029.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`subdir_depends` command should not be called. @@ -10,4 +10,4 @@ but was kept in CMake for compatibility for a long time. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0030.rst b/Help/policy/CMP0030.rst index a0b11d5..5a88881 100644 --- a/Help/policy/CMP0030.rst +++ b/Help/policy/CMP0030.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`use_mangled_mesa` command should not be called. @@ -11,4 +11,4 @@ not used it in years. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0031.rst b/Help/policy/CMP0031.rst index 7e5f22d..ca9bc81 100644 --- a/Help/policy/CMP0031.rst +++ b/Help/policy/CMP0031.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`load_command` command should not be called. @@ -13,4 +13,4 @@ :command:`macro` and :command:`function` commands. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0032.rst b/Help/policy/CMP0032.rst index 26a9c15..554d56e 100644 --- a/Help/policy/CMP0032.rst +++ b/Help/policy/CMP0032.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`output_required_files` command should not be called. @@ -13,4 +13,4 @@ functionality is better achieved through dedicated outside tools. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0033.rst b/Help/policy/CMP0033.rst index 7f84dc0..ccb659e 100644 --- a/Help/policy/CMP0033.rst +++ b/Help/policy/CMP0033.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`export_library_dependencies` command should not be called. @@ -14,4 +14,4 @@ :command:`install(EXPORT)` commands. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0034.rst b/Help/policy/CMP0034.rst index 386cd34..a9646dd 100644 --- a/Help/policy/CMP0034.rst +++ b/Help/policy/CMP0034.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`utility_source` command should not be called. @@ -11,4 +11,4 @@ :command:`add_executable` combined with :command:`add_custom_command`. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0035.rst b/Help/policy/CMP0035.rst index b3e818e..f63a5d4 100644 --- a/Help/policy/CMP0035.rst +++ b/Help/policy/CMP0035.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`variable_requires` command should not be called. @@ -10,4 +10,4 @@ logic. It has long been replaced by the :command:`if` command. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0036.rst b/Help/policy/CMP0036.rst index 0d1f857..17dfa7b 100644 --- a/Help/policy/CMP0036.rst +++ b/Help/policy/CMP0036.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`build_name` command should not be called. @@ -12,4 +12,4 @@ and :variable:`CMAKE_<LANG>_COMPILER` variables. .. |disallowed_version| replace:: 3.0 -.. include:: REMOVED_COMMAND.txt +.. include:: include/REMOVED_COMMAND.rst
diff --git a/Help/policy/CMP0037.rst b/Help/policy/CMP0037.rst index 5d3f518..e74f49a 100644 --- a/Help/policy/CMP0037.rst +++ b/Help/policy/CMP0037.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Target names should not be reserved and should match a validity pattern. @@ -32,4 +32,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0038.rst b/Help/policy/CMP0038.rst index df147de..b29fbd6 100644 --- a/Help/policy/CMP0038.rst +++ b/Help/policy/CMP0038.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Targets may not link directly to themselves. @@ -16,4 +16,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0039.rst b/Help/policy/CMP0039.rst index 4a0a7aa..136696d 100644 --- a/Help/policy/CMP0039.rst +++ b/Help/policy/CMP0039.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Utility targets may not have link dependencies. @@ -17,4 +17,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0040.rst b/Help/policy/CMP0040.rst index 7d7bec0..6772ac0 100644 --- a/Help/policy/CMP0040.rst +++ b/Help/policy/CMP0040.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The target in the ``TARGET`` signature of :command:`add_custom_command` must exist and must be defined in the current directory. @@ -18,4 +18,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0041.rst b/Help/policy/CMP0041.rst index d3f0043..bbc3c2f 100644 --- a/Help/policy/CMP0041.rst +++ b/Help/policy/CMP0041.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Error on relative include with generator expression. @@ -25,4 +25,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0042.rst b/Help/policy/CMP0042.rst index 3985e21..22ddf78 100644 --- a/Help/policy/CMP0042.rst +++ b/Help/policy/CMP0042.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst :prop_tgt:`MACOSX_RPATH` is enabled by default. @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0043.rst b/Help/policy/CMP0043.rst index 5b248b9..05a429b 100644 --- a/Help/policy/CMP0043.rst +++ b/Help/policy/CMP0043.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Ignore COMPILE_DEFINITIONS_<Config> properties @@ -45,4 +45,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0044.rst b/Help/policy/CMP0044.rst index 9ee1be1..fa96435 100644 --- a/Help/policy/CMP0044.rst +++ b/Help/policy/CMP0044.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Case sensitive ``<LANG>_COMPILER_ID`` generator expressions @@ -19,4 +19,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0045.rst b/Help/policy/CMP0045.rst index 5dea2b6..192b16f 100644 --- a/Help/policy/CMP0045.rst +++ b/Help/policy/CMP0045.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Error on non-existent target in get_target_property. @@ -17,4 +17,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0046.rst b/Help/policy/CMP0046.rst index cf45945..e61c71f 100644 --- a/Help/policy/CMP0046.rst +++ b/Help/policy/CMP0046.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Error on non-existent dependency in add_dependencies. @@ -16,4 +16,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0047.rst b/Help/policy/CMP0047.rst index e890260..876375f 100644 --- a/Help/policy/CMP0047.rst +++ b/Help/policy/CMP0047.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Use ``QCC`` compiler id for the qcc drivers on QNX. @@ -24,7 +24,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn by default -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0047 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
diff --git a/Help/policy/CMP0048.rst b/Help/policy/CMP0048.rst index 76a74ce..07e5abd 100644 --- a/Help/policy/CMP0048.rst +++ b/Help/policy/CMP0048.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst The :command:`project` command manages ``VERSION`` variables. @@ -21,4 +21,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0049.rst b/Help/policy/CMP0049.rst index c2500cd..c34f35e 100644 --- a/Help/policy/CMP0049.rst +++ b/Help/policy/CMP0049.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Do not expand variables in target source entries. @@ -22,4 +22,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0050.rst b/Help/policy/CMP0050.rst index dcd68a6..5a59019 100644 --- a/Help/policy/CMP0050.rst +++ b/Help/policy/CMP0050.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst Disallow add_custom_command SOURCE signatures. @@ -17,4 +17,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0051.rst b/Help/policy/CMP0051.rst index ae4498a..aa4ec0c 100644 --- a/Help/policy/CMP0051.rst +++ b/Help/policy/CMP0051.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.1 @@ -25,4 +25,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0052.rst b/Help/policy/CMP0052.rst index c4cd981..f88b44b 100644 --- a/Help/policy/CMP0052.rst +++ b/Help/policy/CMP0052.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.1 @@ -26,4 +26,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0053.rst b/Help/policy/CMP0053.rst index 82ab716..f61427d 100644 --- a/Help/policy/CMP0053.rst +++ b/Help/policy/CMP0053.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.1 @@ -49,4 +49,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0054.rst b/Help/policy/CMP0054.rst index 560b706..cbdbdf3 100644 --- a/Help/policy/CMP0054.rst +++ b/Help/policy/CMP0054.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.1 @@ -51,4 +51,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.1 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0055.rst b/Help/policy/CMP0055.rst index eda4700..d6e9f81 100644 --- a/Help/policy/CMP0055.rst +++ b/Help/policy/CMP0055.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.2 @@ -18,4 +18,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.2 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0056.rst b/Help/policy/CMP0056.rst index 41ca3ba..2158f14 100644 --- a/Help/policy/CMP0056.rst +++ b/Help/policy/CMP0056.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.2 @@ -32,7 +32,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.2 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn by default -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0056 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
diff --git a/Help/policy/CMP0057.rst b/Help/policy/CMP0057.rst index 4c78568..e1b1bb1 100644 --- a/Help/policy/CMP0057.rst +++ b/Help/policy/CMP0057.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -15,4 +15,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0058.rst b/Help/policy/CMP0058.rst index 7069a93..605797b 100644 --- a/Help/policy/CMP0058.rst +++ b/Help/policy/CMP0058.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -113,4 +113,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned when it saw unknown dependencies in out-of-source build trees -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0059.rst b/Help/policy/CMP0059.rst index 3dfc81b..7ca407e 100644 --- a/Help/policy/CMP0059.rst +++ b/Help/policy/CMP0059.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -18,4 +18,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0060.rst b/Help/policy/CMP0060.rst index 078f22e..e1c0b22 100644 --- a/Help/policy/CMP0060.rst +++ b/Help/policy/CMP0060.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -63,7 +63,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn by default -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0060 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
diff --git a/Help/policy/CMP0061.rst b/Help/policy/CMP0061.rst index 765ecb7..52a4ee1 100644 --- a/Help/policy/CMP0061.rst +++ b/Help/policy/CMP0061.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -26,4 +26,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0062.rst b/Help/policy/CMP0062.rst index c785b46..c90efcb 100644 --- a/Help/policy/CMP0062.rst +++ b/Help/policy/CMP0062.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -28,4 +28,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0063.rst b/Help/policy/CMP0063.rst index 1f00c20..2446b7a 100644 --- a/Help/policy/CMP0063.rst +++ b/Help/policy/CMP0063.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.3 @@ -27,4 +27,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0064.rst b/Help/policy/CMP0064.rst index fca428b..8174eac 100644 --- a/Help/policy/CMP0064.rst +++ b/Help/policy/CMP0064.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.4 @@ -16,4 +16,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.4 .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/CMP0065.rst b/Help/policy/CMP0065.rst index 7d70899..baabe0c 100644 --- a/Help/policy/CMP0065.rst +++ b/Help/policy/CMP0065.rst
@@ -2,7 +2,7 @@ ------- .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0 -.. include:: REMOVED_PROLOGUE.txt +.. include:: include/REMOVED_PROLOGUE.rst .. versionadded:: 3.4 @@ -25,7 +25,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.4 .. |WARNED_OR_DID_NOT_WARN| replace:: did *not* warn by default -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0065 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
diff --git a/Help/policy/CMP0066.rst b/Help/policy/CMP0066.rst index 947a186..e3dfc52 100644 --- a/Help/policy/CMP0066.rst +++ b/Help/policy/CMP0066.rst
@@ -22,10 +22,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.7 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0066 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0067.rst b/Help/policy/CMP0067.rst index 0696131..19ce293 100644 --- a/Help/policy/CMP0067.rst +++ b/Help/policy/CMP0067.rst
@@ -32,10 +32,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.8 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0067 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0068.rst b/Help/policy/CMP0068.rst index aad8c3a..5535e91 100644 --- a/Help/policy/CMP0068.rst +++ b/Help/policy/CMP0068.rst
@@ -31,6 +31,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.9 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0069.rst b/Help/policy/CMP0069.rst index 97665e6..3bc7ca4 100644 --- a/Help/policy/CMP0069.rst +++ b/Help/policy/CMP0069.rst
@@ -28,9 +28,9 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.9 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst Examples ^^^^^^^^
diff --git a/Help/policy/CMP0070.rst b/Help/policy/CMP0070.rst index 33b5a97..cb9bed7 100644 --- a/Help/policy/CMP0070.rst +++ b/Help/policy/CMP0070.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.10 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0071.rst b/Help/policy/CMP0071.rst index 5c86f55..88bf2a8 100644 --- a/Help/policy/CMP0071.rst +++ b/Help/policy/CMP0071.rst
@@ -40,6 +40,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.10 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0072.rst b/Help/policy/CMP0072.rst index 430cb5a..9b20db0 100644 --- a/Help/policy/CMP0072.rst +++ b/Help/policy/CMP0072.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.11 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0073.rst b/Help/policy/CMP0073.rst index 897092e..8be6db3 100644 --- a/Help/policy/CMP0073.rst +++ b/Help/policy/CMP0073.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.12 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0074.rst b/Help/policy/CMP0074.rst index fff843f..6eacf98 100644 --- a/Help/policy/CMP0074.rst +++ b/Help/policy/CMP0074.rst
@@ -19,6 +19,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.12 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0075.rst b/Help/policy/CMP0075.rst index 479c629..a1022ee 100644 --- a/Help/policy/CMP0075.rst +++ b/Help/policy/CMP0075.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.12 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0076.rst b/Help/policy/CMP0076.rst index a30b4c9..453bcf3 100644 --- a/Help/policy/CMP0076.rst +++ b/Help/policy/CMP0076.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0077.rst b/Help/policy/CMP0077.rst index f64f92f..cefef61 100644 --- a/Help/policy/CMP0077.rst +++ b/Help/policy/CMP0077.rst
@@ -52,10 +52,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst Use the :variable:`CMAKE_POLICY_DEFAULT_CMP0077 <CMAKE_POLICY_DEFAULT_CMP\<NNNN\>>` variable to set the policy for a third-party project in a subdirectory without modifying it. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0078.rst b/Help/policy/CMP0078.rst index c4b8a64..6fc199f 100644 --- a/Help/policy/CMP0078.rst +++ b/Help/policy/CMP0078.rst
@@ -20,6 +20,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0079.rst b/Help/policy/CMP0079.rst index 039ac7b..1a8eb35 100644 --- a/Help/policy/CMP0079.rst +++ b/Help/policy/CMP0079.rst
@@ -36,6 +36,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0080.rst b/Help/policy/CMP0080.rst index cface96..040bf97 100644 --- a/Help/policy/CMP0080.rst +++ b/Help/policy/CMP0080.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0081.rst b/Help/policy/CMP0081.rst index b89a353..6df7d9d 100644 --- a/Help/policy/CMP0081.rst +++ b/Help/policy/CMP0081.rst
@@ -19,6 +19,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0082.rst b/Help/policy/CMP0082.rst index 2de0cd9..e5bc6f6 100644 --- a/Help/policy/CMP0082.rst +++ b/Help/policy/CMP0082.rst
@@ -21,10 +21,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0082 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0083.rst b/Help/policy/CMP0083.rst index 2ba9e14..d00390b 100644 --- a/Help/policy/CMP0083.rst +++ b/Help/policy/CMP0083.rst
@@ -27,7 +27,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst .. Note:: @@ -35,7 +35,7 @@ to use the :module:`CheckPIESupported` module to ensure flags are passed to the linker. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst Examples ^^^^^^^^
diff --git a/Help/policy/CMP0084.rst b/Help/policy/CMP0084.rst index 3b86a73..827f40b 100644 --- a/Help/policy/CMP0084.rst +++ b/Help/policy/CMP0084.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0085.rst b/Help/policy/CMP0085.rst index 783c644..f1b080c 100644 --- a/Help/policy/CMP0085.rst +++ b/Help/policy/CMP0085.rst
@@ -17,6 +17,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0086.rst b/Help/policy/CMP0086.rst index c1abffe..2534e5a 100644 --- a/Help/policy/CMP0086.rst +++ b/Help/policy/CMP0086.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0087.rst b/Help/policy/CMP0087.rst index 3ef2c60..605e658 100644 --- a/Help/policy/CMP0087.rst +++ b/Help/policy/CMP0087.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0088.rst b/Help/policy/CMP0088.rst index e53078c..845849d 100644 --- a/Help/policy/CMP0088.rst +++ b/Help/policy/CMP0088.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.14 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0089.rst b/Help/policy/CMP0089.rst index 5f548c0..b5284fb 100644 --- a/Help/policy/CMP0089.rst +++ b/Help/policy/CMP0089.rst
@@ -23,10 +23,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0089 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0090.rst b/Help/policy/CMP0090.rst index df7726c..42c7aac 100644 --- a/Help/policy/CMP0090.rst +++ b/Help/policy/CMP0090.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0091.rst b/Help/policy/CMP0091.rst index 110e655..5e140ec 100644 --- a/Help/policy/CMP0091.rst +++ b/Help/policy/CMP0091.rst
@@ -45,6 +45,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0092.rst b/Help/policy/CMP0092.rst index 03a9975..fed18cd 100644 --- a/Help/policy/CMP0092.rst +++ b/Help/policy/CMP0092.rst
@@ -34,6 +34,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0093.rst b/Help/policy/CMP0093.rst index 5f7ae7d..27762d3 100644 --- a/Help/policy/CMP0093.rst +++ b/Help/policy/CMP0093.rst
@@ -20,6 +20,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0094.rst b/Help/policy/CMP0094.rst index 1b88a22..d465f48 100644 --- a/Help/policy/CMP0094.rst +++ b/Help/policy/CMP0094.rst
@@ -18,6 +18,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0095.rst b/Help/policy/CMP0095.rst index cbeffc7..5237379 100644 --- a/Help/policy/CMP0095.rst +++ b/Help/policy/CMP0095.rst
@@ -27,6 +27,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.16 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns when it detects use of CMake-like syntax -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0096.rst b/Help/policy/CMP0096.rst index 8ea3784..3772ec9 100644 --- a/Help/policy/CMP0096.rst +++ b/Help/policy/CMP0096.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.16 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0097.rst b/Help/policy/CMP0097.rst index d9141f5..89fb977 100644 --- a/Help/policy/CMP0097.rst +++ b/Help/policy/CMP0097.rst
@@ -21,7 +21,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.16 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst .. note:: @@ -34,4 +34,4 @@ :command:`FetchContent_Declare` will continue to apply in future CMake releases. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0098.rst b/Help/policy/CMP0098.rst index 42c900b..631cb4e 100644 --- a/Help/policy/CMP0098.rst +++ b/Help/policy/CMP0098.rst
@@ -26,6 +26,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0099.rst b/Help/policy/CMP0099.rst index 0a2b786..5ea6d94 100644 --- a/Help/policy/CMP0099.rst +++ b/Help/policy/CMP0099.rst
@@ -29,6 +29,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0100.rst b/Help/policy/CMP0100.rst index c3b782b..359b618 100644 --- a/Help/policy/CMP0100.rst +++ b/Help/policy/CMP0100.rst
@@ -36,6 +36,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0101.rst b/Help/policy/CMP0101.rst index ceefcda..699a893 100644 --- a/Help/policy/CMP0101.rst +++ b/Help/policy/CMP0101.rst
@@ -24,6 +24,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0102.rst b/Help/policy/CMP0102.rst index 8590979..b4d7ca3 100644 --- a/Help/policy/CMP0102.rst +++ b/Help/policy/CMP0102.rst
@@ -21,9 +21,9 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0102 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0103.rst b/Help/policy/CMP0103.rst index 50bceba..e0740bd 100644 --- a/Help/policy/CMP0103.rst +++ b/Help/policy/CMP0103.rst
@@ -18,6 +18,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0104.rst b/Help/policy/CMP0104.rst index 9e8d222..4c82969 100644 --- a/Help/policy/CMP0104.rst +++ b/Help/policy/CMP0104.rst
@@ -31,9 +31,9 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst Examples ^^^^^^^^
diff --git a/Help/policy/CMP0105.rst b/Help/policy/CMP0105.rst index 8726997..a2a1b5f 100644 --- a/Help/policy/CMP0105.rst +++ b/Help/policy/CMP0105.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0106.rst b/Help/policy/CMP0106.rst index 5f7e078..46c1281 100644 --- a/Help/policy/CMP0106.rst +++ b/Help/policy/CMP0106.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0107.rst b/Help/policy/CMP0107.rst index ece0b23..8332712 100644 --- a/Help/policy/CMP0107.rst +++ b/Help/policy/CMP0107.rst
@@ -15,6 +15,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0108.rst b/Help/policy/CMP0108.rst index fbb72b3..d6ce7e5 100644 --- a/Help/policy/CMP0108.rst +++ b/Help/policy/CMP0108.rst
@@ -15,6 +15,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0109.rst b/Help/policy/CMP0109.rst index 2073d72..a51a3f8 100644 --- a/Help/policy/CMP0109.rst +++ b/Help/policy/CMP0109.rst
@@ -19,6 +19,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0110.rst b/Help/policy/CMP0110.rst index ad9e096..a916fb4 100644 --- a/Help/policy/CMP0110.rst +++ b/Help/policy/CMP0110.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0111.rst b/Help/policy/CMP0111.rst index 33a925b..2d3322a 100644 --- a/Help/policy/CMP0111.rst +++ b/Help/policy/CMP0111.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0112.rst b/Help/policy/CMP0112.rst index 2b21eaf..8706c31 100644 --- a/Help/policy/CMP0112.rst +++ b/Help/policy/CMP0112.rst
@@ -36,10 +36,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0112 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0113.rst b/Help/policy/CMP0113.rst index 1908727..09a0d15 100644 --- a/Help/policy/CMP0113.rst +++ b/Help/policy/CMP0113.rst
@@ -38,6 +38,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0114.rst b/Help/policy/CMP0114.rst index f4ca7ef..f1a59fc 100644 --- a/Help/policy/CMP0114.rst +++ b/Help/policy/CMP0114.rst
@@ -81,6 +81,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0115.rst b/Help/policy/CMP0115.rst index b11f97d..867b883 100644 --- a/Help/policy/CMP0115.rst +++ b/Help/policy/CMP0115.rst
@@ -29,6 +29,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0116.rst b/Help/policy/CMP0116.rst index b0fc896..14a6e6a 100644 --- a/Help/policy/CMP0116.rst +++ b/Help/policy/CMP0116.rst
@@ -36,10 +36,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default (unless ``DEPFILE`` is used in a subdirectory) -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0116 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0117.rst b/Help/policy/CMP0117.rst index e1a0ee9..3b945a0 100644 --- a/Help/policy/CMP0117.rst +++ b/Help/policy/CMP0117.rst
@@ -37,6 +37,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0118.rst b/Help/policy/CMP0118.rst index 5c04927..9fc1d43 100644 --- a/Help/policy/CMP0118.rst +++ b/Help/policy/CMP0118.rst
@@ -33,6 +33,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns about setting the ``GENERATED`` property to a non-boolean value -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0119.rst b/Help/policy/CMP0119.rst index 78e9894..0050564 100644 --- a/Help/policy/CMP0119.rst +++ b/Help/policy/CMP0119.rst
@@ -30,6 +30,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0120.rst b/Help/policy/CMP0120.rst index bba2291..08573e9 100644 --- a/Help/policy/CMP0120.rst +++ b/Help/policy/CMP0120.rst
@@ -40,8 +40,8 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst .. _`Hedley`: https://nemequ.github.io/hedley/
diff --git a/Help/policy/CMP0121.rst b/Help/policy/CMP0121.rst index 6e08cb5..a2e1a95 100644 --- a/Help/policy/CMP0121.rst +++ b/Help/policy/CMP0121.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0122.rst b/Help/policy/CMP0122.rst index 0b2da6c..908b4bb 100644 --- a/Help/policy/CMP0122.rst +++ b/Help/policy/CMP0122.rst
@@ -11,6 +11,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0123.rst b/Help/policy/CMP0123.rst index 85f23a4..608efe0 100644 --- a/Help/policy/CMP0123.rst +++ b/Help/policy/CMP0123.rst
@@ -27,6 +27,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0124.rst b/Help/policy/CMP0124.rst index 2c19cac..a98e4b1 100644 --- a/Help/policy/CMP0124.rst +++ b/Help/policy/CMP0124.rst
@@ -44,6 +44,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0125.rst b/Help/policy/CMP0125.rst index 8c5e23a..9acb696 100644 --- a/Help/policy/CMP0125.rst +++ b/Help/policy/CMP0125.rst
@@ -36,6 +36,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0126.rst b/Help/policy/CMP0126.rst index ca40709..83dfb02 100644 --- a/Help/policy/CMP0126.rst +++ b/Help/policy/CMP0126.rst
@@ -26,7 +26,7 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.21 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0126 <CMAKE_POLICY_WARNING_CMP<NNNN>>` @@ -36,4 +36,4 @@ variable may be used to set the policy for a third-party project in a subdirectory without modifying it. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0127.rst b/Help/policy/CMP0127.rst index 798140b..a9c838d 100644 --- a/Help/policy/CMP0127.rst +++ b/Help/policy/CMP0127.rst
@@ -28,6 +28,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.22 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0128.rst b/Help/policy/CMP0128.rst index 7d2c537..6817a71 100644 --- a/Help/policy/CMP0128.rst +++ b/Help/policy/CMP0128.rst
@@ -63,10 +63,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.22 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0128 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0129.rst b/Help/policy/CMP0129.rst index 08ef8d1..7664fcd 100644 --- a/Help/policy/CMP0129.rst +++ b/Help/policy/CMP0129.rst
@@ -25,10 +25,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.23 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0129 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0130.rst b/Help/policy/CMP0130.rst index 79f1ebb..25ccf0a 100644 --- a/Help/policy/CMP0130.rst +++ b/Help/policy/CMP0130.rst
@@ -27,6 +27,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0131.rst b/Help/policy/CMP0131.rst index 8899943..cead486 100644 --- a/Help/policy/CMP0131.rst +++ b/Help/policy/CMP0131.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0132.rst b/Help/policy/CMP0132.rst index 11a1212..405c52e 100644 --- a/Help/policy/CMP0132.rst +++ b/Help/policy/CMP0132.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0133.rst b/Help/policy/CMP0133.rst index 3bccd15..bbce7a9 100644 --- a/Help/policy/CMP0133.rst +++ b/Help/policy/CMP0133.rst
@@ -23,10 +23,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0133 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0134.rst b/Help/policy/CMP0134.rst index 986d58e..ec4d963 100644 --- a/Help/policy/CMP0134.rst +++ b/Help/policy/CMP0134.rst
@@ -30,6 +30,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0135.rst b/Help/policy/CMP0135.rst index 09c688d..142302c 100644 --- a/Help/policy/CMP0135.rst +++ b/Help/policy/CMP0135.rst
@@ -24,6 +24,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0136.rst b/Help/policy/CMP0136.rst index 0980c87..00b9636 100644 --- a/Help/policy/CMP0136.rst +++ b/Help/policy/CMP0136.rst
@@ -44,6 +44,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0137.rst b/Help/policy/CMP0137.rst index 3d879d1..e784fab 100644 --- a/Help/policy/CMP0137.rst +++ b/Help/policy/CMP0137.rst
@@ -27,6 +27,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0138.rst b/Help/policy/CMP0138.rst index f933b90..6c98c2b 100644 --- a/Help/policy/CMP0138.rst +++ b/Help/policy/CMP0138.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0139.rst b/Help/policy/CMP0139.rst index 640055d..115cfbe 100644 --- a/Help/policy/CMP0139.rst +++ b/Help/policy/CMP0139.rst
@@ -11,6 +11,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0140.rst b/Help/policy/CMP0140.rst index 4236017..bcb2319 100644 --- a/Help/policy/CMP0140.rst +++ b/Help/policy/CMP0140.rst
@@ -11,6 +11,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.25 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0141.rst b/Help/policy/CMP0141.rst index ac3160c..daaaa3b 100644 --- a/Help/policy/CMP0141.rst +++ b/Help/policy/CMP0141.rst
@@ -49,6 +49,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.25 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0142.rst b/Help/policy/CMP0142.rst index e4b1440..5de544f 100644 --- a/Help/policy/CMP0142.rst +++ b/Help/policy/CMP0142.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.25 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0143.rst b/Help/policy/CMP0143.rst index ce13752..85be4e7 100644 --- a/Help/policy/CMP0143.rst +++ b/Help/policy/CMP0143.rst
@@ -26,6 +26,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.26 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0144.rst b/Help/policy/CMP0144.rst index 81e622a..57c1c3a 100644 --- a/Help/policy/CMP0144.rst +++ b/Help/policy/CMP0144.rst
@@ -20,6 +20,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0145.rst b/Help/policy/CMP0145.rst index 9b0d43f..1bd6644 100644 --- a/Help/policy/CMP0145.rst +++ b/Help/policy/CMP0145.rst
@@ -24,6 +24,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0146.rst b/Help/policy/CMP0146.rst index 7d6ba19..2f24d2b 100644 --- a/Help/policy/CMP0146.rst +++ b/Help/policy/CMP0146.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0147.rst b/Help/policy/CMP0147.rst index 1790678..50baaa5 100644 --- a/Help/policy/CMP0147.rst +++ b/Help/policy/CMP0147.rst
@@ -19,6 +19,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0148.rst b/Help/policy/CMP0148.rst index c522c6a..1436fb7 100644 --- a/Help/policy/CMP0148.rst +++ b/Help/policy/CMP0148.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0149.rst b/Help/policy/CMP0149.rst index 11e935d..de3f862 100644 --- a/Help/policy/CMP0149.rst +++ b/Help/policy/CMP0149.rst
@@ -48,6 +48,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0150.rst b/Help/policy/CMP0150.rst index e8c58ef..c0be926 100644 --- a/Help/policy/CMP0150.rst +++ b/Help/policy/CMP0150.rst
@@ -34,6 +34,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns when a relative path is encountered -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0151.rst b/Help/policy/CMP0151.rst index 49b0811..0e29f80 100644 --- a/Help/policy/CMP0151.rst +++ b/Help/policy/CMP0151.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0152.rst b/Help/policy/CMP0152.rst index 94109e3..02c7923 100644 --- a/Help/policy/CMP0152.rst +++ b/Help/policy/CMP0152.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.28 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0153.rst b/Help/policy/CMP0153.rst index 838f082..187107c 100644 --- a/Help/policy/CMP0153.rst +++ b/Help/policy/CMP0153.rst
@@ -9,6 +9,6 @@ command and has been deprecated since CMake 3.0. .. |disallowed_version| replace:: 3.28 -.. include:: DISALLOWED_COMMAND.txt +.. include:: include/DISALLOWED_COMMAND.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0154.rst b/Help/policy/CMP0154.rst index 89a4f67..f3030ec 100644 --- a/Help/policy/CMP0154.rst +++ b/Help/policy/CMP0154.rst
@@ -53,6 +53,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.28 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0155.rst b/Help/policy/CMP0155.rst index 5397c0d..9e8571c 100644 --- a/Help/policy/CMP0155.rst +++ b/Help/policy/CMP0155.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.28 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0156.rst b/Help/policy/CMP0156.rst index 7956742..2258d44 100644 --- a/Help/policy/CMP0156.rst +++ b/Help/policy/CMP0156.rst
@@ -46,6 +46,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0157.rst b/Help/policy/CMP0157.rst index c607203..c8f5ea8 100644 --- a/Help/policy/CMP0157.rst +++ b/Help/policy/CMP0157.rst
@@ -42,6 +42,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0158.rst b/Help/policy/CMP0158.rst index 66e5a62..4882e15 100644 --- a/Help/policy/CMP0158.rst +++ b/Help/policy/CMP0158.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0159.rst b/Help/policy/CMP0159.rst index 908ef0f..365fc28 100644 --- a/Help/policy/CMP0159.rst +++ b/Help/policy/CMP0159.rst
@@ -18,6 +18,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0160.rst b/Help/policy/CMP0160.rst index 46318ab..2b12358 100644 --- a/Help/policy/CMP0160.rst +++ b/Help/policy/CMP0160.rst
@@ -34,6 +34,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0161.rst b/Help/policy/CMP0161.rst index 34bb64c..94e1803 100644 --- a/Help/policy/CMP0161.rst +++ b/Help/policy/CMP0161.rst
@@ -28,9 +28,9 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.29 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst Note that a warning will only be emitted if the :variable:`CPACK_BINARY_PRODUCTBUILD <CPACK_BINARY_<GENNAME>>` variable is set to true and the project is being built for an Apple platform. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0162.rst b/Help/policy/CMP0162.rst index df46d96..26c7b4b 100644 --- a/Help/policy/CMP0162.rst +++ b/Help/policy/CMP0162.rst
@@ -42,6 +42,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0163.rst b/Help/policy/CMP0163.rst index 40b3535..c710c8b 100644 --- a/Help/policy/CMP0163.rst +++ b/Help/policy/CMP0163.rst
@@ -32,6 +32,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0164.rst b/Help/policy/CMP0164.rst index 9702cc2..dd7b8b3 100644 --- a/Help/policy/CMP0164.rst +++ b/Help/policy/CMP0164.rst
@@ -26,6 +26,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn about the behavior change -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0165.rst b/Help/policy/CMP0165.rst index 7a79c44..4741f04 100644 --- a/Help/policy/CMP0165.rst +++ b/Help/policy/CMP0165.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0166.rst b/Help/policy/CMP0166.rst index 0534559..fa0c31b 100644 --- a/Help/policy/CMP0166.rst +++ b/Help/policy/CMP0166.rst
@@ -35,6 +35,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0167.rst b/Help/policy/CMP0167.rst index 763ef69..2812378 100644 --- a/Help/policy/CMP0167.rst +++ b/Help/policy/CMP0167.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0168.rst b/Help/policy/CMP0168.rst index ec8ef2a..e39a35c 100644 --- a/Help/policy/CMP0168.rst +++ b/Help/policy/CMP0168.rst
@@ -67,6 +67,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0169.rst b/Help/policy/CMP0169.rst index 38b8dcb..5e8ce90 100644 --- a/Help/policy/CMP0169.rst +++ b/Help/policy/CMP0169.rst
@@ -44,6 +44,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0170.rst b/Help/policy/CMP0170.rst index 9d7860a..65d47aa 100644 --- a/Help/policy/CMP0170.rst +++ b/Help/policy/CMP0170.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.30 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0171.rst b/Help/policy/CMP0171.rst index c364bf4..904af65 100644 --- a/Help/policy/CMP0171.rst +++ b/Help/policy/CMP0171.rst
@@ -21,6 +21,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0172.rst b/Help/policy/CMP0172.rst index c316975..bb5718a 100644 --- a/Help/policy/CMP0172.rst +++ b/Help/policy/CMP0172.rst
@@ -30,10 +30,10 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0172 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0173.rst b/Help/policy/CMP0173.rst index 30de19f..39e1e9f 100644 --- a/Help/policy/CMP0173.rst +++ b/Help/policy/CMP0173.rst
@@ -17,6 +17,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0174.rst b/Help/policy/CMP0174.rst index 748fdba..3cecc0a 100644 --- a/Help/policy/CMP0174.rst +++ b/Help/policy/CMP0174.rst
@@ -32,6 +32,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0175.rst b/Help/policy/CMP0175.rst index a71aadf..13ce568 100644 --- a/Help/policy/CMP0175.rst +++ b/Help/policy/CMP0175.rst
@@ -35,6 +35,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0176.rst b/Help/policy/CMP0176.rst index 4683174..7acdd8a 100644 --- a/Help/policy/CMP0176.rst +++ b/Help/policy/CMP0176.rst
@@ -22,6 +22,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0177.rst b/Help/policy/CMP0177.rst index 3eca9f3..bfe8f7c 100644 --- a/Help/policy/CMP0177.rst +++ b/Help/policy/CMP0177.rst
@@ -35,4 +35,4 @@ if normalized, and uses ``OLD`` behavior. If a destination path contains a generator expression, no such warning will be issued regardless of the value. -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0178.rst b/Help/policy/CMP0178.rst index f6152eb..d4878c4 100644 --- a/Help/policy/CMP0178.rst +++ b/Help/policy/CMP0178.rst
@@ -32,6 +32,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0179.rst b/Help/policy/CMP0179.rst index 7c9498f..7aa83c5 100644 --- a/Help/policy/CMP0179.rst +++ b/Help/policy/CMP0179.rst
@@ -23,6 +23,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0180.rst b/Help/policy/CMP0180.rst index f69c0bc..7e42b0f 100644 --- a/Help/policy/CMP0180.rst +++ b/Help/policy/CMP0180.rst
@@ -31,6 +31,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.31 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0181.rst b/Help/policy/CMP0181.rst index 807ab05..88c0527 100644 --- a/Help/policy/CMP0181.rst +++ b/Help/policy/CMP0181.rst
@@ -36,6 +36,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0182.rst b/Help/policy/CMP0182.rst index 4cc8603..63f346d 100644 --- a/Help/policy/CMP0182.rst +++ b/Help/policy/CMP0182.rst
@@ -26,6 +26,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0183.rst b/Help/policy/CMP0183.rst index 5d1b59d..6804c3b 100644 --- a/Help/policy/CMP0183.rst +++ b/Help/policy/CMP0183.rst
@@ -28,6 +28,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0184.rst b/Help/policy/CMP0184.rst index 5020829..140aaa3 100644 --- a/Help/policy/CMP0184.rst +++ b/Help/policy/CMP0184.rst
@@ -49,6 +49,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0185.rst b/Help/policy/CMP0185.rst index 2020d21..6efa3e7 100644 --- a/Help/policy/CMP0185.rst +++ b/Help/policy/CMP0185.rst
@@ -20,6 +20,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0186.rst b/Help/policy/CMP0186.rst index 747bce2..9078a03 100644 --- a/Help/policy/CMP0186.rst +++ b/Help/policy/CMP0186.rst
@@ -38,6 +38,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0187.rst b/Help/policy/CMP0187.rst index d833d84..b5664d0 100644 --- a/Help/policy/CMP0187.rst +++ b/Help/policy/CMP0187.rst
@@ -28,6 +28,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0188.rst b/Help/policy/CMP0188.rst index 6b4cb83..98165d1 100644 --- a/Help/policy/CMP0188.rst +++ b/Help/policy/CMP0188.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0189.rst b/Help/policy/CMP0189.rst index c15217c..6f26f2d 100644 --- a/Help/policy/CMP0189.rst +++ b/Help/policy/CMP0189.rst
@@ -25,6 +25,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0190.rst b/Help/policy/CMP0190.rst index e46306b..d100649 100644 --- a/Help/policy/CMP0190.rst +++ b/Help/policy/CMP0190.rst
@@ -26,6 +26,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0191.rst b/Help/policy/CMP0191.rst index 42a7270..839bf4a 100644 --- a/Help/policy/CMP0191.rst +++ b/Help/policy/CMP0191.rst
@@ -16,6 +16,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/CMP0192.rst b/Help/policy/CMP0192.rst index 04c0330..cd86d6d 100644 --- a/Help/policy/CMP0192.rst +++ b/Help/policy/CMP0192.rst
@@ -36,6 +36,6 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst -.. include:: DEPRECATED.txt +.. include:: include/DEPRECATED.rst
diff --git a/Help/policy/DEPRECATED.txt b/Help/policy/include/DEPRECATED.rst similarity index 100% rename from Help/policy/DEPRECATED.txt rename to Help/policy/include/DEPRECATED.rst
diff --git a/Help/policy/DISALLOWED_COMMAND.txt b/Help/policy/include/DISALLOWED_COMMAND.rst similarity index 88% rename from Help/policy/DISALLOWED_COMMAND.txt rename to Help/policy/include/DISALLOWED_COMMAND.rst index 506f2bb..723054d 100644 --- a/Help/policy/DISALLOWED_COMMAND.txt +++ b/Help/policy/include/DISALLOWED_COMMAND.rst
@@ -5,4 +5,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: |disallowed_version| .. |WARNS_OR_DOES_NOT_WARN| replace:: warns -.. include:: STANDARD_ADVICE.txt +.. include:: include/STANDARD_ADVICE.rst
diff --git a/Help/policy/REMOVED_COMMAND.txt b/Help/policy/include/REMOVED_COMMAND.rst similarity index 88% rename from Help/policy/REMOVED_COMMAND.txt rename to Help/policy/include/REMOVED_COMMAND.rst index 1c8c963..dd6184d 100644 --- a/Help/policy/REMOVED_COMMAND.txt +++ b/Help/policy/include/REMOVED_COMMAND.rst
@@ -5,4 +5,4 @@ .. |INTRODUCED_IN_CMAKE_VERSION| replace:: |disallowed_version| .. |WARNED_OR_DID_NOT_WARN| replace:: warned -.. include:: REMOVED_EPILOGUE.txt +.. include:: include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/REMOVED_EPILOGUE.txt b/Help/policy/include/REMOVED_EPILOGUE.rst similarity index 100% rename from Help/policy/REMOVED_EPILOGUE.txt rename to Help/policy/include/REMOVED_EPILOGUE.rst
diff --git a/Help/policy/REMOVED_PROLOGUE.txt b/Help/policy/include/REMOVED_PROLOGUE.rst similarity index 100% rename from Help/policy/REMOVED_PROLOGUE.txt rename to Help/policy/include/REMOVED_PROLOGUE.rst
diff --git a/Help/policy/STANDARD_ADVICE.txt b/Help/policy/include/STANDARD_ADVICE.rst similarity index 100% rename from Help/policy/STANDARD_ADVICE.txt rename to Help/policy/include/STANDARD_ADVICE.rst
diff --git a/Help/prop_dir/COMPILE_DEFINITIONS.rst b/Help/prop_dir/COMPILE_DEFINITIONS.rst index 5a12c1e..fe31cdb 100644 --- a/Help/prop_dir/COMPILE_DEFINITIONS.rst +++ b/Help/prop_dir/COMPILE_DEFINITIONS.rst
@@ -22,7 +22,7 @@ .. versionadded:: 3.26 Any leading ``-D`` on an item will be removed. -.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt +.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.rst Contents of ``COMPILE_DEFINITIONS`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
diff --git a/Help/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES.rst index fd2f941..88ad10e 100644 --- a/Help/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES.rst +++ b/Help/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES.rst
@@ -41,4 +41,4 @@ Compiler mode is at least CUDA/C++ 26. -.. include:: CMAKE_LANG_STD_FLAGS.txt +.. include:: include/CMAKE_LANG_STD_FLAGS.rst
diff --git a/Help/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.rst index 177659a..6c1f234 100644 --- a/Help/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.rst +++ b/Help/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.rst
@@ -51,7 +51,7 @@ Compiler mode is at least C++ 26. -.. include:: CMAKE_LANG_STD_FLAGS.txt +.. include:: include/CMAKE_LANG_STD_FLAGS.rst Low level individual compile features ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst index 7aca9e8..ccb452b 100644 --- a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst +++ b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst
@@ -39,7 +39,7 @@ Compiler mode is at least C 23. -.. include:: CMAKE_LANG_STD_FLAGS.txt +.. include:: include/CMAKE_LANG_STD_FLAGS.rst Low level individual compile features ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst index 9d13c81..d6d2099 100644 --- a/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst +++ b/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst
@@ -39,4 +39,4 @@ Compiler mode is at least HIP/C++ 26. -.. include:: CMAKE_LANG_STD_FLAGS.txt +.. include:: include/CMAKE_LANG_STD_FLAGS.rst
diff --git a/Help/prop_gbl/CMAKE_LANG_STD_FLAGS.txt b/Help/prop_gbl/include/CMAKE_LANG_STD_FLAGS.rst similarity index 100% rename from Help/prop_gbl/CMAKE_LANG_STD_FLAGS.txt rename to Help/prop_gbl/include/CMAKE_LANG_STD_FLAGS.rst
diff --git a/Help/prop_sf/COMPILE_DEFINITIONS.rst b/Help/prop_sf/COMPILE_DEFINITIONS.rst index d14d637..9af87c9 100644 --- a/Help/prop_sf/COMPILE_DEFINITIONS.rst +++ b/Help/prop_sf/COMPILE_DEFINITIONS.rst
@@ -19,7 +19,7 @@ .. versionadded:: 3.26 Any leading ``-D`` on an item will be removed. -.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt +.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.rst Contents of ``COMPILE_DEFINITIONS`` may use :manual:`cmake-generator-expressions(7)` with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst index abb627c..c093c15 100644 --- a/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst +++ b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst
@@ -4,9 +4,9 @@ .. |XXX| replace:: :ref:`ARCHIVE <Archive Output Artifacts>` .. |xxx| replace:: archive .. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: :variable:`CMAKE_ARCHIVE_OUTPUT_DIRECTORY` -.. include:: XXX_OUTPUT_DIRECTORY.txt +.. include:: include/XXX_OUTPUT_DIRECTORY.rst .. |IDEM| replace:: in the same directory -.. include:: MACOS_IMPORT_FILES.txt +.. include:: include/MACOS_IMPORT_FILES.rst See also the :prop_tgt:`ARCHIVE_OUTPUT_DIRECTORY_<CONFIG>` target property.
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst index 1f1c467..5b95a28 100644 --- a/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst +++ b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst
@@ -3,9 +3,9 @@ .. |XXX| replace:: :ref:`ARCHIVE <Archive Output Artifacts>` .. |xxx| replace:: archive -.. include:: XXX_OUTPUT_NAME.txt +.. include:: include/XXX_OUTPUT_NAME.rst .. |IDEM| replace:: with the same name -.. include:: MACOS_IMPORT_FILES.txt +.. include:: include/MACOS_IMPORT_FILES.rst See also the :prop_tgt:`ARCHIVE_OUTPUT_NAME_<CONFIG>` target property.
diff --git a/Help/prop_tgt/COMPILE_DEFINITIONS.rst b/Help/prop_tgt/COMPILE_DEFINITIONS.rst index c128a9b..56bf3b4 100644 --- a/Help/prop_tgt/COMPILE_DEFINITIONS.rst +++ b/Help/prop_tgt/COMPILE_DEFINITIONS.rst
@@ -16,7 +16,7 @@ .. versionadded:: 3.26 Any leading ``-D`` on an item will be removed. -.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt +.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.rst Contents of ``COMPILE_DEFINITIONS`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
diff --git a/Help/prop_tgt/COMPILE_OPTIONS.rst b/Help/prop_tgt/COMPILE_OPTIONS.rst index 8b032ad..1b8d53f 100644 --- a/Help/prop_tgt/COMPILE_OPTIONS.rst +++ b/Help/prop_tgt/COMPILE_OPTIONS.rst
@@ -24,4 +24,4 @@ for available expressions. See the :manual:`cmake-buildsystem(7)` manual for more on defining buildsystem properties. -.. include:: ../command/OPTIONS_SHELL.txt +.. include:: ../command/include/OPTIONS_SHELL.rst
diff --git a/Help/prop_tgt/COMPILE_PDB_NAME.rst b/Help/prop_tgt/COMPILE_PDB_NAME.rst index 0649993..1b4657e 100644 --- a/Help/prop_tgt/COMPILE_PDB_NAME.rst +++ b/Help/prop_tgt/COMPILE_PDB_NAME.rst
@@ -15,4 +15,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |PDB_XXX| replace:: :prop_tgt:`PDB_NAME` -.. include:: COMPILE_PDB_NOTE.txt +.. include:: include/COMPILE_PDB_NOTE.rst
diff --git a/Help/prop_tgt/COMPILE_PDB_NAME_CONFIG.rst b/Help/prop_tgt/COMPILE_PDB_NAME_CONFIG.rst index 4a78f85..f21bdc9 100644 --- a/Help/prop_tgt/COMPILE_PDB_NAME_CONFIG.rst +++ b/Help/prop_tgt/COMPILE_PDB_NAME_CONFIG.rst
@@ -14,4 +14,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |PDB_XXX| replace:: :prop_tgt:`PDB_NAME_<CONFIG>` -.. include:: COMPILE_PDB_NOTE.txt +.. include:: include/COMPILE_PDB_NOTE.rst
diff --git a/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY.rst index 626b5e0..5bfb50b 100644 --- a/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY.rst +++ b/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY.rst
@@ -22,4 +22,4 @@ set when a target is created. .. |PDB_XXX| replace:: :prop_tgt:`PDB_OUTPUT_DIRECTORY` -.. include:: COMPILE_PDB_NOTE.txt +.. include:: include/COMPILE_PDB_NOTE.rst
diff --git a/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG.rst index 8a870f8..25c7f2e 100644 --- a/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG.rst +++ b/Help/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG.rst
@@ -20,4 +20,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |PDB_XXX| replace:: :prop_tgt:`PDB_OUTPUT_DIRECTORY_<CONFIG>` -.. include:: COMPILE_PDB_NOTE.txt +.. include:: include/COMPILE_PDB_NOTE.rst
diff --git a/Help/prop_tgt/CUDA_RUNTIME_LIBRARY.rst b/Help/prop_tgt/CUDA_RUNTIME_LIBRARY.rst index e937fc6..99954e9 100644 --- a/Help/prop_tgt/CUDA_RUNTIME_LIBRARY.rst +++ b/Help/prop_tgt/CUDA_RUNTIME_LIBRARY.rst
@@ -7,7 +7,7 @@ The allowed case insensitive values are: -.. include:: CUDA_RUNTIME_LIBRARY-VALUES.txt +.. include:: include/CUDA_RUNTIME_LIBRARY-VALUES.rst Contents of ``CUDA_RUNTIME_LIBRARY`` may use :manual:`generator expressions <cmake-generator-expressions(7)>`.
diff --git a/Help/prop_tgt/IMPORTED_CXX_MODULES_COMPILE_OPTIONS.rst b/Help/prop_tgt/IMPORTED_CXX_MODULES_COMPILE_OPTIONS.rst index cf7bc5b..632337a 100644 --- a/Help/prop_tgt/IMPORTED_CXX_MODULES_COMPILE_OPTIONS.rst +++ b/Help/prop_tgt/IMPORTED_CXX_MODULES_COMPILE_OPTIONS.rst
@@ -6,4 +6,4 @@ List of options to pass to the compiler for this ``IMPORTED`` target's C++ modules. -.. include:: ../command/OPTIONS_SHELL.txt +.. include:: ../command/include/OPTIONS_SHELL.rst
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst b/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst index 9cc12a1..deda872 100644 --- a/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst +++ b/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst
@@ -5,4 +5,4 @@ .. |command_name| replace:: :command:`target_compile_definitions` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_COMPILE_DEFINITIONS`` .. |PROPERTY_LINK| replace:: :prop_tgt:`COMPILE_DEFINITIONS` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst b/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst index 50d6161..2c2a859 100644 --- a/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst +++ b/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst
@@ -7,7 +7,7 @@ .. |command_name| replace:: :command:`target_compile_features` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_COMPILE_FEATURES`` .. |PROPERTY_LINK| replace:: :prop_tgt:`COMPILE_FEATURES` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst See the :manual:`cmake-compile-features(7)` manual for information on compile features and a list of supported compilers.
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst b/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst index 2af7a99..3d529d0 100644 --- a/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst +++ b/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst
@@ -5,4 +5,4 @@ .. |command_name| replace:: :command:`target_compile_options` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_COMPILE_OPTIONS`` .. |PROPERTY_LINK| replace:: :prop_tgt:`COMPILE_OPTIONS` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst
diff --git a/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst b/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst index 8795c80..b69fed5 100644 --- a/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst +++ b/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst
@@ -5,7 +5,7 @@ .. |command_name| replace:: :command:`target_include_directories` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_INCLUDE_DIRECTORIES`` .. |PROPERTY_LINK| replace:: :prop_tgt:`INCLUDE_DIRECTORIES` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst Include directories usage requirements commonly differ between the build-tree and the install-tree. The ``BUILD_INTERFACE`` and ``INSTALL_INTERFACE`` @@ -25,4 +25,4 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: ``INTERFACE_INCLUDE_DIRECTORIES`` -.. include:: /include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.txt +.. include:: /include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.rst
diff --git a/Help/prop_tgt/INTERFACE_LINK_DIRECTORIES.rst b/Help/prop_tgt/INTERFACE_LINK_DIRECTORIES.rst index 45b3225..845e674 100644 --- a/Help/prop_tgt/INTERFACE_LINK_DIRECTORIES.rst +++ b/Help/prop_tgt/INTERFACE_LINK_DIRECTORIES.rst
@@ -7,4 +7,4 @@ .. |command_name| replace:: :command:`target_link_directories` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_LINK_DIRECTORIES`` .. |PROPERTY_LINK| replace:: :prop_tgt:`LINK_DIRECTORIES` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst
diff --git a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst index 73d273b..a73c22d 100644 --- a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst +++ b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst
@@ -24,7 +24,7 @@ manual for available expressions. See the :manual:`cmake-buildsystem(7)` manual for more on defining buildsystem properties. -.. include:: LINK_LIBRARIES_INDIRECTION.txt +.. include:: include/LINK_LIBRARIES_INDIRECTION.rst ``INTERFACE_LINK_LIBRARIES`` adds transitive link dependencies for a target's dependents. In advanced use cases, one may update the @@ -32,10 +32,10 @@ :prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT` and :prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE` target properties. -.. include:: ../command/LINK_LIBRARIES_LINKER.txt +.. include:: ../command/include/LINK_LIBRARIES_LINKER.rst Creating Relocatable Packages ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: ``INTERFACE_LINK_LIBRARIES`` -.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt +.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.rst
diff --git a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst index c87c825..d0a51e5 100644 --- a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst +++ b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst
@@ -22,7 +22,7 @@ target property. .. |INTERFACE_PROPERTY_LINK_DIRECT| replace:: ``INTERFACE_LINK_LIBRARIES_DIRECT`` -.. include:: INTERFACE_LINK_LIBRARIES_DIRECT.txt +.. include:: include/INTERFACE_LINK_LIBRARIES_DIRECT.rst Direct Link Dependencies as Usage Requirements ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE.rst b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE.rst index 2f8f87f..3ed2afb 100644 --- a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE.rst +++ b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE.rst
@@ -28,7 +28,7 @@ :prop_tgt:`INTERFACE_LINK_LIBRARIES` property on other dependencies. .. |INTERFACE_PROPERTY_LINK_DIRECT| replace:: ``INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE`` -.. include:: INTERFACE_LINK_LIBRARIES_DIRECT.txt +.. include:: include/INTERFACE_LINK_LIBRARIES_DIRECT.rst See the :prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT` target property documentation for more details and examples.
diff --git a/Help/prop_tgt/INTERFACE_LINK_OPTIONS.rst b/Help/prop_tgt/INTERFACE_LINK_OPTIONS.rst index 886adf2..1694da7 100644 --- a/Help/prop_tgt/INTERFACE_LINK_OPTIONS.rst +++ b/Help/prop_tgt/INTERFACE_LINK_OPTIONS.rst
@@ -7,10 +7,10 @@ .. |command_name| replace:: :command:`target_link_options` .. |PROPERTY_INTERFACE_NAME| replace:: ``INTERFACE_LINK_OPTIONS`` .. |PROPERTY_LINK| replace:: :prop_tgt:`LINK_OPTIONS` -.. include:: INTERFACE_BUILD_PROPERTY.txt +.. include:: include/INTERFACE_BUILD_PROPERTY.rst -.. include:: ../command/DEVICE_LINK_OPTIONS.txt +.. include:: ../command/include/DEVICE_LINK_OPTIONS.rst -.. include:: ../command/OPTIONS_SHELL.txt +.. include:: ../command/include/OPTIONS_SHELL.rst -.. include:: ../command/LINK_OPTIONS_LINKER.txt +.. include:: ../command/include/LINK_OPTIONS_LINKER.rst
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst index 9fbe904..b075369 100644 --- a/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst +++ b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst
@@ -4,6 +4,6 @@ .. |XXX| replace:: :ref:`LIBRARY <Library Output Artifacts>` .. |xxx| replace:: library .. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: :variable:`CMAKE_LIBRARY_OUTPUT_DIRECTORY` -.. include:: XXX_OUTPUT_DIRECTORY.txt +.. include:: include/XXX_OUTPUT_DIRECTORY.rst See also the :prop_tgt:`LIBRARY_OUTPUT_DIRECTORY_<CONFIG>` target property.
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst b/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst index 6027f7f..a304357 100644 --- a/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst +++ b/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst
@@ -3,6 +3,6 @@ .. |XXX| replace:: :ref:`LIBRARY <Library Output Artifacts>` .. |xxx| replace:: library -.. include:: XXX_OUTPUT_NAME.txt +.. include:: include/XXX_OUTPUT_NAME.rst See also the :prop_tgt:`LIBRARY_OUTPUT_NAME_<CONFIG>` target property.
diff --git a/Help/prop_tgt/LINKER_TYPE.rst b/Help/prop_tgt/LINKER_TYPE.rst index 23e1e4c..ce1eaeb 100644 --- a/Help/prop_tgt/LINKER_TYPE.rst +++ b/Help/prop_tgt/LINKER_TYPE.rst
@@ -6,7 +6,7 @@ Specify which linker will be used for the link step. The property value may use :manual:`generator expressions <cmake-generator-expressions(7)>`. -.. include:: ../variable/LINKER_PREDEFINED_TYPES.txt +.. include:: ../variable/include/LINKER_PREDEFINED_TYPES.rst This property is not supported on :generator:`Green Hills MULTI` generator.
diff --git a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst index 2dcf45c..1c255b1 100644 --- a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst +++ b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
@@ -28,4 +28,4 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: ``LINK_INTERFACE_LIBRARIES`` -.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt +.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.rst
diff --git a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst index 22ee5a6..502616b 100644 --- a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst +++ b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst
@@ -17,4 +17,4 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. |INTERFACE_PROPERTY_LINK| replace:: ``LINK_INTERFACE_LIBRARIES_<CONFIG>`` -.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt +.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.rst
diff --git a/Help/prop_tgt/LINK_LIBRARIES.rst b/Help/prop_tgt/LINK_LIBRARIES.rst index 8814980..e5aa3c6 100644 --- a/Help/prop_tgt/LINK_LIBRARIES.rst +++ b/Help/prop_tgt/LINK_LIBRARIES.rst
@@ -22,7 +22,7 @@ See the :manual:`cmake-buildsystem(7)` manual for more on defining buildsystem properties. -.. include:: LINK_LIBRARIES_INDIRECTION.txt +.. include:: include/LINK_LIBRARIES_INDIRECTION.rst In advanced use cases, the list of direct link dependencies specified by this property may be updated by usage requirements from dependencies. @@ -34,4 +34,4 @@ for details on how CMake orders direct link dependencies on linker command lines. -.. include:: ../command/LINK_LIBRARIES_LINKER.txt +.. include:: ../command/include/LINK_LIBRARIES_LINKER.rst
diff --git a/Help/prop_tgt/LINK_OPTIONS.rst b/Help/prop_tgt/LINK_OPTIONS.rst index fcdac59..fd14c96 100644 --- a/Help/prop_tgt/LINK_OPTIONS.rst +++ b/Help/prop_tgt/LINK_OPTIONS.rst
@@ -29,8 +29,8 @@ This property must be used in preference to :prop_tgt:`LINK_FLAGS` property. -.. include:: ../command/DEVICE_LINK_OPTIONS.txt +.. include:: ../command/include/DEVICE_LINK_OPTIONS.rst -.. include:: ../command/OPTIONS_SHELL.txt +.. include:: ../command/include/OPTIONS_SHELL.rst -.. include:: ../command/LINK_OPTIONS_LINKER.txt +.. include:: ../command/include/LINK_OPTIONS_LINKER.rst
diff --git a/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst b/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst index 94ee20d..7758b2c 100644 --- a/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst +++ b/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst
@@ -7,7 +7,7 @@ The allowed values are: -.. include:: MSVC_DEBUG_INFORMATION_FORMAT-VALUES.txt +.. include:: include/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/prop_tgt/MSVC_RUNTIME_CHECKS.rst b/Help/prop_tgt/MSVC_RUNTIME_CHECKS.rst index 72639d5..8b647d4 100644 --- a/Help/prop_tgt/MSVC_RUNTIME_CHECKS.rst +++ b/Help/prop_tgt/MSVC_RUNTIME_CHECKS.rst
@@ -7,7 +7,7 @@ The allowed values are: -.. include:: MSVC_RUNTIME_CHECKS-VALUES.txt +.. include:: include/MSVC_RUNTIME_CHECKS-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst index 9f13d38..fd92417 100644 --- a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst +++ b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst
@@ -7,7 +7,7 @@ The allowed values are: -.. include:: MSVC_RUNTIME_LIBRARY-VALUES.txt +.. include:: include/MSVC_RUNTIME_LIBRARY-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/prop_tgt/PDB_NAME.rst b/Help/prop_tgt/PDB_NAME.rst index e8cb4e6..6d9dfd4 100644 --- a/Help/prop_tgt/PDB_NAME.rst +++ b/Help/prop_tgt/PDB_NAME.rst
@@ -14,4 +14,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |COMPILE_PDB_XXX| replace:: :prop_tgt:`COMPILE_PDB_NAME` -.. include:: PDB_NOTE.txt +.. include:: include/PDB_NOTE.rst
diff --git a/Help/prop_tgt/PDB_NAME_CONFIG.rst b/Help/prop_tgt/PDB_NAME_CONFIG.rst index 7b1edda..99ebc4c 100644 --- a/Help/prop_tgt/PDB_NAME_CONFIG.rst +++ b/Help/prop_tgt/PDB_NAME_CONFIG.rst
@@ -12,4 +12,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |COMPILE_PDB_XXX| replace:: :prop_tgt:`COMPILE_PDB_NAME_<CONFIG>` -.. include:: PDB_NOTE.txt +.. include:: include/PDB_NOTE.rst
diff --git a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst index e39643c..e576fb0 100644 --- a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst +++ b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst
@@ -20,4 +20,4 @@ set when a target is created. .. |COMPILE_PDB_XXX| replace:: :prop_tgt:`COMPILE_PDB_OUTPUT_DIRECTORY` -.. include:: PDB_NOTE.txt +.. include:: include/PDB_NOTE.rst
diff --git a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst index 064b91d..47a6f95 100644 --- a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst +++ b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst
@@ -18,4 +18,4 @@ :manual:`generator expressions <cmake-generator-expressions(7)>`. .. |COMPILE_PDB_XXX| replace:: :prop_tgt:`COMPILE_PDB_OUTPUT_DIRECTORY_<CONFIG>` -.. include:: PDB_NOTE.txt +.. include:: include/PDB_NOTE.rst
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst index 3c37546..8f4e238 100644 --- a/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst +++ b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst
@@ -4,6 +4,6 @@ .. |XXX| replace:: :ref:`RUNTIME <Runtime Output Artifacts>` .. |xxx| replace:: runtime .. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: :variable:`CMAKE_RUNTIME_OUTPUT_DIRECTORY` -.. include:: XXX_OUTPUT_DIRECTORY.txt +.. include:: include/XXX_OUTPUT_DIRECTORY.rst See also the :prop_tgt:`RUNTIME_OUTPUT_DIRECTORY_<CONFIG>` target property.
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst b/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst index 11729c3..c9caa3d 100644 --- a/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst +++ b/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst
@@ -3,6 +3,6 @@ .. |XXX| replace:: :ref:`RUNTIME <Runtime Output Artifacts>` .. |xxx| replace:: runtime -.. include:: XXX_OUTPUT_NAME.txt +.. include:: include/XXX_OUTPUT_NAME.rst See also the :prop_tgt:`RUNTIME_OUTPUT_NAME_<CONFIG>` target property.
diff --git a/Help/prop_tgt/SOVERSION.rst b/Help/prop_tgt/SOVERSION.rst index 4f8b1b5..9f874ad 100644 --- a/Help/prop_tgt/SOVERSION.rst +++ b/Help/prop_tgt/SOVERSION.rst
@@ -10,7 +10,7 @@ specified the missing is assumed to have the same version number. ``SOVERSION`` is ignored if :prop_tgt:`NO_SONAME` property is set. -.. include:: VERSION_SOVERSION_EXAMPLE.txt +.. include:: include/VERSION_SOVERSION_EXAMPLE.rst Windows Versions ^^^^^^^^^^^^^^^^
diff --git a/Help/prop_tgt/STATIC_LIBRARY_OPTIONS.rst b/Help/prop_tgt/STATIC_LIBRARY_OPTIONS.rst index 370c75c..2a9c4a9 100644 --- a/Help/prop_tgt/STATIC_LIBRARY_OPTIONS.rst +++ b/Help/prop_tgt/STATIC_LIBRARY_OPTIONS.rst
@@ -21,6 +21,6 @@ This property must be used in preference to :prop_tgt:`STATIC_LIBRARY_FLAGS` property. -.. include:: ../command/OPTIONS_SHELL.txt +.. include:: ../command/include/OPTIONS_SHELL.rst -.. include:: ../prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt +.. include:: ../prop_tgt/include/STATIC_LIBRARY_OPTIONS_ARCHIVER.rst
diff --git a/Help/prop_tgt/Swift_COMPILATION_MODE.rst b/Help/prop_tgt/Swift_COMPILATION_MODE.rst index e26474a..955dad0 100644 --- a/Help/prop_tgt/Swift_COMPILATION_MODE.rst +++ b/Help/prop_tgt/Swift_COMPILATION_MODE.rst
@@ -7,7 +7,7 @@ The allowed values are: -.. include:: Swift_COMPILATION_MODE-VALUES.txt +.. include:: include/Swift_COMPILATION_MODE-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/prop_tgt/VERSION.rst b/Help/prop_tgt/VERSION.rst index f9cb020..28ddb5d 100644 --- a/Help/prop_tgt/VERSION.rst +++ b/Help/prop_tgt/VERSION.rst
@@ -12,7 +12,7 @@ building or installing appropriate symlinks are created if the platform supports symlinks. -.. include:: VERSION_SOVERSION_EXAMPLE.txt +.. include:: include/VERSION_SOVERSION_EXAMPLE.rst Windows Versions ^^^^^^^^^^^^^^^^
diff --git a/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst b/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst index 3d5ada4..f25e2a7 100644 --- a/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst +++ b/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst
@@ -6,7 +6,7 @@ .. |VS_USE_DEBUG_LIBRARIES| replace:: ``VS_USE_DEBUG_LIBRARIES`` .. |MSVC_RUNTIME_LIBRARY| replace:: :prop_tgt:`MSVC_RUNTIME_LIBRARY` -.. include:: VS_USE_DEBUG_LIBRARIES-PURPOSE.txt +.. include:: include/VS_USE_DEBUG_LIBRARIES-PURPOSE.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` for per-configuration specification. For example, the code:
diff --git a/Help/prop_tgt/WATCOM_RUNTIME_LIBRARY.rst b/Help/prop_tgt/WATCOM_RUNTIME_LIBRARY.rst index 3752862..4f9b8e9 100644 --- a/Help/prop_tgt/WATCOM_RUNTIME_LIBRARY.rst +++ b/Help/prop_tgt/WATCOM_RUNTIME_LIBRARY.rst
@@ -7,7 +7,7 @@ The allowed values are: -.. include:: WATCOM_RUNTIME_LIBRARY-VALUES.txt +.. include:: include/WATCOM_RUNTIME_LIBRARY-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification.
diff --git a/Help/prop_tgt/COMPILE_PDB_NOTE.txt b/Help/prop_tgt/include/COMPILE_PDB_NOTE.rst similarity index 100% rename from Help/prop_tgt/COMPILE_PDB_NOTE.txt rename to Help/prop_tgt/include/COMPILE_PDB_NOTE.rst
diff --git a/Help/prop_tgt/CUDA_RUNTIME_LIBRARY-VALUES.txt b/Help/prop_tgt/include/CUDA_RUNTIME_LIBRARY-VALUES.rst similarity index 100% rename from Help/prop_tgt/CUDA_RUNTIME_LIBRARY-VALUES.txt rename to Help/prop_tgt/include/CUDA_RUNTIME_LIBRARY-VALUES.rst
diff --git a/Help/prop_tgt/INTERFACE_BUILD_PROPERTY.txt b/Help/prop_tgt/include/INTERFACE_BUILD_PROPERTY.rst similarity index 100% rename from Help/prop_tgt/INTERFACE_BUILD_PROPERTY.txt rename to Help/prop_tgt/include/INTERFACE_BUILD_PROPERTY.rst
diff --git a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.txt b/Help/prop_tgt/include/INTERFACE_LINK_LIBRARIES_DIRECT.rst similarity index 100% rename from Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.txt rename to Help/prop_tgt/include/INTERFACE_LINK_LIBRARIES_DIRECT.rst
diff --git a/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt b/Help/prop_tgt/include/LINK_LIBRARIES_INDIRECTION.rst similarity index 100% rename from Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt rename to Help/prop_tgt/include/LINK_LIBRARIES_INDIRECTION.rst
diff --git a/Help/prop_tgt/MACOS_IMPORT_FILES.txt b/Help/prop_tgt/include/MACOS_IMPORT_FILES.rst similarity index 100% rename from Help/prop_tgt/MACOS_IMPORT_FILES.txt rename to Help/prop_tgt/include/MACOS_IMPORT_FILES.rst
diff --git a/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.txt b/Help/prop_tgt/include/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.rst similarity index 100% rename from Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.txt rename to Help/prop_tgt/include/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.rst
diff --git a/Help/prop_tgt/MSVC_RUNTIME_CHECKS-VALUES.txt b/Help/prop_tgt/include/MSVC_RUNTIME_CHECKS-VALUES.rst similarity index 100% rename from Help/prop_tgt/MSVC_RUNTIME_CHECKS-VALUES.txt rename to Help/prop_tgt/include/MSVC_RUNTIME_CHECKS-VALUES.rst
diff --git a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt b/Help/prop_tgt/include/MSVC_RUNTIME_LIBRARY-VALUES.rst similarity index 100% rename from Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt rename to Help/prop_tgt/include/MSVC_RUNTIME_LIBRARY-VALUES.rst
diff --git a/Help/prop_tgt/PDB_NOTE.txt b/Help/prop_tgt/include/PDB_NOTE.rst similarity index 100% rename from Help/prop_tgt/PDB_NOTE.txt rename to Help/prop_tgt/include/PDB_NOTE.rst
diff --git a/Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt b/Help/prop_tgt/include/STATIC_LIBRARY_OPTIONS_ARCHIVER.rst similarity index 100% rename from Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt rename to Help/prop_tgt/include/STATIC_LIBRARY_OPTIONS_ARCHIVER.rst
diff --git a/Help/prop_tgt/Swift_COMPILATION_MODE-VALUES.txt b/Help/prop_tgt/include/Swift_COMPILATION_MODE-VALUES.rst similarity index 100% rename from Help/prop_tgt/Swift_COMPILATION_MODE-VALUES.txt rename to Help/prop_tgt/include/Swift_COMPILATION_MODE-VALUES.rst
diff --git a/Help/prop_tgt/VERSION_SOVERSION_EXAMPLE.txt b/Help/prop_tgt/include/VERSION_SOVERSION_EXAMPLE.rst similarity index 100% rename from Help/prop_tgt/VERSION_SOVERSION_EXAMPLE.txt rename to Help/prop_tgt/include/VERSION_SOVERSION_EXAMPLE.rst
diff --git a/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES-PURPOSE.txt b/Help/prop_tgt/include/VS_USE_DEBUG_LIBRARIES-PURPOSE.rst similarity index 100% rename from Help/prop_tgt/VS_USE_DEBUG_LIBRARIES-PURPOSE.txt rename to Help/prop_tgt/include/VS_USE_DEBUG_LIBRARIES-PURPOSE.rst
diff --git a/Help/prop_tgt/WATCOM_RUNTIME_LIBRARY-VALUES.txt b/Help/prop_tgt/include/WATCOM_RUNTIME_LIBRARY-VALUES.rst similarity index 100% rename from Help/prop_tgt/WATCOM_RUNTIME_LIBRARY-VALUES.txt rename to Help/prop_tgt/include/WATCOM_RUNTIME_LIBRARY-VALUES.rst
diff --git a/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt b/Help/prop_tgt/include/XXX_OUTPUT_DIRECTORY.rst similarity index 100% rename from Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt rename to Help/prop_tgt/include/XXX_OUTPUT_DIRECTORY.rst
diff --git a/Help/prop_tgt/XXX_OUTPUT_NAME.txt b/Help/prop_tgt/include/XXX_OUTPUT_NAME.rst similarity index 100% rename from Help/prop_tgt/XXX_OUTPUT_NAME.txt rename to Help/prop_tgt/include/XXX_OUTPUT_NAME.rst
diff --git a/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst index 69b9d93..e2336ed 100644 --- a/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst +++ b/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
@@ -9,7 +9,7 @@ The allowed case insensitive values are: -.. include:: ../prop_tgt/CUDA_RUNTIME_LIBRARY-VALUES.txt +.. include:: ../prop_tgt/include/CUDA_RUNTIME_LIBRARY-VALUES.rst Contents of ``CMAKE_CUDA_RUNTIME_LIBRARY`` may use :manual:`generator expressions <cmake-generator-expressions(7)>`.
diff --git a/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst b/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst index a978d11..0bb08ce 100644 --- a/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst +++ b/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst
@@ -5,4 +5,4 @@ These flags will be used by the linker when creating an executable. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst index 1d74077..30aad20 100644 --- a/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst +++ b/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst
@@ -6,4 +6,4 @@ Same as ``CMAKE_C_FLAGS_*`` but used by the linker when creating executables. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst index df1af5a..2c42ac6 100644 --- a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst +++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst
@@ -3,4 +3,4 @@ .. |FIND_XXX| replace:: :command:`find_file` and :command:`find_path` -.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt +.. include:: include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst index 52ab89d..a2b64ee 100644 --- a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst +++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst
@@ -3,4 +3,4 @@ .. |FIND_XXX| replace:: :command:`find_library` -.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt +.. include:: include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst index 3872947..13dc457 100644 --- a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst +++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst
@@ -3,4 +3,4 @@ .. |FIND_XXX| replace:: :command:`find_package` -.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt +.. include:: include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst index d24a78a..4f4e12d 100644 --- a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst +++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst
@@ -3,4 +3,4 @@ .. |FIND_XXX| replace:: :command:`find_program` -.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt +.. include:: include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst
diff --git a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst index 4317622..885fad6 100644 --- a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst +++ b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst
@@ -44,7 +44,7 @@ Specify the 4-component VS Build Version, a.k.a. Build Number. - .. include:: CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt + .. include:: include/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.rst .. versionadded:: 3.23
diff --git a/Help/variable/CMAKE_IGNORE_PATH.rst b/Help/variable/CMAKE_IGNORE_PATH.rst index 4b2bd8a..1d041e1 100644 --- a/Help/variable/CMAKE_IGNORE_PATH.rst +++ b/Help/variable/CMAKE_IGNORE_PATH.rst
@@ -4,9 +4,9 @@ .. |CMAKE_IGNORE_VAR| replace:: ``CMAKE_IGNORE_PATH`` .. |CMAKE_IGNORE_PREFIX_VAR| replace:: :variable:`CMAKE_IGNORE_PREFIX_PATH` -.. include:: IGNORE_SEARCH_PATH.txt -.. include:: IGNORE_SEARCH_LOCATIONS.txt -.. include:: IGNORE_SEARCH_NONSYSTEM.txt +.. include:: include/IGNORE_SEARCH_PATH.rst +.. include:: include/IGNORE_SEARCH_LOCATIONS.rst +.. include:: include/IGNORE_SEARCH_NONSYSTEM.rst See also the following variables:
diff --git a/Help/variable/CMAKE_IGNORE_PREFIX_PATH.rst b/Help/variable/CMAKE_IGNORE_PREFIX_PATH.rst index b81cc57..c55e9c6 100644 --- a/Help/variable/CMAKE_IGNORE_PREFIX_PATH.rst +++ b/Help/variable/CMAKE_IGNORE_PREFIX_PATH.rst
@@ -6,9 +6,9 @@ .. |CMAKE_IGNORE_VAR| replace:: ``CMAKE_IGNORE_PREFIX_PATH`` .. |CMAKE_IGNORE_NONPREFIX_VAR| replace:: :variable:`CMAKE_IGNORE_PATH` -.. include:: IGNORE_SEARCH_PREFIX.txt -.. include:: IGNORE_SEARCH_LOCATIONS.txt -.. include:: IGNORE_SEARCH_NONSYSTEM.txt +.. include:: include/IGNORE_SEARCH_PREFIX.rst +.. include:: include/IGNORE_SEARCH_LOCATIONS.rst +.. include:: include/IGNORE_SEARCH_NONSYSTEM.rst See also the following variables:
diff --git a/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE.rst b/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE.rst index 7c929d0..9ddf6ea 100644 --- a/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE.rst +++ b/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE.rst
@@ -13,4 +13,4 @@ The :variable:`CMAKE_LINK_GROUP_USING_<FEATURE>` variable should be defined instead for features that are independent of the link language. -.. include:: CMAKE_LINK_GROUP_USING_FEATURE.txt +.. include:: include/CMAKE_LINK_GROUP_USING_FEATURE.rst
diff --git a/Help/variable/CMAKE_LANG_LINK_LIBRARY_USING_FEATURE.rst b/Help/variable/CMAKE_LANG_LINK_LIBRARY_USING_FEATURE.rst index 39fcff8..505f740 100644 --- a/Help/variable/CMAKE_LANG_LINK_LIBRARY_USING_FEATURE.rst +++ b/Help/variable/CMAKE_LANG_LINK_LIBRARY_USING_FEATURE.rst
@@ -13,4 +13,4 @@ The :variable:`CMAKE_LINK_LIBRARY_USING_<FEATURE>` variable should be defined instead for features that are independent of the link language. -.. include:: CMAKE_LINK_LIBRARY_USING_FEATURE.txt +.. include:: include/CMAKE_LINK_LIBRARY_USING_FEATURE.rst
diff --git a/Help/variable/CMAKE_LINKER_TYPE.rst b/Help/variable/CMAKE_LINKER_TYPE.rst index e2989ec..2697acd 100644 --- a/Help/variable/CMAKE_LINKER_TYPE.rst +++ b/Help/variable/CMAKE_LINKER_TYPE.rst
@@ -11,4 +11,4 @@ link step. If set, its value is also used by the :command:`try_compile` command. -.. include:: LINKER_PREDEFINED_TYPES.txt +.. include:: include/LINKER_PREDEFINED_TYPES.rst
diff --git a/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.rst b/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.rst index 90b7f8b..5cbe5ec 100644 --- a/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.rst +++ b/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.rst
@@ -19,4 +19,4 @@ The :variable:`CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>` variable should be defined instead for features that are dependent on the link language. -.. include:: CMAKE_LINK_GROUP_USING_FEATURE.txt +.. include:: include/CMAKE_LINK_GROUP_USING_FEATURE.rst
diff --git a/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.rst b/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.rst index c652733..30877c2 100644 --- a/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.rst +++ b/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.rst
@@ -16,4 +16,4 @@ cannot be true for the link language used by the target for which the :genex:`LINK_LIBRARY` generator expression is evaluated. -.. include:: CMAKE_LINK_LIBRARY_USING_FEATURE.txt +.. include:: include/CMAKE_LINK_LIBRARY_USING_FEATURE.rst
diff --git a/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst b/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst index eed6b65..e74b6ee 100644 --- a/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst +++ b/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst
@@ -5,4 +5,4 @@ These flags will be used by the linker when creating a module. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst index fd0769c..693565a 100644 --- a/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst +++ b/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst
@@ -5,4 +5,4 @@ Same as ``CMAKE_C_FLAGS_*`` but used by the linker when creating modules. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.rst b/Help/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.rst index 84c2584..a899f63 100644 --- a/Help/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.rst +++ b/Help/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.rst
@@ -11,7 +11,7 @@ The allowed values are: -.. include:: ../prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.txt +.. include:: ../prop_tgt/include/MSVC_DEBUG_INFORMATION_FORMAT-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/variable/CMAKE_MSVC_RUNTIME_CHECKS.rst b/Help/variable/CMAKE_MSVC_RUNTIME_CHECKS.rst index 5ba8547..c793674 100644 --- a/Help/variable/CMAKE_MSVC_RUNTIME_CHECKS.rst +++ b/Help/variable/CMAKE_MSVC_RUNTIME_CHECKS.rst
@@ -11,7 +11,7 @@ The allowed values are: -.. include:: ../prop_tgt/MSVC_RUNTIME_CHECKS-VALUES.txt +.. include:: ../prop_tgt/include/MSVC_RUNTIME_CHECKS-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst index 14806e6..22c3d45 100644 --- a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst +++ b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst
@@ -10,7 +10,7 @@ The allowed values are: -.. include:: ../prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt +.. include:: ../prop_tgt/include/MSVC_RUNTIME_LIBRARY-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst index fdaca28..f660df9 100644 --- a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst +++ b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
@@ -7,4 +7,4 @@ property on each target as it is created. See that target property for additional information. -.. include:: CMAKE_OSX_VARIABLE.txt +.. include:: include/CMAKE_OSX_VARIABLE.rst
diff --git a/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst index 9df5edd..390c9d5 100644 --- a/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst +++ b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
@@ -12,4 +12,4 @@ ``MACOSX_DEPLOYMENT_TARGET`` environment variable, if set, and otherwise computed based on the host platform. -.. include:: CMAKE_OSX_VARIABLE.txt +.. include:: include/CMAKE_OSX_VARIABLE.rst
diff --git a/Help/variable/CMAKE_OSX_SYSROOT.rst b/Help/variable/CMAKE_OSX_SYSROOT.rst index bd2df5f..b054620 100644 --- a/Help/variable/CMAKE_OSX_SYSROOT.rst +++ b/Help/variable/CMAKE_OSX_SYSROOT.rst
@@ -23,4 +23,4 @@ installed in ``/usr/local`` should pass ``-DCMAKE_OSX_SYSROOT=macosx``, or ``export SDKROOT=macosx``, when not building with Homebrew tools. -.. include:: CMAKE_OSX_VARIABLE.txt +.. include:: include/CMAKE_OSX_VARIABLE.rst
diff --git a/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst b/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst index 45748ff..93c84ee 100644 --- a/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst +++ b/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst
@@ -5,4 +5,4 @@ These flags will be used by the linker when creating a shared library. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst index b968820..d0eb4fd 100644 --- a/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst +++ b/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst
@@ -6,4 +6,4 @@ Same as ``CMAKE_C_FLAGS_*`` but used by the linker when creating shared libraries. -.. include:: ../variable/LINKER_FLAGS.txt +.. include:: ../variable/include/LINKER_FLAGS.rst
diff --git a/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst b/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst index a6d8016..a56b452 100644 --- a/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst +++ b/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst
@@ -5,9 +5,9 @@ .. |CMAKE_IGNORE_PREFIX_VAR| replace:: :variable:`CMAKE_SYSTEM_IGNORE_PREFIX_PATH` .. |CMAKE_IGNORE_NONSYSTEM_VAR| replace:: :variable:`CMAKE_IGNORE_PATH` -.. include:: IGNORE_SEARCH_PATH.txt -.. include:: IGNORE_SEARCH_LOCATIONS.txt -.. include:: IGNORE_SEARCH_SYSTEM.txt +.. include:: include/IGNORE_SEARCH_PATH.rst +.. include:: include/IGNORE_SEARCH_LOCATIONS.rst +.. include:: include/IGNORE_SEARCH_SYSTEM.rst See also the following variables:
diff --git a/Help/variable/CMAKE_SYSTEM_IGNORE_PREFIX_PATH.rst b/Help/variable/CMAKE_SYSTEM_IGNORE_PREFIX_PATH.rst index 48a2994..400b9c5 100644 --- a/Help/variable/CMAKE_SYSTEM_IGNORE_PREFIX_PATH.rst +++ b/Help/variable/CMAKE_SYSTEM_IGNORE_PREFIX_PATH.rst
@@ -7,9 +7,9 @@ .. |CMAKE_IGNORE_NONPREFIX_VAR| replace:: :variable:`CMAKE_SYSTEM_IGNORE_PATH` .. |CMAKE_IGNORE_NONSYSTEM_VAR| replace:: :variable:`CMAKE_IGNORE_PREFIX_PATH` -.. include:: IGNORE_SEARCH_PREFIX.txt -.. include:: IGNORE_SEARCH_LOCATIONS.txt -.. include:: IGNORE_SEARCH_SYSTEM.txt +.. include:: include/IGNORE_SEARCH_PREFIX.rst +.. include:: include/IGNORE_SEARCH_LOCATIONS.rst +.. include:: include/IGNORE_SEARCH_SYSTEM.rst See also the following variables:
diff --git a/Help/variable/CMAKE_Swift_COMPILATION_MODE.rst b/Help/variable/CMAKE_Swift_COMPILATION_MODE.rst index 5e55d8c..6e466c1 100644 --- a/Help/variable/CMAKE_Swift_COMPILATION_MODE.rst +++ b/Help/variable/CMAKE_Swift_COMPILATION_MODE.rst
@@ -8,7 +8,7 @@ The allowed values are: -.. include:: ../prop_tgt/Swift_COMPILATION_MODE-VALUES.txt +.. include:: ../prop_tgt/include/Swift_COMPILATION_MODE-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification. For example, the code:
diff --git a/Help/variable/CMAKE_TLS_VERSION.rst b/Help/variable/CMAKE_TLS_VERSION.rst index ff0918b..be8cca3 100644 --- a/Help/variable/CMAKE_TLS_VERSION.rst +++ b/Help/variable/CMAKE_TLS_VERSION.rst
@@ -15,7 +15,7 @@ The value may be one of: -.. include:: CMAKE_TLS_VERSION-VALUES.txt +.. include:: include/CMAKE_TLS_VERSION-VALUES.rst This variable is also used by the :module:`ExternalProject` and :module:`FetchContent` modules for internal calls to
diff --git a/Help/variable/CMAKE_VS_USE_DEBUG_LIBRARIES.rst b/Help/variable/CMAKE_VS_USE_DEBUG_LIBRARIES.rst index 35d94bc..43befe6 100644 --- a/Help/variable/CMAKE_VS_USE_DEBUG_LIBRARIES.rst +++ b/Help/variable/CMAKE_VS_USE_DEBUG_LIBRARIES.rst
@@ -6,7 +6,7 @@ .. |VS_USE_DEBUG_LIBRARIES| replace:: ``CMAKE_VS_USE_DEBUG_LIBRARIES`` .. |MSVC_RUNTIME_LIBRARY| replace:: :variable:`CMAKE_MSVC_RUNTIME_LIBRARY` -.. include:: ../prop_tgt/VS_USE_DEBUG_LIBRARIES-PURPOSE.txt +.. include:: ../prop_tgt/include/VS_USE_DEBUG_LIBRARIES-PURPOSE.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` for per-configuration specification. For example, the code:
diff --git a/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst index f86ed7c..9850a32 100644 --- a/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst +++ b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst
@@ -9,6 +9,6 @@ variable to the Visual Studio version build number in the format ``<major>.<minor>.<date>.<build>``. -.. include:: CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt +.. include:: include/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.rst See also the :variable:`CMAKE_GENERATOR_INSTANCE` variable.
diff --git a/Help/variable/CMAKE_WATCOM_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_WATCOM_RUNTIME_LIBRARY.rst index feb2a60..8d1f36c 100644 --- a/Help/variable/CMAKE_WATCOM_RUNTIME_LIBRARY.rst +++ b/Help/variable/CMAKE_WATCOM_RUNTIME_LIBRARY.rst
@@ -10,7 +10,7 @@ The allowed values are: -.. include:: ../prop_tgt/WATCOM_RUNTIME_LIBRARY-VALUES.txt +.. include:: ../prop_tgt/include/WATCOM_RUNTIME_LIBRARY-VALUES.rst Use :manual:`generator expressions <cmake-generator-expressions(7)>` to support per-configuration specification.
diff --git a/Help/variable/CTEST_CUSTOM_COVERAGE_EXCLUDE.rst b/Help/variable/CTEST_CUSTOM_COVERAGE_EXCLUDE.rst index d5893c9..12e6327 100644 --- a/Help/variable/CTEST_CUSTOM_COVERAGE_EXCLUDE.rst +++ b/Help/variable/CTEST_CUSTOM_COVERAGE_EXCLUDE.rst
@@ -4,4 +4,4 @@ A list of regular expressions which will be used to exclude files by their path from coverage output by the :command:`ctest_coverage` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_ERROR_EXCEPTION.rst b/Help/variable/CTEST_CUSTOM_ERROR_EXCEPTION.rst index b8ea1e9..a1212c6 100644 --- a/Help/variable/CTEST_CUSTOM_ERROR_EXCEPTION.rst +++ b/Help/variable/CTEST_CUSTOM_ERROR_EXCEPTION.rst
@@ -4,4 +4,4 @@ A list of regular expressions which will be used to exclude when detecting error messages in build outputs by the :command:`ctest_build` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_ERROR_MATCH.rst b/Help/variable/CTEST_CUSTOM_ERROR_MATCH.rst index e8f4ad4..a3a8b6a 100644 --- a/Help/variable/CTEST_CUSTOM_ERROR_MATCH.rst +++ b/Help/variable/CTEST_CUSTOM_ERROR_MATCH.rst
@@ -4,4 +4,4 @@ A list of regular expressions which will be used to detect error messages in build outputs by the :command:`ctest_build` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_ERROR_POST_CONTEXT.rst b/Help/variable/CTEST_CUSTOM_ERROR_POST_CONTEXT.rst index 31c99e7..cb1b9ca 100644 --- a/Help/variable/CTEST_CUSTOM_ERROR_POST_CONTEXT.rst +++ b/Help/variable/CTEST_CUSTOM_ERROR_POST_CONTEXT.rst
@@ -4,4 +4,4 @@ The number of lines to include as context which follow an error message by the :command:`ctest_build` command. The default is 10. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_ERROR_PRE_CONTEXT.rst b/Help/variable/CTEST_CUSTOM_ERROR_PRE_CONTEXT.rst index ae03a5c..5790146 100644 --- a/Help/variable/CTEST_CUSTOM_ERROR_PRE_CONTEXT.rst +++ b/Help/variable/CTEST_CUSTOM_ERROR_PRE_CONTEXT.rst
@@ -4,4 +4,4 @@ The number of lines to include as context which precede an error message by the :command:`ctest_build` command. The default is 10. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE.rst b/Help/variable/CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE.rst index 007cfe0..035551c 100644 --- a/Help/variable/CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE.rst +++ b/Help/variable/CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE.rst
@@ -9,7 +9,7 @@ If a test's output contains the literal string "CTEST_FULL_OUTPUT", the output will not be truncated and may exceed the maximum size. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst For controlling the output collection of passing tests, see :variable:`CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE`.
diff --git a/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS.rst b/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS.rst index 920cb04..dee7020 100644 --- a/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS.rst +++ b/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS.rst
@@ -5,4 +5,4 @@ After this, the :command:`ctest_test` command will truncate the output. Defaults to 50. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS.rst b/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS.rst index a1f1cc1..25c1135 100644 --- a/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS.rst +++ b/Help/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS.rst
@@ -5,4 +5,4 @@ After this, the :command:`ctest_test` command will truncate the output. Defaults to 50. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE.rst b/Help/variable/CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE.rst index 8545fc4..bc9d62c 100644 --- a/Help/variable/CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE.rst +++ b/Help/variable/CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE.rst
@@ -9,7 +9,7 @@ If a test's output contains the literal string "CTEST_FULL_OUTPUT", the output will not be truncated and may exceed the maximum size. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst For controlling the output collection of failing tests, see :variable:`CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE`.
diff --git a/Help/variable/CTEST_CUSTOM_MEMCHECK_IGNORE.rst b/Help/variable/CTEST_CUSTOM_MEMCHECK_IGNORE.rst index 578576c..ae7f6a5 100644 --- a/Help/variable/CTEST_CUSTOM_MEMCHECK_IGNORE.rst +++ b/Help/variable/CTEST_CUSTOM_MEMCHECK_IGNORE.rst
@@ -4,4 +4,4 @@ A list of regular expressions to use to exclude tests during the :command:`ctest_memcheck` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_POST_MEMCHECK.rst b/Help/variable/CTEST_CUSTOM_POST_MEMCHECK.rst index 40291fe..a4b6dbd 100644 --- a/Help/variable/CTEST_CUSTOM_POST_MEMCHECK.rst +++ b/Help/variable/CTEST_CUSTOM_POST_MEMCHECK.rst
@@ -3,4 +3,4 @@ A list of commands to run at the end of the :command:`ctest_memcheck` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_POST_TEST.rst b/Help/variable/CTEST_CUSTOM_POST_TEST.rst index 791292c..36af898 100644 --- a/Help/variable/CTEST_CUSTOM_POST_TEST.rst +++ b/Help/variable/CTEST_CUSTOM_POST_TEST.rst
@@ -3,4 +3,4 @@ A list of commands to run at the end of the :command:`ctest_test` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_PRE_MEMCHECK.rst b/Help/variable/CTEST_CUSTOM_PRE_MEMCHECK.rst index 00de8aa..458be84 100644 --- a/Help/variable/CTEST_CUSTOM_PRE_MEMCHECK.rst +++ b/Help/variable/CTEST_CUSTOM_PRE_MEMCHECK.rst
@@ -4,4 +4,4 @@ A list of commands to run at the start of the :command:`ctest_memcheck` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_PRE_TEST.rst b/Help/variable/CTEST_CUSTOM_PRE_TEST.rst index 6af7152..cbea85b 100644 --- a/Help/variable/CTEST_CUSTOM_PRE_TEST.rst +++ b/Help/variable/CTEST_CUSTOM_PRE_TEST.rst
@@ -3,4 +3,4 @@ A list of commands to run at the start of the :command:`ctest_test` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_TESTS_IGNORE.rst b/Help/variable/CTEST_CUSTOM_TESTS_IGNORE.rst index 7b1a4b8..cb0c3fc 100644 --- a/Help/variable/CTEST_CUSTOM_TESTS_IGNORE.rst +++ b/Help/variable/CTEST_CUSTOM_TESTS_IGNORE.rst
@@ -4,4 +4,4 @@ A list of test names to be excluded from the set of tests run by the :command:`ctest_test` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION.rst b/Help/variable/CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION.rst index 2d4219e..3ecc8e8 100644 --- a/Help/variable/CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION.rst +++ b/Help/variable/CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION.rst
@@ -9,4 +9,4 @@ By default the ``tail`` of the output will be truncated. Other possible values are ``middle`` and ``head``. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_WARNING_EXCEPTION.rst b/Help/variable/CTEST_CUSTOM_WARNING_EXCEPTION.rst index a03d473..d37148b 100644 --- a/Help/variable/CTEST_CUSTOM_WARNING_EXCEPTION.rst +++ b/Help/variable/CTEST_CUSTOM_WARNING_EXCEPTION.rst
@@ -4,4 +4,4 @@ A list of regular expressions which will be used to exclude when detecting warning messages in build outputs by the :command:`ctest_build` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_CUSTOM_WARNING_MATCH.rst b/Help/variable/CTEST_CUSTOM_WARNING_MATCH.rst index 18aa6b3..c276473 100644 --- a/Help/variable/CTEST_CUSTOM_WARNING_MATCH.rst +++ b/Help/variable/CTEST_CUSTOM_WARNING_MATCH.rst
@@ -4,4 +4,4 @@ A list of regular expressions which will be used to detect warning messages in build outputs by the :command:`ctest_build` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_EXTRA_COVERAGE_GLOB.rst b/Help/variable/CTEST_EXTRA_COVERAGE_GLOB.rst index 1d7e8d4..03540dd 100644 --- a/Help/variable/CTEST_EXTRA_COVERAGE_GLOB.rst +++ b/Help/variable/CTEST_EXTRA_COVERAGE_GLOB.rst
@@ -6,4 +6,4 @@ A list of regular expressions which will be used to find files which should be covered by the :command:`ctest_coverage` command. -.. include:: CTEST_CUSTOM_XXX.txt +.. include:: include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/CTEST_TLS_VERSION.rst b/Help/variable/CTEST_TLS_VERSION.rst index f8123df..b2aec5b 100644 --- a/Help/variable/CTEST_TLS_VERSION.rst +++ b/Help/variable/CTEST_TLS_VERSION.rst
@@ -10,7 +10,7 @@ The value may be one of: -.. include:: CMAKE_TLS_VERSION-VALUES.txt +.. include:: include/CMAKE_TLS_VERSION-VALUES.rst If ``CTEST_TLS_VERSION`` is not set, the :variable:`CMAKE_TLS_VERSION` variable or :envvar:`CMAKE_TLS_VERSION` environment variable is used instead.
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt b/Help/variable/include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst similarity index 100% rename from Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt rename to Help/variable/include/CMAKE_FIND_ROOT_PATH_MODE_XXX.rst
diff --git a/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.txt b/Help/variable/include/CMAKE_LINK_GROUP_USING_FEATURE.rst similarity index 95% rename from Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.txt rename to Help/variable/include/CMAKE_LINK_GROUP_USING_FEATURE.rst index 23ea157..0f23d00 100644 --- a/Help/variable/CMAKE_LINK_GROUP_USING_FEATURE.txt +++ b/Help/variable/include/CMAKE_LINK_GROUP_USING_FEATURE.rst
@@ -17,7 +17,7 @@ For the elements of this variable, the ``LINKER:`` prefix can be used. -.. include:: ../command/LINK_OPTIONS_LINKER.txt +.. include:: ../command/include/LINK_OPTIONS_LINKER.rst :start-line: 3 Examples @@ -75,4 +75,4 @@ The following built-in group features are pre-defined by CMake: -.. include:: LINK_GROUP_PREDEFINED_FEATURES.txt +.. include:: include/LINK_GROUP_PREDEFINED_FEATURES.rst
diff --git a/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.txt b/Help/variable/include/CMAKE_LINK_LIBRARY_USING_FEATURE.rst similarity index 97% rename from Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.txt rename to Help/variable/include/CMAKE_LINK_LIBRARY_USING_FEATURE.rst index f5c19e0..41c2172 100644 --- a/Help/variable/CMAKE_LINK_LIBRARY_USING_FEATURE.txt +++ b/Help/variable/include/CMAKE_LINK_LIBRARY_USING_FEATURE.rst
@@ -54,7 +54,7 @@ For all three elements of this variable (``<PREFIX>``, ``<LIBRARY_EXPRESSION>``, and ``<SUFFIX>``), the ``LINKER:`` prefix can be used. -.. include:: ../command/LINK_OPTIONS_LINKER.txt +.. include:: ../command/include/LINK_OPTIONS_LINKER.rst :start-line: 3 Examples @@ -150,4 +150,4 @@ The following built-in library features are pre-defined by CMake: -.. include:: LINK_LIBRARY_PREDEFINED_FEATURES.txt +.. include:: include/LINK_LIBRARY_PREDEFINED_FEATURES.rst
diff --git a/Help/variable/CMAKE_OSX_VARIABLE.txt b/Help/variable/include/CMAKE_OSX_VARIABLE.rst similarity index 100% rename from Help/variable/CMAKE_OSX_VARIABLE.txt rename to Help/variable/include/CMAKE_OSX_VARIABLE.rst
diff --git a/Help/variable/CMAKE_TLS_VERSION-VALUES.txt b/Help/variable/include/CMAKE_TLS_VERSION-VALUES.rst similarity index 100% rename from Help/variable/CMAKE_TLS_VERSION-VALUES.txt rename to Help/variable/include/CMAKE_TLS_VERSION-VALUES.rst
diff --git a/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt b/Help/variable/include/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.rst similarity index 100% rename from Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt rename to Help/variable/include/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.rst
diff --git a/Help/variable/CTEST_CUSTOM_XXX.txt b/Help/variable/include/CTEST_CUSTOM_XXX.rst similarity index 100% rename from Help/variable/CTEST_CUSTOM_XXX.txt rename to Help/variable/include/CTEST_CUSTOM_XXX.rst
diff --git a/Help/variable/IGNORE_SEARCH_LOCATIONS.txt b/Help/variable/include/IGNORE_SEARCH_LOCATIONS.rst similarity index 100% rename from Help/variable/IGNORE_SEARCH_LOCATIONS.txt rename to Help/variable/include/IGNORE_SEARCH_LOCATIONS.rst
diff --git a/Help/variable/IGNORE_SEARCH_NONSYSTEM.txt b/Help/variable/include/IGNORE_SEARCH_NONSYSTEM.rst similarity index 100% rename from Help/variable/IGNORE_SEARCH_NONSYSTEM.txt rename to Help/variable/include/IGNORE_SEARCH_NONSYSTEM.rst
diff --git a/Help/variable/IGNORE_SEARCH_PATH.txt b/Help/variable/include/IGNORE_SEARCH_PATH.rst similarity index 100% rename from Help/variable/IGNORE_SEARCH_PATH.txt rename to Help/variable/include/IGNORE_SEARCH_PATH.rst
diff --git a/Help/variable/IGNORE_SEARCH_PREFIX.txt b/Help/variable/include/IGNORE_SEARCH_PREFIX.rst similarity index 100% rename from Help/variable/IGNORE_SEARCH_PREFIX.txt rename to Help/variable/include/IGNORE_SEARCH_PREFIX.rst
diff --git a/Help/variable/IGNORE_SEARCH_SYSTEM.txt b/Help/variable/include/IGNORE_SEARCH_SYSTEM.rst similarity index 100% rename from Help/variable/IGNORE_SEARCH_SYSTEM.txt rename to Help/variable/include/IGNORE_SEARCH_SYSTEM.rst
diff --git a/Help/variable/LINKER_FLAGS.txt b/Help/variable/include/LINKER_FLAGS.rst similarity index 63% rename from Help/variable/LINKER_FLAGS.txt rename to Help/variable/include/LINKER_FLAGS.rst index 7b0630a..78bfc07 100644 --- a/Help/variable/LINKER_FLAGS.txt +++ b/Help/variable/include/LINKER_FLAGS.rst
@@ -1,5 +1,5 @@ -.. include:: ../command/LINK_LIBRARIES_LINKER.txt +.. include:: ../command/include/LINK_LIBRARIES_LINKER.rst This support implies to parse and re-quote the content of the variable. See policy :policy:`CMP0181`.
diff --git a/Help/variable/LINKER_PREDEFINED_TYPES.txt b/Help/variable/include/LINKER_PREDEFINED_TYPES.rst similarity index 100% rename from Help/variable/LINKER_PREDEFINED_TYPES.txt rename to Help/variable/include/LINKER_PREDEFINED_TYPES.rst
diff --git a/Help/variable/LINK_GROUP_PREDEFINED_FEATURES.txt b/Help/variable/include/LINK_GROUP_PREDEFINED_FEATURES.rst similarity index 100% rename from Help/variable/LINK_GROUP_PREDEFINED_FEATURES.txt rename to Help/variable/include/LINK_GROUP_PREDEFINED_FEATURES.rst
diff --git a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt b/Help/variable/include/LINK_LIBRARY_PREDEFINED_FEATURES.rst similarity index 100% rename from Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt rename to Help/variable/include/LINK_LIBRARY_PREDEFINED_FEATURES.rst
diff --git a/Modules/CMakeDetermineASM_NASMCompiler.cmake b/Modules/CMakeDetermineASM_NASMCompiler.cmake index f110efd..82d7430 100644 --- a/Modules/CMakeDetermineASM_NASMCompiler.cmake +++ b/Modules/CMakeDetermineASM_NASMCompiler.cmake
@@ -11,20 +11,14 @@ set(_CMAKE_ASM_NASM_COMPILER_PATHS "[HKEY_CURRENT_USER\\SOFTWARE\\nasm]" "$ENV{ProgramFiles}/NASM" - "$ENV{${ENV_VARX86}}/NASM" + "$ENV{${_CMAKE_ENV_VARX86}}/NASM" "$ENV{LOCALAPPDATA}/NASM" - ) - find_program(CMAKE_ASM_NASM_COMPILER - NAMES ${CMAKE_ASM_NASM_COMPILER_LIST} - PATHS ${_CMAKE_ASM_NASM_COMPILER_PATHS} - NO_DEFAULT_PATH - DOC "NASM compiler" ) unset(_CMAKE_ENV_VARX86) - unset(_CMAKE_ASM_NASM_COMPILER_PATHS) endif() # Load the generic DetermineASM compiler file with the DIALECT set properly: set(ASM_DIALECT "_NASM") include(CMakeDetermineASMCompiler) set(ASM_DIALECT) +unset(_CMAKE_ASM_NASM_COMPILER_PATHS)
diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake index 23509ac..80b9c3b 100644 --- a/Modules/CMakeDetermineCompilerABI.cmake +++ b/Modules/CMakeDetermineCompilerABI.cmake
@@ -282,6 +282,12 @@ endif() endif() + # Filter out implicit link directories excluded by our Platform/<os>* modules. + if(DEFINED CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES_EXCLUDE) + list(REMOVE_ITEM implicit_dirs ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES_EXCLUDE}) + endif() + + # Filter out implicit link directories excluded by the environment. if(DEFINED ENV{CMAKE_${lang}_IMPLICIT_LINK_DIRECTORIES_EXCLUDE}) list(REMOVE_ITEM implicit_dirs $ENV{CMAKE_${lang}_IMPLICIT_LINK_DIRECTORIES_EXCLUDE}) endif()
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake index 4d09a7f..eb1d78b 100644 --- a/Modules/CheckCCompilerFlag.cmake +++ b/Modules/CheckCCompilerFlag.cmake
@@ -33,19 +33,19 @@ following variables prior to calling ``check_c_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index 8b12343..690345e 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake
@@ -35,19 +35,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_source_compiles()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckCSourceRuns.cmake b/Modules/CheckCSourceRuns.cmake index 8fcf22b..d7303f1 100644 --- a/Modules/CheckCSourceRuns.cmake +++ b/Modules/CheckCSourceRuns.cmake
@@ -28,19 +28,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_source_runs()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index f1933f3..6338c7c 100644 --- a/Modules/CheckCXXCompilerFlag.cmake +++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -33,19 +33,19 @@ following variables prior to calling ``check_cxx_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] include_guard(GLOBAL)
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake index c0402e9..567520b 100644 --- a/Modules/CheckCXXSourceCompiles.cmake +++ b/Modules/CheckCXXSourceCompiles.cmake
@@ -35,19 +35,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_source_compiles()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckCXXSourceRuns.cmake b/Modules/CheckCXXSourceRuns.cmake index b131a6f..2ff98f5 100644 --- a/Modules/CheckCXXSourceRuns.cmake +++ b/Modules/CheckCXXSourceRuns.cmake
@@ -28,19 +28,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_source_runs()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckCXXSymbolExists.cmake b/Modules/CheckCXXSymbolExists.cmake index ada708a..0a14809 100644 --- a/Modules/CheckCXXSymbolExists.cmake +++ b/Modules/CheckCXXSymbolExists.cmake
@@ -41,19 +41,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst For example:
diff --git a/Modules/CheckCompilerFlag.cmake b/Modules/CheckCompilerFlag.cmake index 2854fa8..f692bbe 100644 --- a/Modules/CheckCompilerFlag.cmake +++ b/Modules/CheckCompilerFlag.cmake
@@ -33,19 +33,19 @@ following variables prior to calling ``check_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckFortranCompilerFlag.cmake b/Modules/CheckFortranCompilerFlag.cmake index c04f26c..6ec3b7e 100644 --- a/Modules/CheckFortranCompilerFlag.cmake +++ b/Modules/CheckFortranCompilerFlag.cmake
@@ -35,19 +35,19 @@ following variables prior to calling ``check_fortran_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckFortranFunctionExists.cmake b/Modules/CheckFortranFunctionExists.cmake index 1c73604..ba5f989 100644 --- a/Modules/CheckFortranFunctionExists.cmake +++ b/Modules/CheckFortranFunctionExists.cmake
@@ -29,11 +29,11 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst #]=======================================================================] include_guard(GLOBAL)
diff --git a/Modules/CheckFortranSourceCompiles.cmake b/Modules/CheckFortranSourceCompiles.cmake index 39176e2..668aaae 100644 --- a/Modules/CheckFortranSourceCompiles.cmake +++ b/Modules/CheckFortranSourceCompiles.cmake
@@ -43,19 +43,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_source_compiles()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckFortranSourceRuns.cmake b/Modules/CheckFortranSourceRuns.cmake index 62c6ac5..bf4f5f9 100644 --- a/Modules/CheckFortranSourceRuns.cmake +++ b/Modules/CheckFortranSourceRuns.cmake
@@ -41,19 +41,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_source_runs()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake index 4c73ea6..ae30845 100644 --- a/Modules/CheckFunctionExists.cmake +++ b/Modules/CheckFunctionExists.cmake
@@ -19,19 +19,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst .. note::
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake index a3a2cee..b053e3d 100644 --- a/Modules/CheckIncludeFile.cmake +++ b/Modules/CheckIncludeFile.cmake
@@ -21,19 +21,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^
diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake index 756abf1..ed4e031 100644 --- a/Modules/CheckIncludeFileCXX.cmake +++ b/Modules/CheckIncludeFileCXX.cmake
@@ -21,19 +21,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^
diff --git a/Modules/CheckIncludeFiles.cmake b/Modules/CheckIncludeFiles.cmake index 855d450..954d47a 100644 --- a/Modules/CheckIncludeFiles.cmake +++ b/Modules/CheckIncludeFiles.cmake
@@ -27,19 +27,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index e739955..da242a1 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake
@@ -25,17 +25,17 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^
diff --git a/Modules/CheckOBJCCompilerFlag.cmake b/Modules/CheckOBJCCompilerFlag.cmake index 9d00d04..8d9e78d 100644 --- a/Modules/CheckOBJCCompilerFlag.cmake +++ b/Modules/CheckOBJCCompilerFlag.cmake
@@ -35,19 +35,19 @@ following variables prior to calling ``check_objc_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckOBJCSourceCompiles.cmake b/Modules/CheckOBJCSourceCompiles.cmake index bea3de9..ce89fc4 100644 --- a/Modules/CheckOBJCSourceCompiles.cmake +++ b/Modules/CheckOBJCSourceCompiles.cmake
@@ -37,19 +37,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_source_compiles()`` -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckOBJCSourceRuns.cmake b/Modules/CheckOBJCSourceRuns.cmake index 1c33837..3484c58 100644 --- a/Modules/CheckOBJCSourceRuns.cmake +++ b/Modules/CheckOBJCSourceRuns.cmake
@@ -30,19 +30,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_source_runs()`` -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckOBJCXXCompilerFlag.cmake b/Modules/CheckOBJCXXCompilerFlag.cmake index a853475..691f5aa 100644 --- a/Modules/CheckOBJCXXCompilerFlag.cmake +++ b/Modules/CheckOBJCXXCompilerFlag.cmake
@@ -35,19 +35,19 @@ following variables prior to calling ``check_objcxx_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckOBJCXXSourceCompiles.cmake b/Modules/CheckOBJCXXSourceCompiles.cmake index dd1a209..4f9f7d4 100644 --- a/Modules/CheckOBJCXXSourceCompiles.cmake +++ b/Modules/CheckOBJCXXSourceCompiles.cmake
@@ -37,19 +37,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_source_compiles()`` -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckOBJCXXSourceRuns.cmake b/Modules/CheckOBJCXXSourceRuns.cmake index 93ac155..acdee34 100644 --- a/Modules/CheckOBJCXXSourceRuns.cmake +++ b/Modules/CheckOBJCXXSourceRuns.cmake
@@ -30,19 +30,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_source_runs()`` -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckPrototypeDefinition.cmake b/Modules/CheckPrototypeDefinition.cmake index 8854613..63daabf 100644 --- a/Modules/CheckPrototypeDefinition.cmake +++ b/Modules/CheckPrototypeDefinition.cmake
@@ -44,19 +44,19 @@ The following variables may be set before calling this function to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^
diff --git a/Modules/CheckSourceCompiles.cmake b/Modules/CheckSourceCompiles.cmake index 97e3252..734b0d3 100644 --- a/Modules/CheckSourceCompiles.cmake +++ b/Modules/CheckSourceCompiles.cmake
@@ -66,19 +66,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_source_compiles()``: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckSourceRuns.cmake b/Modules/CheckSourceRuns.cmake index 7a18a4a..fcce30d 100644 --- a/Modules/CheckSourceRuns.cmake +++ b/Modules/CheckSourceRuns.cmake
@@ -52,19 +52,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_source_runs()`` -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake index f1d39bd..58b519d 100644 --- a/Modules/CheckStructHasMember.cmake +++ b/Modules/CheckStructHasMember.cmake
@@ -30,19 +30,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Example ^^^^^^^
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake index 6d9301c..72a7e1b 100644 --- a/Modules/CheckSymbolExists.cmake +++ b/Modules/CheckSymbolExists.cmake
@@ -31,19 +31,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst For example:
diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index c733aae..e2db870 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake
@@ -68,19 +68,19 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_INCLUDES.txt +.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_LINK_DIRECTORIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst ``CMAKE_EXTRA_INCLUDE_FILES`` list of extra headers to include.
diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index 25d871e..0e4b899 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake
@@ -21,15 +21,15 @@ The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/CMAKE_REQUIRED_FLAGS.txt +.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/CMAKE_REQUIRED_DEFINITIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/CMAKE_REQUIRED_LINK_OPTIONS.txt +.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/CMAKE_REQUIRED_LIBRARIES.txt +.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/CMAKE_REQUIRED_QUIET.txt +.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]
diff --git a/Modules/FindCURL.cmake b/Modules/FindCURL.cmake index d4b4b6b..832f099 100644 --- a/Modules/FindCURL.cmake +++ b/Modules/FindCURL.cmake
@@ -5,26 +5,59 @@ FindCURL -------- -Find the native CURL headers and libraries. +Finds the native curl installation (include directories and libraries) for +transferring data with URLS. + +.. versionadded:: 3.17 + If curl is built using its CMake-based build system, it will provide its own + CMake Package Configuration file (``CURLConfig.cmake``) for use with the + :command:`find_package` command in *config mode*. By default, this module + searches for this file and, if found, returns the results without further + action. If the upstream configuration file is not found, this module falls + back to *module mode* and searches standard locations. + +.. versionadded:: 3.13 + Debug and Release library variants are found separately. + +Components +^^^^^^^^^^ .. versionadded:: 3.14 - This module accept optional COMPONENTS to check supported features and - protocols: -:: +This module supports optional components to detect the protocols and features +available in the installed curl (these can vary based on the curl version):: - PROTOCOLS: ICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 + Protocols: ICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP - FEATURES: SSL IPv6 UnixSockets libz AsynchDNS IDN GSS-API PSL SPNEGO + Features: SSL IPv6 UnixSockets libz AsynchDNS IDN GSS-API PSL SPNEGO Kerberos NTLM NTLM_WB TLS-SRP HTTP2 HTTPS-proxy +Components can be specified with the :command:`find_package` command as required +for curl to be considered found: + +.. code-block:: cmake + + find_package(CURL [COMPONENTS <protocols>... <features>...]) + +Or to check for them optionally, allowing conditional handling in the code: + +.. code-block:: cmake + + find_package(CURL [OPTIONAL_COMPONENTS <protocols>... <features>...]) + +Refer to the curl documentation for more information on supported protocols and +features. Component names are case-sensitive and follow the upstream curl +naming conventions. + Imported Targets ^^^^^^^^^^^^^^^^ -.. versionadded:: 3.12 +This module provides the following :ref:`Imported Targets`: -This module defines :prop_tgt:`IMPORTED` target ``CURL::libcurl``, if -curl has been found. +``CURL::libcurl`` + .. versionadded:: 3.12 + + Target encapsulating the curl usage requirements, available if curl is found. Result Variables ^^^^^^^^^^^^^^^^ @@ -32,51 +65,95 @@ This module defines the following variables: ``CURL_FOUND`` - "True" if ``curl`` found. - -``CURL_INCLUDE_DIRS`` - where to find ``curl``/``curl.h``, etc. - -``CURL_LIBRARIES`` - List of libraries when using ``curl``. + Boolean indicating whether the (requested version of) curl and all required + components are found. ``CURL_VERSION`` .. versionadded:: 4.0 - The version of ``curl`` found. - This supersedes ``CURL_VERSION_STRING``. + The version of curl found. This supersedes ``CURL_VERSION_STRING``. -``CURL_VERSION_STRING`` - The version of ``curl`` found. - Superseded by ``CURL_VERSION``. +``CURL_<component>_FOUND`` + .. versionadded:: 3.14 -.. versionadded:: 3.13 - Debug and Release variants are found separately. + Boolean indicating whether the specified component (curl protocol or feature) + is found. -CURL CMake -^^^^^^^^^^ +``CURL_INCLUDE_DIRS`` + Include directories containing the ``curl/curl.h`` and other headers needed to + use curl. -.. versionadded:: 3.17 + .. note:: -If CURL was built using the CMake buildsystem then it provides its own -``CURLConfig.cmake`` file for use with the :command:`find_package` command's -config mode. This module looks for this file and, if found, -returns its results with no further action. + When curl is found via *config mode*, this variable is available only with + curl version 8.9 or newer. -Set ``CURL_NO_CURL_CMAKE`` to ``ON`` to disable this search. +``CURL_LIBRARIES`` + List of libraries needed to link against to use curl. + + .. note:: + + When curl is found via *module mode*, this is a list of library file paths. + In *config mode*, this variable is available only with curl version 8.9 or + newer and contains a list of imported targets. Hints ^^^^^ -``CURL_USE_STATIC_LIBS`` +This module accepts the following variables: +``CURL_NO_CURL_CMAKE`` + .. versionadded:: 3.17 + + Set this variable to ``TRUE`` to disable searching for curl via *config mode*. + +``CURL_USE_STATIC_LIBS`` .. versionadded:: 3.28 - Set to ``TRUE`` to use static libraries. + Set this variable to ``TRUE`` to use static libraries. This is meaningful + only when curl is not found via *config mode*. - This is meaningful only when CURL is not found via its - CMake Package Configuration file. +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ +The following variables are provided for backward compatibility: + +``CURL_VERSION_STRING`` + .. deprecated:: 4.0 + Superseded by ``CURL_VERSION``. + + The version of curl found. + +Examples +^^^^^^^^ + +Finding the curl library and specifying the required minimum version: + +.. code-block:: cmake + + find_package(CURL 7.61.0) + +Finding the curl library and linking it to a project target: + +.. code-block:: cmake + + find_package(CURL) + target_link_libraries(project_target PRIVATE CURL::libcurl) + +Using components to check if the found curl supports specific protocols or +features: + +.. code-block:: cmake + + find_package(CURL OPTIONAL_COMPONENTS HTTPS SSL) + + if(CURL_HTTPS_FOUND) + # curl supports the HTTPS protocol + endif() + + if(CURL_SSL_FOUND) + # curl has SSL feature enabled + endif() #]=======================================================================] cmake_policy(PUSH)
diff --git a/Modules/FindGLEW.cmake b/Modules/FindGLEW.cmake index 083217e..03d19bf 100644 --- a/Modules/FindGLEW.cmake +++ b/Modules/FindGLEW.cmake
@@ -5,61 +5,128 @@ FindGLEW -------- -Find the OpenGL Extension Wrangler Library (GLEW) +Finds the OpenGL Extension Wrangler Library (GLEW). -Input Variables -^^^^^^^^^^^^^^^ +GLEW is a cross-platform C/C++ library that helps manage OpenGL extensions by +providing efficient run-time mechanisms to query and load OpenGL functionality +beyond the core specification. -The following variables may be set to influence this module's behavior: +.. versionadded:: 3.7 + Debug and Release library variants are found separately. -``GLEW_USE_STATIC_LIBS`` - to find and create :prop_tgt:`IMPORTED` target for static linkage. - -``GLEW_VERBOSE`` - to output a detailed log of this module. +.. versionadded:: 3.15 + If GLEW is built using its CMake-based build system, it provides a CMake + package configuration file (``GLEWConfig.cmake``). This module now takes that + into account and first attempts to find GLEW in *config mode*. If the + configuration file is not available, it falls back to *module mode* and + searches standard locations. Imported Targets ^^^^^^^^^^^^^^^^ -.. versionadded:: 3.1 +This module provides the following :ref:`Imported Targets`: -This module defines the following :ref:`Imported Targets <Imported Targets>`: +``GLEW::GLEW`` + .. versionadded:: 3.1 + The main imported target encapsulating the GLEW usage requirements, available + if GLEW is found. It maps usage requirements of either ``GLEW::glew`` or + ``GLEW::glew_s`` target depending on their availability. ``GLEW::glew`` - The GLEW shared library. + .. versionadded:: 3.15 + + Target encapsulating the usage requirements for a shared GLEW library. This + target is available if GLEW is found and static libraries aren't requested via + the ``GLEW_USE_STATIC_LIBS`` hint variable (see below). + ``GLEW::glew_s`` - The GLEW static library, if ``GLEW_USE_STATIC_LIBS`` is set to ``TRUE``. -``GLEW::GLEW`` - Duplicates either ``GLEW::glew`` or ``GLEW::glew_s`` based on availability. + .. versionadded:: 3.15 + + Target encapsulating the usage requirements for a static GLEW library. This + target is available if GLEW is found and the ``GLEW_USE_STATIC_LIBS`` hint + variable is set to boolean true. Result Variables ^^^^^^^^^^^^^^^^ This module defines the following variables: -``GLEW_INCLUDE_DIRS`` - include directories for GLEW -``GLEW_LIBRARIES`` - libraries to link against GLEW -``GLEW_SHARED_LIBRARIES`` - libraries to link against shared GLEW -``GLEW_STATIC_LIBRARIES`` - libraries to link against static GLEW ``GLEW_FOUND`` - true if GLEW has been found and can be used + Boolean indicating whether GLEW is found. + ``GLEW_VERSION`` - GLEW version + .. versionadded:: 3.15 + + The version of GLEW found. + ``GLEW_VERSION_MAJOR`` - GLEW major version + .. versionadded:: 3.15 + + The major version of GLEW found. + ``GLEW_VERSION_MINOR`` - GLEW minor version + .. versionadded:: 3.15 + + The minor version of GLEW found. + ``GLEW_VERSION_MICRO`` - GLEW micro version + .. versionadded:: 3.15 -.. versionadded:: 3.7 - Debug and Release variants are found separately. + The micro version of GLEW found. +``GLEW_INCLUDE_DIRS`` + Include directories needed to use GLEW library. + +``GLEW_LIBRARIES`` + Libraries needed to link against to use GLEW library (shared or static + depending on configuration). + +``GLEW_SHARED_LIBRARIES`` + .. versionadded:: 3.15 + + Libraries needed to link against to use shared GLEW library. + +``GLEW_STATIC_LIBRARIES`` + .. versionadded:: 3.15 + + Libraries needed to link against to use static GLEW library. + +Hints +^^^^^ + +This module accepts the following variables before calling +``find_package(GLEW)`` to influence this module's behavior: + +``GLEW_USE_STATIC_LIBS`` + .. versionadded:: 3.15 + + Set to boolean true to find static GLEW library and create the + ``GLEW::glew_s`` imported target for static linkage. + +``GLEW_VERBOSE`` + .. versionadded:: 3.15 + + Set to boolean true to output a detailed log of this module. Can be used, for + example, for debugging. + +Examples +^^^^^^^^ + +Finding GLEW and linking it to a project target: + +.. code-block:: cmake + + find_package(GLEW) + target_link_libraries(project_target PRIVATE GLEW::GLEW) + +Using the static GLEW library, if found: + +.. code-block:: cmake + + set(GLEW_USE_STATIC_LIBS TRUE) + find_package(GLEW) + target_link_libraries(project_target PRIVATE GLEW::GLEW) #]=======================================================================] include(FindPackageHandleStandardArgs)
diff --git a/Modules/FindGnuTLS.cmake b/Modules/FindGnuTLS.cmake index 2f1033b..d9d8260 100644 --- a/Modules/FindGnuTLS.cmake +++ b/Modules/FindGnuTLS.cmake
@@ -5,34 +5,81 @@ FindGnuTLS ---------- -Find the GNU Transport Layer Security library (gnutls) +Finds the GNU Transport Layer Security library (GnuTLS). The GnuTLS +package includes the main libraries (libgnutls and libdane), as well as the +optional gnutls-openssl compatibility extra library. They are all distributed +as part of the same release. This module checks for the presence of the main +libgnutls library and provides usage requirements for integrating GnuTLS into +CMake projects. Imported Targets ^^^^^^^^^^^^^^^^ -.. versionadded:: 3.16 +This module provides the following :ref:`Imported Targets`: -This module defines :prop_tgt:`IMPORTED` target ``GnuTLS::GnuTLS``, if -gnutls has been found. +``GnuTLS::GnuTLS`` + .. versionadded:: 3.16 + + Target encapsulating the GnuTLS usage requirements, available if GnuTLS is + found. Result Variables ^^^^^^^^^^^^^^^^ -``GNUTLS_FOUND`` - System has gnutls -``GNUTLS_INCLUDE_DIR`` - The gnutls include directory -``GNUTLS_LIBRARIES`` - The libraries needed to use gnutls -``GNUTLS_DEFINITIONS`` - Compiler switches required for using gnutls +This module defines the following variables: + +``GnuTLS_FOUND`` + Boolean indicating whether the (requested version of) GnuTLS is found. For + backward compatibility, the ``GNUTLS_FOUND`` variable is also set to the same + value. + ``GNUTLS_VERSION`` - version of gnutls. + .. versionadded:: 3.16 + + The version of GnuTLS found. + +``GNUTLS_INCLUDE_DIRS`` + Include directories needed to use GnuTLS. + +``GNUTLS_LIBRARIES`` + Libraries needed to link against to use GnuTLS. + +``GNUTLS_DEFINITIONS`` + Compiler options required for using GnuTLS. + +Cache Variables +^^^^^^^^^^^^^^^ + +The following cache variables may also be set: + +``GNUTLS_INCLUDE_DIR`` + The directory containing the ``gnutls/gnutls.h`` header file. + +``GNUTLS_LIBRARY`` + The path to the GnuTLS library. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ + +These variables are provided for backward compatibility: + +``GNUTLS_VERSION_STRING`` + .. deprecated:: 3.16 + Superseded by ``GNUTLS_VERSION``. + + The version of GnuTLS found. + +Examples +^^^^^^^^ + +Finding GnuTLS and linking it to a project target: + +.. code-block:: cmake + + find_package(GnuTLS) + target_link_libraries(project_target PRIVATE GnuTLS::GnuTLS) #]=======================================================================] -# Note that this doesn't try to find the gnutls-extra package. - - if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARY) # in cache already set(gnutls_FIND_QUIETLY TRUE) @@ -71,7 +118,7 @@ REQUIRED_VARS GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR VERSION_VAR GNUTLS_VERSION_STRING) -if(GNUTLS_FOUND) +if(GnuTLS_FOUND) set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR})
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake index ab816d0..15aaefa 100644 --- a/Modules/FindKDE3.cmake +++ b/Modules/FindKDE3.cmake
@@ -5,139 +5,215 @@ FindKDE3 -------- -Find the KDE3 include and library dirs, KDE preprocessors and define a some macros +.. note:: + This module is specifically intended for KDE version 3, which is obsolete and + no longer maintained. For modern application development using KDE + technologies with CMake, use a newer version of KDE, and refer to the + `KDE documentation + <https://develop.kde.org/docs/getting-started/building/cmake-build/>`_. +This module finds KDE 3 include directories, libraries, and KDE-specific +preprocessor tools. It provides usage requirements for building KDE 3 software +and defines several helper commands to simplify working with KDE 3 in CMake. + +Result Variables +^^^^^^^^^^^^^^^^ This module defines the following variables: -``KDE3_DEFINITIONS`` - compiler definitions required for compiling KDE software -``KDE3_INCLUDE_DIR`` - the KDE include directory -``KDE3_INCLUDE_DIRS`` - the KDE and the Qt include directory, for use with include_directories() -``KDE3_LIB_DIR`` - the directory where the KDE libraries are installed, for use with link_directories() -``QT_AND_KDECORE_LIBS`` - this contains both the Qt and the kdecore library -``KDE3_DCOPIDL_EXECUTABLE`` - the dcopidl executable -``KDE3_DCOPIDL2CPP_EXECUTABLE`` - the dcopidl2cpp executable -``KDE3_KCFGC_EXECUTABLE`` - the kconfig_compiler executable ``KDE3_FOUND`` - set to TRUE if all of the above has been found + Boolean indicating whether KDE 3 is found. +``KDE3_DEFINITIONS`` + Compiler definitions required for compiling KDE 3 software. +``KDE3_INCLUDE_DIRS`` + The KDE and the Qt include directories, for use with the + :command:`target_include_directories` command. +``KDE3_LIB_DIR`` + The directory containing the installed KDE 3 libraries, for use with the + :command:`target_link_directories` command. +``QT_AND_KDECORE_LIBS`` + A list containing both the Qt and the kdecore library, typically used together + when linking KDE 3. -The following user adjustable options are provided: +Cache Variables +^^^^^^^^^^^^^^^ + +The following cache variables may also be set: + +``KDE3_INCLUDE_DIR`` + The directory containing KDE 3 header files. +``KDE3_DCOPIDL_EXECUTABLE`` + The path to the ``dcopidl`` executable. +``KDE3_DCOPIDL2CPP_EXECUTABLE`` + The path to the ``dcopidl2cpp`` executable. +``KDE3_KCFGC_EXECUTABLE`` + The path to the ``kconfig_compiler`` executable. + +Hints +^^^^^ + +This module accepts the following variables: ``KDE3_BUILD_TESTS`` - enable this to build KDE testcases + Provided as a user adjustable option. Set this variable to boolean true to + build KDE 3 testcases. -It also adds the following macros (from ``KDE3Macros.cmake``) ``SRCS_VAR`` is -always the variable which contains the list of source files for your -application or library. +Commands +^^^^^^^^ -KDE3_AUTOMOC(file1 ... fileN) +This module provides the following commands to work with KDE 3 in CMake: -:: +.. command:: kde3_automoc - Call this if you want to have automatic moc file handling. - This means if you include "foo.moc" in the source file foo.cpp - a moc file for the header foo.h will be created automatically. - You can set the property SKIP_AUTOMAKE using set_source_files_properties() - to exclude some files in the list from being processed. + Enables automatic processing with ``moc`` for the given source files: + .. code-block:: cmake + kde3_automoc(<sources>...) -KDE3_ADD_MOC_FILES(SRCS_VAR file1 ... fileN ) + Call this command to enable automatic ``moc`` file handling. For example, + if a source file (e.g., ``foo.cpp``) contains ``include "foo.moc"``, a + ``moc`` file for the corresponding header (``foo.h``) will be generated + automatically. To skip processing for a specific source file, set the + :prop_sf:`SKIP_AUTOMOC` source file property. -:: +.. command:: kde3_add_moc_files - If you don't use the KDE3_AUTOMOC() macro, for the files - listed here moc files will be created (named "foo.moc.cpp") + Processes header files with ``moc``: + .. code-block:: cmake + kde3_add_moc_files(<variable> <headers>...) -KDE3_ADD_DCOP_SKELS(SRCS_VAR header1.h ... headerN.h ) + If not using ``kde3_automoc()``, this command can be used to generate ``moc`` + files for one or more ``<headers>`` files. The generated files are named + ``<filename>.moc.cpp`` and the resulting list of these generated source files + is stored in the variable named ``<variable>`` for use in project targets. -:: +.. command:: kde3_add_dcop_skels - Use this to generate DCOP skeletions from the listed headers. + Generates KIDL and DCOP skeletons: + .. code-block:: cmake + kde3_add_dcop_skels(<variable> <dcop-headers>...) -KDE3_ADD_DCOP_STUBS(SRCS_VAR header1.h ... headerN.h ) + This command generates ``.kidl`` and DCOP skeleton source files from the given + DCOP header files. The resulting list of generated source files is stored in + the variable named ``<variable>`` for use in project targets. -:: +.. command:: kde3_add_dcop_stubs - Use this to generate DCOP stubs from the listed headers. + Generates DCOP stubs: + .. code-block:: cmake + kde3_add_dcop_stubs(<variable> <headers>...) -KDE3_ADD_UI_FILES(SRCS_VAR file1.ui ... fileN.ui ) + Use this command to generate DCOP stubs from one or more given header files. + The resulting list of generated source files is stored in the variable named + ``<variable>`` for use in project targets. -:: +.. command:: kde3_add_ui_files - Use this to add the Qt designer ui files to your application/library. + Adds Qt designer UI files: + .. code-block:: cmake + kde3_add_ui_files(<variable> <ui-files>...) -KDE3_ADD_KCFG_FILES(SRCS_VAR file1.kcfgc ... fileN.kcfgc ) + This command creates the implementation files from the given Qt designer + ``.ui`` files. The resulting list of generated files is stored in the + variable named ``<variable>`` for use in project targets. -:: +.. command:: kde3_add_kcfg_files - Use this to add KDE kconfig compiler files to your application/library. + Adds KDE kconfig compiler files: + .. code-block:: cmake + kde3_add_kcfg_files(<variable> <kcfgc-files>...) -KDE3_INSTALL_LIBTOOL_FILE(target) + Use this command to add KDE kconfig compiler files (``.kcfgc``) to the + application/library. The resulting list of generated source files is stored + in the variable named ``<variable>`` for use in project targets. -:: +.. command:: kde3_install_libtool_file - This will create and install a simple libtool file for the given target. + Creates and installs a libtool file: + .. code-block:: cmake + kde3_install_libtool_file(<target>) -KDE3_ADD_EXECUTABLE(name file1 ... fileN ) + This command creates and installs a basic libtool file for the given target + ``<target>``. -:: +.. command:: kde3_add_executable - Currently identical to add_executable(), may provide some advanced - features in the future. + Adds KDE executable: + .. code-block:: cmake + kde3_add_executable(<name> <sources>...) -KDE3_ADD_KPART(name [WITH_PREFIX] file1 ... fileN ) + This command is functionally identical to the built-in + :command:`add_executable` command. It was originally intended to support + additional features in future versions of this module. -:: +.. command:: kde3_add_kpart - Create a KDE plugin (KPart, kioslave, etc.) from the given source files. - If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", - otherwise it won't. - It creates and installs an appropriate libtool la-file. + Creates a KDE plugin: + .. code-block:: cmake + kde3_add_kpart(<name> [WITH_PREFIX] <sources>...) -KDE3_ADD_KDEINIT_EXECUTABLE(name file1 ... fileN ) + This command creates a KDE plugin (KPart, kioslave, etc.) from one or more + source files ``<sources>``. It also creates and installs an appropriate + libtool ``.la`` file. -:: + If the ``WITH_PREFIX`` option is given, the resulting plugin name will be + prefixed with ``lib``. Otherwise, no prefix is added. - Create a KDE application in the form of a module loadable via kdeinit. - A library named kdeinit_<name> will be created and a small executable - which links to it. +.. command:: kde3_add_kdeinit_executable + Creates a KDE application as a module loadable via kdeinit: + .. code-block:: cmake -The option KDE3_ENABLE_FINAL to enable all-in-one compilation is no -longer supported. + kde3_add_kdeinit_executable(<name> <sources>...) + This command creates a library named ``kdeinit_<name>`` from one or more + source files ``<sources>``. It also builds a small executable linked against + this library. +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ -Author: Alexander Neundorf <neundorf@kde.org> +The following variables have been either removed or are provided for backward +compatibility: + +``KDE3_ENABLE_FINAL`` + .. versionchanged:: 2.4.8 + This variable is now removed and no longer supported. + + This hint variable was provided as an option in earlier CMake versions to + enable all-in-one compilation. + +Examples +^^^^^^^^ + +Finding KDE 3: + +.. code-block:: cmake + + find_package(KDE3) #]=======================================================================] +# Author: Alexander Neundorf <neundorf@kde.org> + if(NOT UNIX AND KDE3_FIND_REQUIRED) message(FATAL_ERROR "Compiling KDE3 applications and libraries under Windows is not supported") endif()
diff --git a/Modules/FindMPEG.cmake b/Modules/FindMPEG.cmake index 26f8be4..6c49702 100644 --- a/Modules/FindMPEG.cmake +++ b/Modules/FindMPEG.cmake
@@ -5,22 +5,63 @@ FindMPEG -------- -Find the native MPEG includes and library +Finds the native MPEG library (libmpeg2). -This module defines +.. note:: -:: + This module is functionally identical to the :module:`FindMPEG2` module, which + also finds the libmpeg2 library. Both modules were introduced in the past to + provide flexibility in handling potential differences in future versions of + the MPEG library and to maintain backward compatibility across CMake releases. - MPEG_INCLUDE_DIR, where to find MPEG.h, etc. - MPEG_LIBRARIES, the libraries required to use MPEG. - MPEG_FOUND, If false, do not try to use MPEG. + The ``FindMPEG2`` module additionally checks for the SDL dependency and + includes it in its usage requirements. For working with libmpeg2, it is + recommended to use the :module:`FindMPEG2` module instead of this one. -also defined, but not for general use are +Result Variables +^^^^^^^^^^^^^^^^ -:: +This module defines the following variables: - MPEG_mpeg2_LIBRARY, where to find the MPEG library. - MPEG_vo_LIBRARY, where to find the vo library. +``MPEG_FOUND`` + Boolean indicating whether the libmpeg2 library is found. +``MPEG_LIBRARIES`` + Libraries needed to link against to use libmpeg2. + +Cache Variables +^^^^^^^^^^^^^^^ + +The following cache variables may be also set: + +``MPEG_INCLUDE_DIR`` + The directory containing the ``mpeg2.h`` and related headers needed to use + libmpeg2 library. +``MPEG_mpeg2_LIBRARY`` + The path to the libmpeg2 library. +``MPEG_vo_LIBRARY`` + The path to the vo (Video Out) library. + +Examples +^^^^^^^^ + +Finding libmpeg2 library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(MPEG) + + if(MPEG_FOUND AND NOT TARGET MPEG::MPEG) + add_library(MPEG::MPEG INTERFACE IMPORTED) + set_target_properties( + MPEG::MPEG + PROPERTIES + INTERFACE_LINK_LIBRARIES "${MPEG_LIBRARIES}" + INTERFACE_INCLUDE_DIRECTORIES "${MPEG_INCLUDE_DIR}" + ) + endif() + + target_link_libraries(project_target PRIVATE MPEG::MPEG) #]=======================================================================] find_path(MPEG_INCLUDE_DIR
diff --git a/Modules/FindMPEG2.cmake b/Modules/FindMPEG2.cmake index 66a0ed0..103f2c4 100644 --- a/Modules/FindMPEG2.cmake +++ b/Modules/FindMPEG2.cmake
@@ -5,22 +5,58 @@ FindMPEG2 --------- -Find the native MPEG2 includes and library +Finds the native MPEG2 library (libmpeg2). -This module defines +.. note:: -:: + Depending on how the native libmpeg2 library is built and installed, it may + depend on the SDL (Simple DirectMedia Layer) library. If SDL is found, this + module includes it in its usage requirements when used. - MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc. - MPEG2_LIBRARIES, the libraries required to use MPEG2. - MPEG2_FOUND, If false, do not try to use MPEG2. +Result Variables +^^^^^^^^^^^^^^^^ -also defined, but not for general use are +This module defines the following variables: -:: +``MPEG2_FOUND`` + Boolean indicating whether the libmpeg2 library is found. +``MPEG2_LIBRARIES`` + Libraries needed to link against to use libmpeg2. - MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library. - MPEG2_vo_LIBRARY, where to find the vo library. +Cache Variables +^^^^^^^^^^^^^^^ + +The following cache variables may be also set: + +``MPEG2_INCLUDE_DIR`` + The directory containing the ``mpeg2.h`` and related headers needed to use + libmpeg2 library. +``MPEG2_mpeg2_LIBRARY`` + The path to the libmpeg2 library. +``MPEG2_vo_LIBRARY`` + The path to the vo (Video Out) library. + +Examples +^^^^^^^^ + +Finding libmpeg2 library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(MPEG2) + + if(MPEG2_FOUND AND NOT TARGET MPEG2::MPEG2) + add_library(MPEG2::MPEG2 INTERFACE IMPORTED) + set_target_properties( + MPEG2::MPEG2 + PROPERTIES + INTERFACE_LINK_LIBRARIES "${MPEG2_LIBRARIES}" + INTERFACE_INCLUDE_DIRECTORIES "${MPEG2_INCLUDE_DIR}" + ) + endif() + + target_link_libraries(project_target PRIVATE MPEG2::MPEG2) #]=======================================================================] find_path(MPEG2_INCLUDE_DIR @@ -39,8 +75,7 @@ list(APPEND MPEG2_LIBRARIES ${MPEG2_vo_LIBRARY}) endif() - #some native mpeg2 installations will depend - #on libSDL, if found, add it in. + # Some native mpeg2 installations will depend on libSDL. If found, add it in. find_package(SDL) if(SDL_FOUND) set( MPEG2_LIBRARIES ${MPEG2_LIBRARIES} ${SDL_LIBRARY})
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index 5c59c90..8754dcf 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake
@@ -7,7 +7,7 @@ Finds the installed OpenSSL encryption library and determines its version. -.. versionadded:: 3.19 +.. versionadded:: 3.20 Support for specifying version range when calling the :command:`find_package` command. When a version is requested, it can be specified as a single value as before, and now also a version range can be used. For a detailed
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake index 0e85990..a720dcc 100644 --- a/Modules/FindSDL.cmake +++ b/Modules/FindSDL.cmake
@@ -5,109 +5,171 @@ FindSDL ------- -Locate the SDL library +Finds the SDL (Simple DirectMedia Layer) library. SDL is a cross-platform +library for developing multimedia software, such as games and emulators. +.. note:: + + This module is specifically intended for SDL version 1. Starting with version + 2, SDL provides a CMake package configuration file when built with CMake and + should be found using ``find_package(SDL2)``. Similarly, SDL version 3 can be + found using ``find_package(SDL3)``. These newer versions provide separate + :ref:`Imported Targets` that encapsulate usage requirements. Refer to the + official SDL documentation for more information. + +Note that the include path for the SDL header has changed in recent SDL 1 +versions from ``SDL/SDL.h`` to simply ``SDL.h``. This change aligns with SDL's +convention of using ``#include "SDL.h"`` for portability, as not all systems +install the headers in a ``SDL/`` subdirectory (e.g., FreeBSD). + +When targeting macOS and using the SDL framework, be sure to include both +``SDLmain.h`` and ``SDLmain.m`` in the project. For other platforms, the +``SDLmain`` library is typically linked using ``-lSDLmain``, which this module +will attempt to locate automatically. Additionally, for macOS, this module will +add the ``-framework Cocoa`` flag as needed. Imported Targets ^^^^^^^^^^^^^^^^ -.. versionadded:: 3.19 - -This module defines the following :prop_tgt:`IMPORTED` target: +This module provides the following :ref:`Imported Targets`: ``SDL::SDL`` - The SDL library, if found + .. versionadded:: 3.19 -Result variables + Target encapsulating the SDL library usage requirements, available if SDL is + found. + +Result Variables ^^^^^^^^^^^^^^^^ -This module will set the following variables in your project: +This module defines the following variables: + +``SDL_FOUND`` + Boolean indicating whether the (requested version of) SDL is found. + +``SDL_VERSION`` + .. versionadded:: 3.19 + + The human-readable string containing the version of SDL found. + +``SDL_VERSION_MAJOR`` + .. versionadded:: 3.19 + + The major version of SDL found. + +``SDL_VERSION_MINOR`` + .. versionadded:: 3.19 + + The minor version of SDL found. + +``SDL_VERSION_PATCH`` + .. versionadded:: 3.19 + + The patch version of SDL found. ``SDL_INCLUDE_DIRS`` - where to find SDL.h + .. versionadded:: 3.19 + + Include directories needed to use SDL. + ``SDL_LIBRARIES`` - the name of the library to link against -``SDL_FOUND`` - if false, do not try to link to SDL -``SDL_VERSION`` - the human-readable string containing the version of SDL if found -``SDL_VERSION_MAJOR`` - SDL major version -``SDL_VERSION_MINOR`` - SDL minor version -``SDL_VERSION_PATCH`` - SDL patch version + .. versionadded:: 3.19 -.. versionadded:: 3.19 - Added the ``SDL_INCLUDE_DIRS``, ``SDL_LIBRARIES`` and ``SDL_VERSION[_<PART>]`` - variables. + Libraries needed to link against to use SDL. -Cache variables +Cache Variables ^^^^^^^^^^^^^^^ -These variables may optionally be set to help this module find the correct files: +These variables may optionally be set to help this module find the correct +files: ``SDL_INCLUDE_DIR`` - where to find SDL.h + The directory containing the ``SDL.h`` header file. ``SDL_LIBRARY`` - the name of the library to link against + A list of libraries containing the path to the SDL library and libraries + needed to link against to use SDL. +Hints +^^^^^ -Variables for locating SDL -^^^^^^^^^^^^^^^^^^^^^^^^^^ - -This module responds to the flag: +This module accepts the following variables: ``SDL_BUILDING_LIBRARY`` - If this is defined, then no SDL_main will be linked in because - only applications need main(). - Otherwise, it is assumed you are building an application and this - module will attempt to locate and set the proper link flags - as part of the returned SDL_LIBRARY variable. + When set to boolean true, the ``SDL_main`` library will be excluded from + linking, as it is not required when building the SDL library itself (only + applications need ``main()`` function). If not set, this module assumes an + application is being built and attempts to locate and include the appropriate + ``SDL_main`` link flags in the returned ``SDL_LIBRARY`` variable. +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. -Obsolete variables -^^^^^^^^^^^^^^^^^^ + On macOS, setting this variable will prefer the Framework version (if found) + over others. In this case, the cache value of ``SDL_LIBRARY`` would need to + be manually changed to override this selection or set the + :variable:`CMAKE_INCLUDE_PATH` variable to modify the search paths. -.. deprecated:: 3.19 +Troubleshooting +^^^^^^^^^^^^^^^ + +In case the SDL library is not found automatically, the ``SDL_LIBRARY_TEMP`` +variable may be empty, and ``SDL_LIBRARY`` will not be set. This typically +means that CMake could not locate the SDL library (e.g., ``SDL.dll``, +``libSDL.so``, ``SDL.framework``, etc.). To resolve this, manually set +``SDL_LIBRARY_TEMP`` to the correct path and reconfigure the project. +Similarly, if ``SDLMAIN_LIBRARY`` is unset, it may also need to be specified +manually. These variables are used to construct the final ``SDL_LIBRARY`` +value. If they are not set, ``SDL_LIBRARY`` will remain undefined. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ These variables are obsolete and provided for backwards compatibility: ``SDL_VERSION_STRING`` - the human-readable string containing the version of SDL if found. - Identical to SDL_VERSION + .. deprecated:: 3.19 + Superseded by the ``SDL_VERSION`` with the same value. + The human-readable string containing the version of SDL if found. -Don't forget to include SDLmain.h and SDLmain.m your project for the -OS X framework based version. (Other versions link to -lSDLmain which -this module will try to find on your behalf.) Also for OS X, this -module will automatically add the -framework Cocoa on your behalf. +Examples +^^^^^^^^ +Finding SDL library and linking it to a project target: +.. code-block:: cmake -Additional Note: If you see an empty SDL_LIBRARY_TEMP in your -configuration and no SDL_LIBRARY, it means CMake did not find your SDL -library (SDL.dll, libsdl.so, SDL.framework, etc). Set -SDL_LIBRARY_TEMP to point to your SDL library, and configure again. -Similarly, if you see an empty SDLMAIN_LIBRARY, you should set this -value as appropriate. These values are used to generate the final -SDL_LIBRARY variable, but when these values are unset, SDL_LIBRARY -does not get created. + find_package(SDL) + target_link_libraries(project_target PRIVATE SDL::SDL) +When working with SDL version 2, the upstream package provides the +``SDL2::SDL2`` imported target directly. It can be used in a project without +using this module: +.. code-block:: cmake -$SDLDIR is an environment variable that would correspond to the -./configure --prefix=$SDLDIR used in building SDL. l.e.galup 9-20-02 + find_package(SDL2) + target_link_libraries(project_target PRIVATE SDL2::SDL2) -On OSX, this will prefer the Framework version (if found) over others. -People will have to manually change the cache values of SDL_LIBRARY to -override this selection or set the CMake environment -CMAKE_INCLUDE_PATH to modify the search paths. +Similarly, for SDL version 3: -Note that the header path has changed from SDL/SDL.h to just SDL.h -This needed to change because "proper" SDL convention is #include -"SDL.h", not <SDL/SDL.h>. This is done for portability reasons -because not all systems place things in SDL/ (see FreeBSD). +.. code-block:: cmake + + find_package(SDL3) + target_link_libraries(project_target PRIVATE SDL3::SDL3) + +See Also +^^^^^^^^ + +* The :module:`FindSDL_gfx` module to find the SDL_gfx library. +* The :module:`FindSDL_image` module to find the SDL_image library. +* The :module:`FindSDL_mixer` module to find the SDL_mixer library. +* The :module:`FindSDL_net` module to find the SDL_net library. +* The :module:`FindSDL_sound` module to find the SDL_sound library. +* The :module:`FindSDL_ttf` module to find the SDL_ttf library. #]=======================================================================] cmake_policy(PUSH)
diff --git a/Modules/FindSDL_gfx.cmake b/Modules/FindSDL_gfx.cmake index fb066c9..c7f489e 100644 --- a/Modules/FindSDL_gfx.cmake +++ b/Modules/FindSDL_gfx.cmake
@@ -7,21 +7,70 @@ .. versionadded:: 3.25 -Locate SDL_gfx library +Finds the SDL_gfx library that provides graphics support in SDL (Simple +DirectMedia Layer) applications. -This module defines: +.. note:: -:: + This module is for SDL_gfx version 1. For version 2 or newer usage refer to + the upstream documentation. - SDL::SDL_gfx, the name of the target to use with target_*() commands - SDL_GFX_LIBRARIES, the name of the library to link against - SDL_GFX_INCLUDE_DIRS, where to find the headers - SDL_GFX_FOUND, if false, do not try to link against - SDL_GFX_VERSION_STRING - human-readable string containing the - version of SDL_gfx +Imported Targets +^^^^^^^^^^^^^^^^ -``$SDLDIR`` is an environment variable that would correspond to the -``./configure --prefix=$SDLDIR`` used in building SDL. +This module provides the following :ref:`Imported Targets`: + +``SDL::SDL_gfx`` + Target encapsulating the SDL_gfx library usage requirements, available if + SDL_gfx is found. + +Result Variables +^^^^^^^^^^^^^^^^ + +This module defines the following variables: + +``SDL_gfx_FOUND`` + Boolean indicating whether the (requested version of) SDL_gfx library is + found. For backward compatibility, the ``SDL_GFX_FOUND`` variable is also set + to the same value. +``SDL_GFX_VERSION_STRING`` + The human-readable string containing the version of SDL_gfx found. + +Cache Variables +^^^^^^^^^^^^^^^ + +The following cache variables may also be set: + +``SDL_GFX_INCLUDE_DIRS`` + The directory containing the headers needed to use SDL_gfx. +``SDL_GFX_LIBRARIES`` + The path to the SDL_gfx library needed to link against to use SDL_gfx. + +Hints +^^^^^ + +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + +Examples +^^^^^^^^ + +Finding SDL_gfx library and linking it to a project target: + +.. code-block:: cmake + + find_package(SDL_gfx) + target_link_libraries(project_target PRIVATE SDL::SDL_gfx) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================] cmake_policy(PUSH)
diff --git a/Modules/FindSDL_image.cmake b/Modules/FindSDL_image.cmake index 995baaa..5835532 100644 --- a/Modules/FindSDL_image.cmake +++ b/Modules/FindSDL_image.cmake
@@ -5,32 +5,107 @@ FindSDL_image ------------- -Locate SDL_image library +Finds the SDL_image library that loads images of various formats as SDL (Simple +DirectMedia Layer) surfaces. -This module defines: +.. note:: -:: + This module is specifically intended for SDL_image version 1. Starting with + version 2.6, SDL_image provides a CMake package configuration file when built + with CMake and should be found using ``find_package(SDL2_image)``. Similarly, + SDL_image version 3 can be found using ``find_package(SDL3_image)``. These + newer versions provide :ref:`Imported Targets` that encapsulate usage + requirements. Refer to the official SDL documentation for more information. - SDL_IMAGE_LIBRARIES, the name of the library to link against - SDL_IMAGE_INCLUDE_DIRS, where to find the headers - SDL_IMAGE_FOUND, if false, do not try to link against - SDL_IMAGE_VERSION_STRING - human-readable string containing the - version of SDL_image +Result Variables +^^^^^^^^^^^^^^^^ +This module defines the following variables: +``SDL_image_FOUND`` + Boolean indicating whether the (requested version of) SDL_image library is + found. For backward compatibility, the ``SDL_IMAGE_FOUND`` variable is also + set to the same value. + +``SDL_IMAGE_VERSION_STRING`` + The human-readable string containing the version of SDL_image found. + +``SDL_IMAGE_INCLUDE_DIRS`` + Include directories containing headers needed to use the SDL_image library. + +``SDL_IMAGE_LIBRARIES`` + Libraries needed to link against to use the SDL_image library. + +Hints +^^^^^ + +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ For backward compatibility the following variables are also set: -:: +``SDLIMAGE_FOUND`` + .. deprecated:: 2.8.10 + Use the ``SDL_image_FOUND``, which has the same value. - SDLIMAGE_LIBRARY (same value as SDL_IMAGE_LIBRARIES) - SDLIMAGE_INCLUDE_DIR (same value as SDL_IMAGE_INCLUDE_DIRS) - SDLIMAGE_FOUND (same value as SDL_IMAGE_FOUND) +``SDLIMAGE_INCLUDE_DIR`` + .. deprecated:: 2.8.10 + Use the ``SDL_IMAGE_INCLUDE_DIRS``, which has the same value. +``SDLIMAGE_LIBRARY`` + .. deprecated:: 2.8.10 + Use the ``SDL_IMAGE_LIBRARIES``, which has the same value. +Examples +^^^^^^^^ -$SDLDIR is an environment variable that would correspond to the -./configure --prefix=$SDLDIR used in building SDL. +Finding SDL_image library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(SDL_image) + + if(SDL_image_FOUND AND NOT TARGET SDL::SDL_image) + add_library(SDL::SDL_image INTERFACE IMPORTED) + set_target_properties( + SDL::SDL_image + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL_IMAGE_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES "${SDL_IMAGE_LIBRARIES}" + ) + endif() + + target_link_libraries(project_target PRIVATE SDL::SDL_image) + +When working with SDL_image version 2, the upstream package provides the +``SDL2_image::SDL2_image`` imported target directly. It can be used in a +project without using this module: + +.. code-block:: cmake + + find_package(SDL2_image) + target_link_libraries(project_target PRIVATE SDL2_image::SDL2_image) + +Similarly, for SDL_image version 3: + +.. code-block:: cmake + + find_package(SDL3_image) + target_link_libraries(project_target PRIVATE SDL3_image::SDL3_image) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================] cmake_policy(PUSH) @@ -95,7 +170,7 @@ # for backward compatibility set(SDLIMAGE_LIBRARY ${SDL_IMAGE_LIBRARIES}) set(SDLIMAGE_INCLUDE_DIR ${SDL_IMAGE_INCLUDE_DIRS}) -set(SDLIMAGE_FOUND ${SDL_IMAGE_FOUND}) +set(SDLIMAGE_FOUND ${SDL_image_FOUND}) mark_as_advanced(SDL_IMAGE_LIBRARY SDL_IMAGE_INCLUDE_DIR)
diff --git a/Modules/FindSDL_mixer.cmake b/Modules/FindSDL_mixer.cmake index 5219f84..a9bafbc 100644 --- a/Modules/FindSDL_mixer.cmake +++ b/Modules/FindSDL_mixer.cmake
@@ -5,32 +5,99 @@ FindSDL_mixer ------------- -Locate SDL_mixer library +Finds the SDL_mixer library that provides an audio mixer with support for +various file formats in SDL (Simple DirectMedia Layer) applications. -This module defines: +.. note:: -:: + This module is specifically intended for SDL_mixer version 1. Starting with + version 2.5, SDL_mixer provides a CMake package configuration file when built + with CMake and should be found using ``find_package(SDL2_mixer)``. These + newer versions provide :ref:`Imported Targets` that encapsulate usage + requirements. Refer to the official SDL documentation for more information. - SDL_MIXER_LIBRARIES, the name of the library to link against - SDL_MIXER_INCLUDE_DIRS, where to find the headers - SDL_MIXER_FOUND, if false, do not try to link against - SDL_MIXER_VERSION_STRING - human-readable string containing the - version of SDL_mixer +Result Variables +^^^^^^^^^^^^^^^^ +This module defines the following variables: +``SDL_mixer_FOUND`` + Boolean indicating whether the (requested version of) SDL_mixer library is + found. For backward compatibility, the ``SDL_MIXER_FOUND`` variable is also + set to the same value. + +``SDL_MIXER_VERSION_STRING`` + The human-readable string containing the version of SDL_mixer found. + +``SDL_MIXER_INCLUDE_DIRS`` + Include directories containing headers needed to use the SDL_mixer library. + +``SDL_MIXER_LIBRARIES`` + Libraries needed to link against to use SDL_mixer. + +Hints +^^^^^ + +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ For backward compatibility the following variables are also set: -:: +``SDLMIXER_FOUND`` + .. deprecated:: 2.8.10 + Use ``SDL_mixer_FOUND``, which has the same value. - SDLMIXER_LIBRARY (same value as SDL_MIXER_LIBRARIES) - SDLMIXER_INCLUDE_DIR (same value as SDL_MIXER_INCLUDE_DIRS) - SDLMIXER_FOUND (same value as SDL_MIXER_FOUND) +``SDLMIXER_INCLUDE_DIR`` + .. deprecated:: 2.8.10 + Use ``SDL_MIXER_INCLUDE_DIRS``, which has the same value. +``SDLMIXER_LIBRARY`` + .. deprecated:: 2.8.10 + Use ``SDL_MIXER_LIBRARIES``, which has the same value. +Examples +^^^^^^^^ -$SDLDIR is an environment variable that would correspond to the -./configure --prefix=$SDLDIR used in building SDL. +Finding SDL_mixer library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(SDL_mixer) + + if(SDL_mixer_FOUND AND NOT TARGET SDL::SDL_mixer) + add_library(SDL::SDL_mixer INTERFACE IMPORTED) + set_target_properties( + SDL::SDL_mixer + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL_MIXER_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES "${SDL_MIXER_LIBRARIES}" + ) + endif() + + target_link_libraries(project_target PRIVATE SDL::SDL_mixer) + +When working with SDL_mixer version 2, the upstream package provides the +``SDL2_mixer::SDL2_mixer`` imported target directly. It can be used in a +project without using this module: + +.. code-block:: cmake + + find_package(SDL2_mixer) + target_link_libraries(project_target PRIVATE SDL2_mixer::SDL2_mixer) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================] cmake_policy(PUSH) @@ -95,7 +162,7 @@ # for backward compatibility set(SDLMIXER_LIBRARY ${SDL_MIXER_LIBRARIES}) set(SDLMIXER_INCLUDE_DIR ${SDL_MIXER_INCLUDE_DIRS}) -set(SDLMIXER_FOUND ${SDL_MIXER_FOUND}) +set(SDLMIXER_FOUND ${SDL_mixer_FOUND}) mark_as_advanced(SDL_MIXER_LIBRARY SDL_MIXER_INCLUDE_DIR)
diff --git a/Modules/FindSDL_net.cmake b/Modules/FindSDL_net.cmake index a8189fb..c5ba976 100644 --- a/Modules/FindSDL_net.cmake +++ b/Modules/FindSDL_net.cmake
@@ -5,31 +5,99 @@ FindSDL_net ----------- -Locate SDL_net library +Finds the SDL_net library, a cross-platform network library for use with the +SDL (Simple DirectMedia Layer) applications. -This module defines: +.. note:: -:: + This module is specifically intended for SDL_net version 1. Starting with + version 2.1, SDL_net provides a CMake package configuration file when built + with CMake and should be found using ``find_package(SDL2_net)``. These + newer versions provide :ref:`Imported Targets` that encapsulate usage + requirements. Refer to the official SDL documentation for more information. - SDL_NET_LIBRARIES, the name of the library to link against - SDL_NET_INCLUDE_DIRS, where to find the headers - SDL_NET_FOUND, if false, do not try to link against - SDL_NET_VERSION_STRING - human-readable string containing the version of SDL_net +Result Variables +^^^^^^^^^^^^^^^^ +This module defines the following variables: +``SDL_net_FOUND`` + Boolean indicating whether the (requested version of) SDL_net library is + found. For backward compatibility, the ``SDL_NET_FOUND`` variable is also set + to the same value. + +``SDL_NET_VERSION_STRING`` + The human-readable string containing the version of SDL_net found. + +``SDL_NET_INCLUDE_DIRS`` + Include directories containing headers needed to use the SDL_net library. + +``SDL_NET_LIBRARIES`` + Libraries needed to link against to use the SDL_net library. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ For backward compatibility the following variables are also set: -:: +``SDLNET_FOUND`` + .. deprecated:: 2.8.10 + Use the ``SDL_net_FOUND``, which has the same value. - SDLNET_LIBRARY (same value as SDL_NET_LIBRARIES) - SDLNET_INCLUDE_DIR (same value as SDL_NET_INCLUDE_DIRS) - SDLNET_FOUND (same value as SDL_NET_FOUND) +``SDLNET_INCLUDE_DIR`` + .. deprecated:: 2.8.10 + Use the ``SDL_NET_INCLUDE_DIRS``, which has the same value. +``SDLNET_LIBRARY`` + .. deprecated:: 2.8.10 + Use the ``SDL_NET_LIBRARIES``, which has the same value. +Hints +^^^^^ -$SDLDIR is an environment variable that would correspond to the -./configure --prefix=$SDLDIR used in building SDL. +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + +Examples +^^^^^^^^ + +Finding SDL_net library and creating an imported interface target for linking it +to a project target: + +.. code-block:: cmake + + find_package(SDL_net) + + if(SDL_net_FOUND AND NOT TARGET SDL::SDL_net) + add_library(SDL::SDL_net INTERFACE IMPORTED) + set_target_properties( + SDL::SDL_net + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL_NET_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES "${SDL_NET_LIBRARIES}" + ) + endif() + + target_link_libraries(project_target PRIVATE SDL::SDL_net) + +When working with SDL_net version 2, the upstream package provides the +``SDL2_net::SDL2_net`` imported target directly. It can be used in a project +without using this module: + +.. code-block:: cmake + + find_package(SDL2_net) + target_link_libraries(project_target PRIVATE SDL2_net::SDL2_net) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================] cmake_policy(PUSH) @@ -94,7 +162,7 @@ # for backward compatibility set(SDLNET_LIBRARY ${SDL_NET_LIBRARIES}) set(SDLNET_INCLUDE_DIR ${SDL_NET_INCLUDE_DIRS}) -set(SDLNET_FOUND ${SDL_NET_FOUND}) +set(SDLNET_FOUND ${SDL_net_FOUND}) mark_as_advanced(SDL_NET_LIBRARY SDL_NET_INCLUDE_DIR)
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake index 30a89aa..954303f 100644 --- a/Modules/FindSDL_sound.cmake +++ b/Modules/FindSDL_sound.cmake
@@ -5,63 +5,144 @@ FindSDL_sound ------------- -Locates the SDL_sound library +Finds the SDL_sound library, an abstract soundfile decoder for use in SDL +(Simple DirectMedia Layer) applications. +.. note:: + This module is specifically intended for SDL_sound version 1. Starting with + version 2.0.2, SDL_sound provides a CMake package configuration file when + built with CMake and should be found using ``find_package(SDL2_sound)``. + These newer versions provide :ref:`Imported Targets` that encapsulate usage + requirements. Refer to the upstream SDL_sound documentation for more + information. -This module depends on SDL being found and must be called AFTER -FindSDL.cmake is called. +.. note:: + This module depends on SDL being found and must be called after the + :module:`find_package(SDL) <FindSDL>`. -This module defines + Depending on how the SDL_sound library is built, it may require additional + dependent libraries to be found for this module to succeed. These + dependencies may include MikMod, ModPlug, Ogg, Vorbis, SMPEG, FLAC, and Speex. -:: +Result Variables +^^^^^^^^^^^^^^^^ - SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h - SDL_SOUND_FOUND, if false, do not try to link to SDL_sound - SDL_SOUND_LIBRARIES, this contains the list of libraries that you need - to link against. - SDL_SOUND_EXTRAS, this is an optional variable for you to add your own - flags to SDL_SOUND_LIBRARIES. This is prepended to SDL_SOUND_LIBRARIES. - This is available mostly for cases this module failed to anticipate for - and you must add additional flags. This is marked as ADVANCED. - SDL_SOUND_VERSION_STRING, human-readable string containing the - version of SDL_sound +This module defines the following variables: +``SDL_sound_FOUND`` + Boolean indicating whether the (requested version of) SDL_sound library is + found. For backward compatibility, the ``SDL_SOUND_FOUND`` variable is also + set to the same value. +``SDL_SOUND_VERSION_STRING`` + The human-readable string containing the version of SDL_sound found. -This module also defines (but you shouldn't need to use directly) +``SDL_SOUND_LIBRARIES`` + Libraries needed to link against to use the SDL_sound library. -:: +Cache Variables +^^^^^^^^^^^^^^^ - SDL_SOUND_LIBRARY, the name of just the SDL_sound library you would link - against. Use SDL_SOUND_LIBRARIES for you link instructions and not this one. +The following cache variables may also be set: -And might define the following as needed +``SDL_SOUND_INCLUDE_DIR`` + The directory containing the ``SDL_sound.h`` and other headers needed to use + the SDL_sound library. -:: +``SDL_SOUND_LIBRARY`` + The name of just the SDL_sound library you would link against. Use + ``SDL_SOUND_LIBRARIES`` for the link instructions and not this one. - MIKMOD_LIBRARY - MODPLUG_LIBRARY - OGG_LIBRARY - VORBIS_LIBRARY - SMPEG_LIBRARY - FLAC_LIBRARY - SPEEX_LIBRARY +``MIKMOD_LIBRARY`` + The path to the dependent MikMod library. +``MODPLUG_LIBRARY`` + The path to the dependent ModPlug library (libmodplug). +``OGG_LIBRARY`` + The path to the dependent Ogg library. -Typically, you should not use these variables directly, and you should -use SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other -audio libraries (if needed) to successfully compile on your system. +``VORBIS_LIBRARY`` + The path to the dependent Vorbis library. -Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable that -would correspond to the ./configure --prefix=$SDLDIR used in building -SDL. +``SMPEG_LIBRARY`` + The path to the dependent SMPEG library. -On OSX, this will prefer the Framework version (if found) over others. -People will have to manually change the cache values of SDL_LIBRARY to -override this selectionor set the CMake environment CMAKE_INCLUDE_PATH -to modify the search paths. +``FLAC_LIBRARY`` + The path to the dependent FLAC library. + +``SPEEX_LIBRARY`` + The path to the dependent Speex library. + +Hints +^^^^^ + +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + + On macOS, setting this variable will prefer the Framework version (if found) + over others. In this case, the cache value of ``SDL_LIBRARY`` would need to + be manually changed to override this selection or set the + :variable:`CMAKE_INCLUDE_PATH` variable to modify the search paths. + +``SDLSOUNDDIR`` + Environment variable that works the same as ``SDLDIR``. + +``SDL_SOUND_EXTRAS`` + This is an optional cache variable that can be used to add additional flags + that are prepended to the ``SDL_SOUND_LIBRARIES`` result variable. This is + available mostly for cases this module failed to anticipate for and additional + flags must be added. + +Examples +^^^^^^^^ + +Finding SDL_sound library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(SDL) + find_package(SDL_sound) + + if(SDL_sound_FOUND AND NOT TARGET SDL::SDL_sound) + add_library(SDL::SDL_sound INTERFACE IMPORTED) + set_target_properties( + SDL::SDL_sound + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL_SOUND_INCLUDE_DIR}" + INTERFACE_LINK_LIBRARIES "${SDL_SOUND_LIBRARIES}" + ) + + # Append the SDL dependency as imported target to be transitively linked: + set_property( + TARGET SDL::SDL_sound + APPEND + PROPERTY INTERFACE_LINK_LIBRARIES SDL::SDL + ) + endif() + + target_link_libraries(project_target PRIVATE SDL::SDL_sound) + +When working with SDL_sound version 2, the upstream package provides the +``SDL2_sound::SDL2_sound`` imported target directly. It can be used in a +project without using this module: + +.. code-block:: cmake + + find_package(SDL2_sound) + target_link_libraries(project_target PRIVATE SDL2_sound::SDL2_sound) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================]
diff --git a/Modules/FindSDL_ttf.cmake b/Modules/FindSDL_ttf.cmake index 080705f..2569588 100644 --- a/Modules/FindSDL_ttf.cmake +++ b/Modules/FindSDL_ttf.cmake
@@ -5,31 +5,107 @@ FindSDL_ttf ----------- -Locate SDL_ttf library +Finds the SDL_ttf library that provides support for rendering text with TrueType +fonts in SDL (Simple DirectMedia Layer) applications. -This module defines: +.. note:: -:: + This module is specifically intended for SDL_ttf version 1. Starting with + version 2.0.15, SDL_ttf provides a CMake package configuration file when built + with CMake and should be found using ``find_package(SDL2_ttf)``. Similarly, + SDL_ttf version 3 can be found using ``find_package(SDL3_ttf)``. These newer + versions provide :ref:`Imported Targets` that encapsulate usage requirements. + Refer to the official SDL documentation for more information. - SDL_TTF_LIBRARIES, the name of the library to link against - SDL_TTF_INCLUDE_DIRS, where to find the headers - SDL_TTF_FOUND, if false, do not try to link against - SDL_TTF_VERSION_STRING - human-readable string containing the version of SDL_ttf +Result Variables +^^^^^^^^^^^^^^^^ +This module defines the following variables: +``SDL_ttf_FOUND`` + Boolean indicating whether the (requested version of) SDL_ttf library is + found. For backward compatibility, the ``SDL_TTF_FOUND`` variable is also set + to the same value. + +``SDL_TTF_VERSION_STRING`` + The human-readable string containing the version of SDL_ttf found. + +``SDL_TTF_INCLUDE_DIRS`` + Include directories containing headers needed to use SDL_ttf library. + +``SDL_TTF_LIBRARIES`` + Libraries needed to link against to use SDL_ttf. + +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ For backward compatibility the following variables are also set: -:: +``SDLTTF_FOUND`` + .. deprecated:: 2.8.10 + Replaced with ``SDL_ttf_FOUND``, which has the same value. - SDLTTF_LIBRARY (same value as SDL_TTF_LIBRARIES) - SDLTTF_INCLUDE_DIR (same value as SDL_TTF_INCLUDE_DIRS) - SDLTTF_FOUND (same value as SDL_TTF_FOUND) +``SDLTTF_INCLUDE_DIR`` + .. deprecated:: 2.8.10 + Replaced with ``SDL_TTF_INCLUDE_DIRS``, which has the same value. +``SDLTTF_LIBRARY`` + .. deprecated:: 2.8.10 + Replaced with ``SDL_TTF_LIBRARIES``, which has the same value. +Hints +^^^^^ -$SDLDIR is an environment variable that would correspond to the -./configure --prefix=$SDLDIR used in building SDL. +This module accepts the following variables: + +``SDLDIR`` + Environment variable that can be set to help locate an SDL library installed + in a custom location. It should point to the installation destination that + was used when configuring, building, and installing SDL library: + ``./configure --prefix=$SDLDIR``. + +Examples +^^^^^^^^ + +Finding SDL_ttf library and creating an imported interface target for linking +it to a project target: + +.. code-block:: cmake + + find_package(SDL_ttf) + + if(SDL_ttf_FOUND AND NOT TARGET SDL::SDL_ttf) + add_library(SDL::SDL_ttf INTERFACE IMPORTED) + set_target_properties( + SDL::SDL_ttf + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL_TTF_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES "${SDL_TTF_LIBRARIES}" + ) + endif() + + target_link_libraries(project_target PRIVATE SDL::SDL_ttf) + +When working with SDL_ttf version 2, the upstream package provides the +``SDL2_ttf::SDL2_ttf`` imported target directly. It can be used in a project +without using this module: + +.. code-block:: cmake + + find_package(SDL2_ttf) + target_link_libraries(project_target PRIVATE SDL2_ttf::SDL2_ttf) + +Similarly, for SDL_ttf version 3: + +.. code-block:: cmake + + find_package(SDL3_ttf) + target_link_libraries(project_target PRIVATE SDL3_ttf::SDL3_ttf) + +See Also +^^^^^^^^ + +* The :module:`FindSDL` module to find the main SDL library. #]=======================================================================] cmake_policy(PUSH)
diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake index 43ec812..88af70c 100644 --- a/Modules/FindwxWindows.cmake +++ b/Modules/FindwxWindows.cmake
@@ -9,79 +9,112 @@ Replaced by :module:`FindwxWidgets`. -Find wxWindows (wxWidgets) installation +Finds the wxWidgets (formerly known as wxWindows) installation and determines +the locations of its include directories and libraries, as well as the name of +the library. -This module finds if wxWindows/wxWidgets is installed and determines -where the include files and libraries are. It also determines what -the name of the library is. This code sets the following variables: +wxWidgets 2.6.x is supported for monolithic builds, such as those compiled in +the ``wx/build/msw`` directory using: -:: - - WXWINDOWS_FOUND = system has WxWindows - WXWINDOWS_LIBRARIES = path to the wxWindows libraries - on Unix/Linux with additional - linker flags from - "wx-config --libs" - CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows, - essentially "`wx-config --cxxflags`" - on Linux - WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" and "wx/setup.h" - WXWINDOWS_LINK_DIRECTORIES = link directories, useful for rpath on - Unix - WXWINDOWS_DEFINITIONS = extra defines - - - -OPTIONS If you need OpenGL support please - -.. code-block:: cmake - - set(WXWINDOWS_USE_GL 1) - -in your CMakeLists.txt *before* you include this file. - -:: - - HAVE_ISYSTEM - true required to replace -I by -isystem on g++ - - - -For convenience include Use_wxWindows.cmake in your project's -CMakeLists.txt using -include(${CMAKE_CURRENT_LIST_DIR}/Use_wxWindows.cmake). - -USAGE - -.. code-block:: cmake - - set(WXWINDOWS_USE_GL 1) - find_package(wxWindows) - - - -NOTES wxWidgets 2.6.x is supported for monolithic builds e.g. -compiled in wx/build/msw dir as: - -:: +.. code-block:: shell nmake -f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 MONOLITHIC=1 +Result Variables +^^^^^^^^^^^^^^^^ +This module defines the following variables: -DEPRECATED +``WXWINDOWS_FOUND`` + Boolean indicating whether the wxWidgets is found. +``WXWINDOWS_LIBRARIES`` + Libraries needed to link against to use wxWidgets. This includes paths to + the wxWidgets libraries and any additional linker flags, typically derived + from the output of ``wx-config --libs`` on Unix/Linux systems. +``CMAKE_WXWINDOWS_CXX_FLAGS`` + Compiler options needed to use wxWidgets (if any). On Linux, this corresponds + to the output of ``wx-config --cxxflags``. +``WXWINDOWS_INCLUDE_DIR`` + The directory containing the ``wx/wx.h`` and ``wx/setup.h`` header files. +``WXWINDOWS_LINK_DIRECTORIES`` + Link directories, useful for setting ``rpath`` on Unix-like platforms. +``WXWINDOWS_DEFINITIONS`` + Extra compile definitions needed to use wxWidgets (if any). -:: +Hints +^^^^^ - CMAKE_WX_CAN_COMPILE - WXWINDOWS_LIBRARY - CMAKE_WX_CXX_FLAGS - WXWINDOWS_INCLUDE_PATH +This module accepts the following variables before calling the +``find_package(wxWindows)``: +``WXWINDOWS_USE_GL`` + Set this variable to boolean true to require OpenGL support. +``HAVE_ISYSTEM`` + Set this variable to boolean true to replace ``-I`` compiler options with + ``-isystem`` when the C++ compiler is GNU (``g++``). -AUTHOR Jan Woetzel (07/2003-01/2006) +Deprecated Variables +^^^^^^^^^^^^^^^^^^^^ + +These variables are provided for backward compatibility: + +``CMAKE_WX_CAN_COMPILE`` + .. deprecated:: 1.8 + Replaced by the ``WXWINDOWS_FOUND`` variable with the same value. + +``WXWINDOWS_LIBRARY`` + .. deprecated:: 1.8 + Replaced by the ``WXWINDOWS_LIBRARIES`` variable with the same value. + +``CMAKE_WX_CXX_FLAGS`` + .. deprecated:: 1.8 + Replaced by the ``CMAKE_WXWINDOWS_CXX_FLAGS`` variable with the same value. + +``WXWINDOWS_INCLUDE_PATH`` + .. deprecated:: 1.8 + Replaced by the ``WXWINDOWS_INCLUDE_DIR`` variable with the same value. + +Examples +^^^^^^^^ + +Example: Finding wxWidgets in earlier CMake versions +"""""""""""""""""""""""""""""""""""""""""""""""""""" + +In earlier versions of CMake, wxWidgets (wxWindows) could be found using: + +.. code-block:: cmake + + find_package(wxWindows) + +To request OpenGL support, the ``WXWINDOWS_USE_GL`` variable could be set before +calling ``find_package()``: + +.. code-block:: cmake + + set(WXWINDOWS_USE_GL ON) + find_package(wxWindows) + +Using wxWidgets (wxWindows) in CMake was commonly done by including the +:module:`Use_wxWindows` module, which would find wxWidgets and set the +appropriate libraries, include directories, and compiler flags: + +.. code-block:: cmake + + include(Use_wxWindows) + +Example: Finding wxWidgets as of CMake 3.0 +"""""""""""""""""""""""""""""""""""""""""" + +Starting with CMake 3.0, wxWidgets can be found using the +:module:`FindwxWidgets` module: + +.. code-block:: cmake + + find_package(wxWidgets) #]=======================================================================] +# AUTHOR Jan Woetzel (07/2003-01/2006) # ------------------------------------------------------------------ # # -removed OPTION for CMAKE_WXWINDOWS_USE_GL. Force the developer to SET it before calling this.
diff --git a/Modules/KDE3Macros.cmake b/Modules/KDE3Macros.cmake index 3214bd7..1bca52f 100644 --- a/Modules/KDE3Macros.cmake +++ b/Modules/KDE3Macros.cmake
@@ -1,31 +1,12 @@ # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file LICENSE.rst or https://cmake.org/licensing for details. -# - -# See FindKDE3.cmake for documentation. -# -# this file contains the following macros: -# KDE3_ADD_DCOP_SKELS -# KDE3_ADD_DCOP_STUBS -# KDE3_ADD_MOC_FILES -# KDE3_ADD_UI_FILES -# KDE3_ADD_KCFG_FILES -# KDE3_AUTOMOC -# KDE3_INSTALL_LIBTOOL_FILE -# KDE3_CREATE_FINAL_FILE -# KDE3_ADD_KPART -# KDE3_ADD_KDEINIT_EXECUTABLE -# KDE3_ADD_EXECUTABLE - - -#neundorf@kde.org +# This file contains KDE 3 macros. See FindKDE3.cmake for documentation. +# Author: neundorf@kde.org # Included for backward compatibility, otherwise unused. include(AddFileDependencies) -#create the kidl and skeletion file for dcop stuff -#usage: KDE_ADD_COP_SKELS(foo_SRCS ${dcop_headers}) macro(KDE3_ADD_DCOP_SKELS _sources) foreach (_current_FILE ${ARGN}) @@ -131,8 +112,6 @@ endmacro() -#create the moc files and add them to the list of sources -#usage: KDE_ADD_MOC_FILES(foo_SRCS ${moc_headers}) macro(KDE3_ADD_MOC_FILES _sources) foreach (_current_FILE ${ARGN}) @@ -155,8 +134,6 @@ get_filename_component( KDE3_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) -#create the implementation files from the ui files and add them to the list of sources -#usage: KDE_ADD_UI_FILES(foo_SRCS ${ui_files}) macro(KDE3_ADD_UI_FILES _sources ) foreach (_current_FILE ${ARGN}) @@ -245,7 +222,7 @@ endforeach () endmacro() -# only used internally by KDE3_INSTALL_ICONS +# Only used internally by kde3_install_icons(). macro (_KDE3_ADD_ICON_INSTALL_RULE _install_SCRIPT _install_PATH _group _orig_NAME _install_NAME) # if the string doesn't match the pattern, the result is the full string, so all three have the same content @@ -358,7 +335,7 @@ endif () # if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) +# kde3_create_final_file(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) # add_library(${_target_NAME} MODULE ${_target_NAME}_final.cpp) # else () add_library(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) @@ -368,15 +345,14 @@ set_target_properties(${_target_NAME} PROPERTIES PREFIX "") endif() - KDE3_INSTALL_LIBTOOL_FILE(${_target_NAME}) - + kde3_install_libtool_file(${_target_NAME}) endmacro() macro(KDE3_ADD_KDEINIT_EXECUTABLE _target_NAME ) # if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) +# kde3_create_final_file(${_target_NAME}_final.cpp ${ARGN}) # add_library(kdeinit_${_target_NAME} SHARED ${_target_NAME}_final.cpp) # else () add_library(kdeinit_${_target_NAME} SHARED ${ARGN} ) @@ -393,7 +369,7 @@ macro(KDE3_ADD_EXECUTABLE _target_NAME ) # if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) +# kde3_create_final_file(${_target_NAME}_final.cpp ${ARGN}) # add_executable(${_target_NAME} ${_target_NAME}_final.cpp) # else () add_executable(${_target_NAME} ${ARGN} )
diff --git a/Modules/Platform/Darwin-Initialize.cmake b/Modules/Platform/Darwin-Initialize.cmake index 1a47d9a..245170c 100644 --- a/Modules/Platform/Darwin-Initialize.cmake +++ b/Modules/Platform/Darwin-Initialize.cmake
@@ -292,4 +292,11 @@ RESULT_VARIABLE _result ) unset(_sdk_macosx) + + list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES_EXCLUDE + # Without -isysroot, some compiler drivers implicitly pass -L/usr/local/lib + # to the linker. Since the macOS dynamic loader does not search it by + # default, it is not a fully-implemented implicit link directory. + /usr/local/lib + ) endif()
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index b268449..adab54d 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake
@@ -1,7 +1,7 @@ # CMake version number components. set(CMake_VERSION_MAJOR 4) set(CMake_VERSION_MINOR 0) -set(CMake_VERSION_PATCH 20250414) +set(CMake_VERSION_PATCH 20250417) #set(CMake_VERSION_RC 0) set(CMake_VERSION_IS_DIRTY 0)
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 9fff4dc..c020bdb 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx
@@ -3891,6 +3891,12 @@ #endif } +std::string cmGlobalGenerator::GetEncodedLiteral(std::string const& lit) +{ + std::string result = lit; + return this->EncodeLiteral(result); +} + void cmGlobalGenerator::AddInstallScript(std::string const& file) { this->InstallScripts.push_back(file);
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index b7ea6a9..13526cc 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h
@@ -666,6 +666,7 @@ }; StripCommandStyle GetStripCommandStyle(std::string const& strip); + std::string GetEncodedLiteral(std::string const& lit); virtual std::string& EncodeLiteral(std::string& lit) { return lit; } bool CheckCMP0171() const;
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 8f9a471..58aebf1 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -184,12 +184,6 @@ return encoded; } -std::string cmGlobalNinjaGenerator::GetEncodedLiteral(std::string const& lit) -{ - std::string result = lit; - return this->EncodeLiteral(result); -} - std::string& cmGlobalNinjaGenerator::EncodeLiteral(std::string& lit) { cmSystemTools::ReplaceString(lit, "$", "$$");
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 353d68b..7e02541 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h
@@ -77,7 +77,6 @@ static std::string EncodeRuleName(std::string const& name); std::string& EncodeLiteral(std::string& lit) override; - std::string GetEncodedLiteral(std::string const& lit); std::string EncodePath(std::string const& path); std::unique_ptr<cmLinkLineComputer> CreateLinkLineComputer(
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index ab27a92..c8c314c 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx
@@ -107,6 +107,12 @@ return true; } + if (func.Arguments().empty()) { + mf.GetCMakeInstance()->IssueMessage( + MessageType::AUTHOR_WARNING, + "ELSEIF called with no arguments, it will be skipped. ", elseifBT); + } + if (this->HasRun) { this->IsBlocking = true; } else {
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 3693671..087c2c5 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx
@@ -2639,7 +2639,8 @@ } CM_FALLTHROUGH; case cmPolicies::OLD: - this->AppendFlags(flags, newFlags); + this->AppendFlags( + flags, this->GetGlobalGenerator()->GetEncodedLiteral(newFlags)); break; case cmPolicies::NEW: if (compileOrLink == cmBuildStep::Link) {
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 885c883..a6d1298 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx
@@ -3007,10 +3007,11 @@ { std::string cwd = cmsys::SystemTools::GetCurrentWorkingDirectory(); std::string pwd; - if (cmSystemTools::GetEnv("PWD", pwd)) { + if (cmSystemTools::GetEnv("PWD", pwd) && + cmSystemTools::FileIsFullPath(pwd)) { std::string const pwd_real = cmSystemTools::GetRealPath(pwd); if (pwd_real == cwd) { - cwd = std::move(pwd); + cwd = cmSystemTools::ToNormalizedPathOnDisk(std::move(pwd)); } } return cwd;
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index d39a279..be312cc 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx
@@ -513,6 +513,8 @@ case CommandLineArguments::EQUAL_ARGUMENT: clen += 4; break; + default: + break; } if (clen > maxlen) { maxlen = clen; @@ -544,6 +546,8 @@ case CommandLineArguments::MULTI_ARGUMENT: argument += " opt opt ..."; break; + default: + break; } str << " " << argument.substr(0, maxstrlen) << " "; }
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index ce6bb7b..a918b8d 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c
@@ -1179,6 +1179,8 @@ case KWSYSPE_PIPE_STDERR: wd->PipeId = kwsysProcess_Pipe_STDERR; break; + default: + break; } return 1; } @@ -2851,6 +2853,8 @@ /* Signal all process objects that a child has terminated. */ switch (signum) { + default: + break; case SIGCHLD: for (i = 0; i < kwsysProcesses.Count; ++i) { /* Set the pipe in a signalled state. */
diff --git a/Source/kwsys/Status.cxx b/Source/kwsys/Status.cxx index 17cb0eb..1c343bc 100644 --- a/Source/kwsys/Status.cxx +++ b/Source/kwsys/Status.cxx
@@ -55,6 +55,8 @@ LocalFree(message); } break; #endif + default: + break; } return err; }
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index aca0324..f277e56 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx
@@ -1804,6 +1804,8 @@ return this->Features.L2CacheSize; case SystemInformation::CPU_FEATURE_L3CACHE: return this->Features.L3CacheSize; + default: + break; } return -1; } @@ -4814,6 +4816,8 @@ std::cerr << "Unexpected ending state after running " << args[0] << std::endl; } break; + default: + break; } kwsysProcess_Delete(gp); if (result) {
diff --git a/Source/kwsys/Terminal.c b/Source/kwsys/Terminal.c index 2e62779..50be83c 100644 --- a/Source/kwsys/Terminal.c +++ b/Source/kwsys/Terminal.c
@@ -297,6 +297,8 @@ case kwsysTerminal_Color_ForegroundWhite: fprintf(stream, KWSYS_TERMINAL_VT100_FOREGROUND_WHITE); break; + default: + break; } switch (color & kwsysTerminal_Color_BackgroundMask) { case kwsysTerminal_Color_BackgroundBlack: @@ -323,6 +325,8 @@ case kwsysTerminal_Color_BackgroundWhite: fprintf(stream, KWSYS_TERMINAL_VT100_BACKGROUND_WHITE); break; + default: + break; } if (color & kwsysTerminal_Color_ForegroundBold) { fprintf(stream, KWSYS_TERMINAL_VT100_BOLD);
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index 137bd4b..3c61ada 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c
@@ -478,6 +478,8 @@ printf("Error in administrating child process: [%s]\n", kwsysProcess_GetErrorString(kp)); break; + default: + break; } if (result) { @@ -629,6 +631,8 @@ return test9_grandchild(argc, argv); case 110: return test10_grandchild(argc, argv); + default: + break; } fprintf(stderr, "Invalid test number %d.\n", n); return 1;
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index c7bcdcb..54d713b 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt
@@ -970,6 +970,8 @@ -DCMAKE_IMPORT_LIBRARY_SUFFIX=${CMAKE_IMPORT_LIBRARY_SUFFIX} -DCMAKE_LINK_LIBRARY_FLAG=${CMAKE_LINK_LIBRARY_FLAG}) add_RunCMake_test(target_link_libraries-LINKER-prefix -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME} + -DCMAKE_EXECUTABLE_FORMAT=${CMAKE_EXECUTABLE_FORMAT} + -DCMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN=${CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN} -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID} -DCMAKE_C_COMPILER_FRONTEND_VARIANT=${CMAKE_C_COMPILER_FRONTEND_VARIANT}) add_RunCMake_test(add_link_options -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID})
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 5c5d556..4f99358 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -896,10 +896,31 @@ run_cmake_command(E_sleep-one-tenth ${CMAKE_COMMAND} -E sleep 0.1) run_cmake_command(P_directory ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}) -run_cmake_command(P_working-dir ${CMAKE_COMMAND} -DEXPECTED_WORKING_DIR=${RunCMake_BINARY_DIR}/P_working-dir-build -P ${RunCMake_SOURCE_DIR}/P_working-dir.cmake) -# Documented to return the same result as above even if -S and -B are set to something else. -# Tests the values of CMAKE_BINARY_DIR CMAKE_CURRENT_BINARY_DIR CMAKE_SOURCE_DIR CMAKE_CURRENT_SOURCE_DIR. -run_cmake_command(P_working-dir ${CMAKE_COMMAND} -DEXPECTED_WORKING_DIR=${RunCMake_BINARY_DIR}/P_working-dir-build -P ${RunCMake_SOURCE_DIR}/P_working-dir.cmake -S something_else -B something_else_1) + +block() + set(expect ${RunCMake_BINARY_DIR}/P_working-dir-build) + run_cmake_script(P_working-dir -DEXPECTED_WORKING_DIR=${expect}) + + # -S and -B have no effect on script mode variables. + set(RunCMake_TEST_VARIANT_DESCRIPTION "-S-B") + run_cmake_script(P_working-dir -DEXPECTED_WORKING_DIR=${expect} -S something_else -B something_else_1) + + # Relative PWD is ignored. + set(RunCMake_TEST_VARIANT_DESCRIPTION "-PWD-.") + set(RunCMake_TEST_COMMAND_PWD .) + run_cmake_script(P_working-dir -DEXPECTED_WORKING_DIR=${expect}) + + # Lower-case PWD is ignored on case-sensitive filesystems + # and case-normalized on case-insensitive filesystems. + set(RunCMake_TEST_VARIANT_DESCRIPTION "-PWD-case") + string(TOLOWER "${expect}" RunCMake_TEST_COMMAND_PWD) + run_cmake_script(P_working-dir -DEXPECTED_WORKING_DIR=${expect}) + + # Backslashed PWD is normalized on Windows and ignored elsewhere. + set(RunCMake_TEST_VARIANT_DESCRIPTION "-PWD-backslash") + string(REPLACE "/" "\\" RunCMake_TEST_COMMAND_PWD "${expect}") + run_cmake_script(P_working-dir -DEXPECTED_WORKING_DIR=${expect}) +endblock() # Place an initial cache where C_basic will find it when passed the relative path "..". file(COPY ${RunCMake_SOURCE_DIR}/C_basic_initial-cache.txt DESTINATION ${RunCMake_BINARY_DIR})
diff --git a/Tests/RunCMake/Diab/RunCMakeTest.cmake b/Tests/RunCMake/Diab/RunCMakeTest.cmake index 287a308..7c08ca9 100644 --- a/Tests/RunCMake/Diab/RunCMakeTest.cmake +++ b/Tests/RunCMake/Diab/RunCMakeTest.cmake
@@ -36,7 +36,6 @@ # Create an executable from mixed, c, cxx and assembly. run_toolchain(diab-asm - -DCMAKE_C_COMPILER=${c_comp} - -DCMAKE_CXX_COMPILER=${cxx_comp} + -DCMAKE_ASM_COMPILER=${c_comp} ) endforeach()
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index dd1b6e1..edead75 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake
@@ -164,8 +164,12 @@ else() set(old_pwd) endif() - # Emulate a shell using this directory. - set(ENV{PWD} "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}") + if(RunCMake_TEST_COMMAND_PWD) + set(ENV{PWD} "${RunCMake_TEST_COMMAND_PWD}") + else() + # Emulate a shell using this directory. + set(ENV{PWD} "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}") + endif() cmake_language(EVAL CODE "${_code}") if(DEFINED old_pwd) set(ENV{PWD} "${old_pwd}")
diff --git a/Tests/RunCMake/if/RunCMakeTest.cmake b/Tests/RunCMake/if/RunCMakeTest.cmake index e3b9b2d..366e8a3 100644 --- a/Tests/RunCMake/if/RunCMakeTest.cmake +++ b/Tests/RunCMake/if/RunCMakeTest.cmake
@@ -16,6 +16,7 @@ run_cmake(duplicate-else) run_cmake(duplicate-else-after-elseif) run_cmake(elseif-message) +run_cmake(empty-elseif-warning) run_cmake(misplaced-elseif) run_cmake(unbalanced-parenthesis)
diff --git a/Tests/RunCMake/if/empty-elseif-warning-stderr.txt b/Tests/RunCMake/if/empty-elseif-warning-stderr.txt new file mode 100644 index 0000000..40af419 --- /dev/null +++ b/Tests/RunCMake/if/empty-elseif-warning-stderr.txt
@@ -0,0 +1,5 @@ +CMake Warning \(dev\) at empty-elseif-warning.cmake:3 \(elseif\): + ELSEIF called with no arguments, it will be skipped. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/if/empty-elseif-warning.cmake b/Tests/RunCMake/if/empty-elseif-warning.cmake new file mode 100644 index 0000000..855aa83 --- /dev/null +++ b/Tests/RunCMake/if/empty-elseif-warning.cmake
@@ -0,0 +1,4 @@ +if(0) +elseif(${emptyVar}) # okay +elseif() # warns +endif()
diff --git a/Tests/RunCMake/target_link_libraries-LINKER-prefix/CheckRPath.cmake b/Tests/RunCMake/target_link_libraries-LINKER-prefix/CheckRPath.cmake new file mode 100644 index 0000000..9ee403f --- /dev/null +++ b/Tests/RunCMake/target_link_libraries-LINKER-prefix/CheckRPath.cmake
@@ -0,0 +1,4 @@ +file(RPATH_CHECK FILE "${file}" RPATH "${rpath}") +if(NOT EXISTS "${file}") + message(FATAL_ERROR "RPATH for ${file} did not contain the expected value") +endif()
diff --git a/Tests/RunCMake/target_link_libraries-LINKER-prefix/RunCMakeTest.cmake b/Tests/RunCMake/target_link_libraries-LINKER-prefix/RunCMakeTest.cmake index 5cfd519..0f96fc0 100644 --- a/Tests/RunCMake/target_link_libraries-LINKER-prefix/RunCMakeTest.cmake +++ b/Tests/RunCMake/target_link_libraries-LINKER-prefix/RunCMakeTest.cmake
@@ -57,3 +57,17 @@ endif() endforeach() endif() + +if(RunCMake_GENERATOR MATCHES "Makefiles|Ninja" AND + CMAKE_EXECUTABLE_FORMAT STREQUAL "ELF" AND CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN) + foreach(policy IN ITEMS OLD NEW) + set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/encode_literal-CMP0181-${policy}-build) + run_cmake_with_options(encode_literal -DCMP0181=${policy}) + + set(RunCMake_TEST_NO_CLEAN 1) + run_cmake_command(encode_literal-CMP0181-${policy} "${CMAKE_COMMAND}" --build . --target encode_literal) + + unset(RunCMake_TEST_BINARY_DIR) + unset(RunCMake_TEST_NO_CLEAN) + endforeach() +endif()
diff --git a/Tests/RunCMake/target_link_libraries-LINKER-prefix/encode_literal.cmake b/Tests/RunCMake/target_link_libraries-LINKER-prefix/encode_literal.cmake new file mode 100644 index 0000000..f65b1ac --- /dev/null +++ b/Tests/RunCMake/target_link_libraries-LINKER-prefix/encode_literal.cmake
@@ -0,0 +1,15 @@ + +enable_language(C) + +cmake_policy(SET CMP0181 ${CMP0181}) + +set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath=\\\$ORIGIN") + +add_library(encode_literal SHARED LinkOptionsLib.c) + +add_custom_command(TARGET encode_literal + POST_BUILD + COMMAND "${CMAKE_COMMAND}" "-Dfile=$<TARGET_FILE:encode_literal>" + "-Drpath=\$ORIGIN" + -P "${CMAKE_CURRENT_SOURCE_DIR}/CheckRPath.cmake" + VERBATIM)
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in index 2c29042..948bb8e 100644 --- a/Utilities/Sphinx/conf.py.in +++ b/Utilities/Sphinx/conf.py.in
@@ -22,7 +22,11 @@ highlight_language = 'none' exclude_patterns = [ - 'dev', # ignore developer-only documentation + # Ignore developer-only documentation + 'dev', + # NOTE Ignore shared RST files used in `.. include::` directives + 'include/*.rst', + '**/include/*.rst' ] extensions = ['cmake']