mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
Merge topic 'doc-versionadded'
496ec6036fHelp: Add Sphinx 'versionadded' directives to each top-level document0c87afceabHelp/dev: Add maintainer guide step for 'versionadded' documentation markupdbd453c2ffUtilities/Sphinx: Add script for inserting ".. versionadded" directive Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !4947
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
add_compile_definitions
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
Add preprocessor definitions to the compilation of source files.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
add_link_options
|
||||
----------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Add options to the link step for executable, shared library or module
|
||||
library targets in the current directory and below that are added after
|
||||
this command is invoked.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
cmake_language
|
||||
--------------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
Call meta-operations on CMake commands.
|
||||
|
||||
Synopsis
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
cmake_parse_arguments
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
Parse function or macro arguments.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
continue
|
||||
--------
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Continue to the top of enclosing foreach or while loop.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
include_guard
|
||||
-------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Provides an include guard for the file currently being processed by CMake.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
target_compile_features
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Add expected compiler features to a target.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
target_link_directories
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Add link directories to a target.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
target_link_options
|
||||
-------------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Add options to the link step for an executable, shared library or module
|
||||
library target.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
target_precompile_headers
|
||||
-------------------------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
Add a list of header files to precompile.
|
||||
|
||||
Precompiling header files can speed up compilation by creating a partially
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
target_sources
|
||||
--------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Add sources to a target.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
Reference in New Issue
Block a user