mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication
Portions of these documents contain duplicate content generated from preprocessor macros in the original builtin documentation source. Factor the common parts out into .txt files using reStructuredText include directives and substitutions to avoid duplication.
This commit is contained in:
parent
bfe07aa97e
commit
30b21860ad
@ -1,18 +1,7 @@
|
||||
ARCHIVE_OUTPUT_DIRECTORY
|
||||
------------------------
|
||||
|
||||
Output directory in which to build ARCHIVE target files.
|
||||
|
||||
This property specifies the directory into which archive target files
|
||||
should be built. Multi-configuration generators (VS, Xcode) append a
|
||||
per-configuration subdirectory to the specified directory. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms. This
|
||||
property is initialized by the value of the variable
|
||||
CMAKE_ARCHIVE_OUTPUT_DIRECTORY if it is set when a target is created.
|
||||
.. |XXX| replace:: ARCHIVE
|
||||
.. |xxx| replace:: archive
|
||||
.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_ARCHIVE_OUTPUT_DIRECTORY
|
||||
.. include:: XXX_OUTPUT_DIRECTORY.txt
|
||||
|
@ -1,15 +1,6 @@
|
||||
ARCHIVE_OUTPUT_NAME
|
||||
-------------------
|
||||
|
||||
Output name for ARCHIVE target files.
|
||||
|
||||
This property specifies the base name for archive target files. It
|
||||
overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms.
|
||||
.. |XXX| replace:: ARCHIVE
|
||||
.. |xxx| replace:: archive
|
||||
.. include:: XXX_OUTPUT_NAME.txt
|
||||
|
@ -1,18 +1,7 @@
|
||||
LIBRARY_OUTPUT_DIRECTORY
|
||||
------------------------
|
||||
|
||||
Output directory in which to build LIBRARY target files.
|
||||
|
||||
This property specifies the directory into which library target files
|
||||
should be built. Multi-configuration generators (VS, Xcode) append a
|
||||
per-configuration subdirectory to the specified directory. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms. This
|
||||
property is initialized by the value of the variable
|
||||
CMAKE_LIBRARY_OUTPUT_DIRECTORY if it is set when a target is created.
|
||||
.. |XXX| replace:: LIBRARY
|
||||
.. |xxx| replace:: library
|
||||
.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_LIBRARY_OUTPUT_DIRECTORY
|
||||
.. include:: XXX_OUTPUT_DIRECTORY.txt
|
||||
|
@ -1,15 +1,6 @@
|
||||
LIBRARY_OUTPUT_NAME
|
||||
-------------------
|
||||
|
||||
Output name for LIBRARY target files.
|
||||
|
||||
This property specifies the base name for library target files. It
|
||||
overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms.
|
||||
.. |XXX| replace:: LIBRARY
|
||||
.. |xxx| replace:: library
|
||||
.. include:: XXX_OUTPUT_NAME.txt
|
||||
|
@ -1,18 +1,7 @@
|
||||
RUNTIME_OUTPUT_DIRECTORY
|
||||
------------------------
|
||||
|
||||
Output directory in which to build RUNTIME target files.
|
||||
|
||||
This property specifies the directory into which runtime target files
|
||||
should be built. Multi-configuration generators (VS, Xcode) append a
|
||||
per-configuration subdirectory to the specified directory. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms. This
|
||||
property is initialized by the value of the variable
|
||||
CMAKE_RUNTIME_OUTPUT_DIRECTORY if it is set when a target is created.
|
||||
.. |XXX| replace:: RUNTIME
|
||||
.. |xxx| replace:: runtime
|
||||
.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_RUNTIME_OUTPUT_DIRECTORY
|
||||
.. include:: XXX_OUTPUT_DIRECTORY.txt
|
||||
|
@ -1,15 +1,6 @@
|
||||
RUNTIME_OUTPUT_NAME
|
||||
-------------------
|
||||
|
||||
Output name for RUNTIME target files.
|
||||
|
||||
This property specifies the base name for runtime target files. It
|
||||
overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. There are
|
||||
three kinds of target files that may be built: archive, library, and
|
||||
runtime. Executables are always treated as runtime targets. Static
|
||||
libraries are always treated as archive targets. Module libraries are
|
||||
always treated as library targets. For non-DLL platforms shared
|
||||
libraries are treated as library targets. For DLL platforms the DLL
|
||||
part of a shared library is treated as a runtime target and the
|
||||
corresponding import library is treated as an archive target. All
|
||||
Windows-based systems including Cygwin are DLL platforms.
|
||||
.. |XXX| replace:: RUNTIME
|
||||
.. |xxx| replace:: runtime
|
||||
.. include:: XXX_OUTPUT_NAME.txt
|
||||
|
9
Help/prop_tgt/TARGET_FILE_TYPES.txt
Normal file
9
Help/prop_tgt/TARGET_FILE_TYPES.txt
Normal file
@ -0,0 +1,9 @@
|
||||
There are three kinds of target files that may be built: archive,
|
||||
library, and runtime. Executables are always treated as runtime
|
||||
targets. Static libraries are always treated as archive targets.
|
||||
Module libraries are always treated as library targets. For
|
||||
non-DLL platforms shared libraries are treated as library
|
||||
targets. For DLL platforms the DLL part of a shared library is
|
||||
treated as a runtime target and the corresponding import library
|
||||
is treated as an archive target. All Windows-based systems
|
||||
including Cygwin are DLL platforms.
|
10
Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
Normal file
10
Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
Normal file
@ -0,0 +1,10 @@
|
||||
Output directory in which to build |XXX| target files.
|
||||
|
||||
This property specifies the directory into which |xxx| target files
|
||||
should be built. Multi-configuration generators (VS, Xcode) append a
|
||||
per-configuration subdirectory to the specified directory.
|
||||
|
||||
.. include:: TARGET_FILE_TYPES.txt
|
||||
|
||||
This property is initialized by the value of the variable
|
||||
|CMAKE_XXX_OUTPUT_DIRECTORY| if it is set when a target is created.
|
6
Help/prop_tgt/XXX_OUTPUT_NAME.txt
Normal file
6
Help/prop_tgt/XXX_OUTPUT_NAME.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Output name for |XXX| target files.
|
||||
|
||||
This property specifies the base name for |xxx| target files. It
|
||||
overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties.
|
||||
|
||||
.. include:: TARGET_FILE_TYPES.txt
|
Loading…
Reference in New Issue
Block a user