mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-05 07:10:26 +00:00
Style: Replace some UTF-8 characters with ASCII equivalents
This commit is contained in:
@@ -290,13 +290,13 @@ List of CPack DEB generator specific variables:
|
|||||||
Possible values are:
|
Possible values are:
|
||||||
|
|
||||||
``lzma``
|
``lzma``
|
||||||
Lempel–Ziv–Markov chain algorithm
|
Lempel-Ziv-Markov chain algorithm
|
||||||
|
|
||||||
``xz``
|
``xz``
|
||||||
XZ Utils LZMA2 (Lempel–Ziv–Markov chain algorithm, version 2) compression
|
XZ Utils LZMA2 (Lempel-Ziv-Markov chain algorithm, version 2) compression
|
||||||
|
|
||||||
``bzip2``
|
``bzip2``
|
||||||
bzip2 Burrows–Wheeler algorithm
|
bzip2 Burrows-Wheeler algorithm
|
||||||
|
|
||||||
``gzip``
|
``gzip``
|
||||||
GNU Gzip Deflate compression
|
GNU Gzip Deflate compression
|
||||||
@@ -323,11 +323,11 @@ List of CPack DEB generator specific variables:
|
|||||||
|
|
||||||
The valid range and interpretation depend on the selected compression type:
|
The valid range and interpretation depend on the selected compression type:
|
||||||
|
|
||||||
- ``gzip`` – level 1–9
|
- ``gzip`` - level 1-9
|
||||||
- ``bzip2`` – level 1–9
|
- ``bzip2`` - level 1-9
|
||||||
- ``xz`` – level 1–9
|
- ``xz`` - level 1-9
|
||||||
- ``lzma`` – level 1–9
|
- ``lzma`` - level 1-9
|
||||||
- ``zstd`` – level 1–19
|
- ``zstd`` - level 1-19
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
|
||||||
|
|||||||
@@ -252,13 +252,13 @@ List of CPack RPM generator specific variables:
|
|||||||
Possible values are:
|
Possible values are:
|
||||||
|
|
||||||
``lzma``
|
``lzma``
|
||||||
Lempel–Ziv–Markov chain algorithm
|
Lempel-Ziv-Markov chain algorithm
|
||||||
|
|
||||||
``xz``
|
``xz``
|
||||||
XZ Utils LZMA2 (Lempel–Ziv–Markov chain algorithm, version 2) compression
|
XZ Utils LZMA2 (Lempel-Ziv-Markov chain algorithm, version 2) compression
|
||||||
|
|
||||||
``bzip2``
|
``bzip2``
|
||||||
bzip2 Burrows–Wheeler algorithm
|
bzip2 Burrows-Wheeler algorithm
|
||||||
|
|
||||||
``gzip``
|
``gzip``
|
||||||
GNU Gzip Deflate compression
|
GNU Gzip Deflate compression
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ This writes a FASTBuild configuration file named ``fbuild.bff`` into
|
|||||||
This generator also produces IDE project files for Visual Studio and Xcode,
|
This generator also produces IDE project files for Visual Studio and Xcode,
|
||||||
which are placed under:
|
which are placed under:
|
||||||
|
|
||||||
* ``<path-to-build>/VisualStudio`` – Visual Studio solution and projects
|
* ``<path-to-build>/VisualStudio`` - Visual Studio solution and projects
|
||||||
* ``<path-to-build>/XCode`` – Xcode workspace and projects
|
* ``<path-to-build>/XCode`` - Xcode workspace and projects
|
||||||
|
|
||||||
These IDE files can be generated by building ``xcode`` or ``solution`` targets
|
These IDE files can be generated by building ``xcode`` or ``solution`` targets
|
||||||
and will build using FASTBuild as the backend.
|
and will build using FASTBuild as the backend.
|
||||||
@@ -77,9 +77,9 @@ Target Properties
|
|||||||
The following target properties can be used to fine-tune behavior on a
|
The following target properties can be used to fine-tune behavior on a
|
||||||
per-target basis:
|
per-target basis:
|
||||||
|
|
||||||
* :prop_tgt:`FASTBUILD_CACHING` –
|
* :prop_tgt:`FASTBUILD_CACHING` -
|
||||||
disables caching for a specific target.
|
disables caching for a specific target.
|
||||||
* :prop_tgt:`FASTBUILD_DISTRIBUTION` –
|
* :prop_tgt:`FASTBUILD_DISTRIBUTION` -
|
||||||
disables distributed compilation for a specific target.
|
disables distributed compilation for a specific target.
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
|
|||||||
@@ -228,8 +228,8 @@ Compiler pre definitions for ``moc`` are written to the ``moc_predefs.h`` file.
|
|||||||
The generation of this file can be enabled or disabled in this target property.
|
The generation of this file can be enabled or disabled in this target property.
|
||||||
|
|
||||||
:prop_tgt:`AUTOMOC_INCLUDE_DIRECTORIES`:
|
:prop_tgt:`AUTOMOC_INCLUDE_DIRECTORIES`:
|
||||||
Specifies one or more include directories for ``AUTOMOC`` to pass explicitly to ``moc``
|
Specifies one or more include directories for ``AUTOMOC`` to pass explicitly
|
||||||
instead of automatically discovering a target’s include directories.
|
to ``moc`` instead of automatically discovering a target's include directories.
|
||||||
|
|
||||||
:prop_sf:`SKIP_AUTOMOC`:
|
:prop_sf:`SKIP_AUTOMOC`:
|
||||||
Sources and headers can be excluded from ``AUTOMOC`` processing by
|
Sources and headers can be excluded from ``AUTOMOC`` processing by
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ AUTOMOC_INCLUDE_DIRECTORIES
|
|||||||
.. versionadded:: 4.1
|
.. versionadded:: 4.1
|
||||||
|
|
||||||
Specifies zero or more include directories for AUTOMOC to pass explicitly to
|
Specifies zero or more include directories for AUTOMOC to pass explicitly to
|
||||||
the Qt Meta‑Object Compiler (``moc``) instead of automatically discovering a
|
the Qt Meta-Object Compiler (``moc``) instead of automatically discovering a
|
||||||
target's include directories.
|
target's include directories.
|
||||||
|
|
||||||
When this property is set on a target, only the directories listed here will be
|
When this property is set on a target, only the directories listed here will be
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ is set, it takes precedence over this target-wide property.
|
|||||||
This is a convenience alternative to setting the :prop_sf:`SKIP_LINTING`
|
This is a convenience alternative to setting the :prop_sf:`SKIP_LINTING`
|
||||||
source file property individually on each source. If either the target's
|
source file property individually on each source. If either the target's
|
||||||
:prop_tgt:`SKIP_LINTING` or file set's :prop_fs:`SKIP_LINTING` including this
|
:prop_tgt:`SKIP_LINTING` or file set's :prop_fs:`SKIP_LINTING` including this
|
||||||
source or a source’s :prop_sf:`SKIP_LINTING` is enabled, that source will be
|
source or a source's :prop_sf:`SKIP_LINTING` is enabled, that source will be
|
||||||
excluded from linting.
|
excluded from linting.
|
||||||
|
|
||||||
The property has no effect on targets that do not have sources.
|
The property has no effect on targets that do not have sources.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ CMAKE_AUTOMOC_INCLUDE_DIRECTORIES
|
|||||||
.. versionadded:: 4.1
|
.. versionadded:: 4.1
|
||||||
|
|
||||||
Specifies zero or more include directories for AUTOMOC to pass explicitly to
|
Specifies zero or more include directories for AUTOMOC to pass explicitly to
|
||||||
the Qt Meta‑Object Compiler (``moc``) instead of automatically discovering
|
the Qt Meta-Object Compiler (``moc``) instead of automatically discovering
|
||||||
each target's include directories.
|
each target's include directories.
|
||||||
|
|
||||||
The directories listed here will replace any include paths discovered from
|
The directories listed here will replace any include paths discovered from
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ inputs have changed or the byproduct file is missing.
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
When this variable is ``OFF`` (the default), ``BYPRODUCTS`` are treated
|
When this variable is ``OFF`` (the default), ``BYPRODUCTS`` are treated
|
||||||
similarly to how Ninja handles them — as opaque side effects — and the
|
similarly to how Ninja handles them - as opaque side effects - and the
|
||||||
generator emits ``ExecAlways`` nodes to ensure they always run.
|
generator emits ``ExecAlways`` nodes to ensure they always run.
|
||||||
|
|
||||||
Defaults to ``OFF``.
|
Defaults to ``OFF``.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ CMAKE_FASTBUILD_USE_LIGHTCACHE
|
|||||||
|
|
||||||
.. versionadded:: 4.2
|
.. versionadded:: 4.2
|
||||||
|
|
||||||
Enables FASTBuild’s *light caching* mode, which accelerates cache lookups by
|
Enables FASTBuild's *light caching* mode, which accelerates cache lookups by
|
||||||
parsing source files directly (instead of invoking the compiler preprocessor).
|
parsing source files directly (instead of invoking the compiler preprocessor).
|
||||||
|
|
||||||
See the `FASTBuild Compiler() documentation <https://www.fastbuild.org/docs/functions/compiler.html>`_
|
See the `FASTBuild Compiler() documentation <https://www.fastbuild.org/docs/functions/compiler.html>`_
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class cmLocalGenerator;
|
|||||||
*
|
*
|
||||||
* Stored on cmMakefile at configure time. At generate time,
|
* Stored on cmMakefile at configure time. At generate time,
|
||||||
* ComputeBuildFileGenerators() calls Compute(lg) to resolve export set
|
* ComputeBuildFileGenerators() calls Compute(lg) to resolve export set
|
||||||
* targets and supply the local generator — mirroring
|
* targets and supply the local generator - mirroring
|
||||||
* cmExportBuildFileGenerator.
|
* cmExportBuildFileGenerator.
|
||||||
*/
|
*/
|
||||||
class cmBuildSbomGenerator
|
class cmBuildSbomGenerator
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ std::string cmFindProgramCommand::GetBundleExecutable(
|
|||||||
kCFAllocatorDefault, bundlePath.c_str(), kCFStringEncodingUTF8);
|
kCFAllocatorDefault, bundlePath.c_str(), kCFStringEncodingUTF8);
|
||||||
|
|
||||||
// Make a CFURLRef from the CFString representation of the
|
// Make a CFURLRef from the CFString representation of the
|
||||||
// bundle’s path.
|
// bundle's path.
|
||||||
CFURLRef bundleURL = CFURLCreateWithFileSystemPath(
|
CFURLRef bundleURL = CFURLCreateWithFileSystemPath(
|
||||||
kCFAllocatorDefault, bundlePathCFS, kCFURLPOSIXPathStyle, true);
|
kCFAllocatorDefault, bundlePathCFS, kCFURLPOSIXPathStyle, true);
|
||||||
|
|
||||||
|
|||||||
@@ -818,7 +818,7 @@ public:
|
|||||||
void Initialize(TransformSelector* /*selector*/,
|
void Initialize(TransformSelector* /*selector*/,
|
||||||
std::vector<std::string> const& /*args*/) override
|
std::vector<std::string> const& /*args*/) override
|
||||||
{
|
{
|
||||||
// This overload must not be used for APPLY — it lacks cmMakefile context.
|
// This overload must not be used for APPLY - it lacks cmMakefile context.
|
||||||
throw transform_error(
|
throw transform_error(
|
||||||
"sub-command TRANSFORM, action APPLY requires cmMakefile context.");
|
"sub-command TRANSFORM, action APPLY requires cmMakefile context.");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ protected:
|
|||||||
* install leaves consult cmGlobalGenerator::FindInstallSbomInfo. */
|
* install leaves consult cmGlobalGenerator::FindInstallSbomInfo. */
|
||||||
virtual SbomInfo FindSbomInfoFor(cmGeneratorTarget const* target) const = 0;
|
virtual SbomInfo FindSbomInfoFor(cmGeneratorTarget const* target) const = 0;
|
||||||
|
|
||||||
/** The set of targets the SBOM directly describes — derived from the
|
/** The set of targets the SBOM directly describes - derived from the
|
||||||
* associated export sets. */
|
* associated export sets. */
|
||||||
std::set<cmGeneratorTarget const*> CollectTargets() const;
|
std::set<cmGeneratorTarget const*> CollectTargets() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user