summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-08 09:38:27 (GMT)
committerBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-12 11:00:09 (GMT)
commit077ab5774c637eb2262587425199579c90967577 (patch)
treeafa7839103d8653e7e909c22e1699442d879eb73 /Help
parent071f5e15440d676c36c6ed8a92618b8ca4bb36fe (diff)
downloadCMake-077ab5774c637eb2262587425199579c90967577.zip
CMake-077ab5774c637eb2262587425199579c90967577.tar.gz
CMake-077ab5774c637eb2262587425199579c90967577.tar.bz2
cmake: add short version of '--target <tgt>...' option
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst2
-rw-r--r--Help/release/dev/cmake-short-target-option.rst6
2 files changed, 7 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 17593f0..d70ef6e 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -276,7 +276,7 @@ following options:
The :envvar:`CMAKE_BUILD_PARALLEL_LEVEL` environment variable, if set,
specifies a default parallel level when this option is not given.
-``--target <tgt>...``
+``--target <tgt>..., -t <tgt>...``
Build ``<tgt>`` instead of default targets. May be specified multiple times.
``--config <cfg>``
diff --git a/Help/release/dev/cmake-short-target-option.rst b/Help/release/dev/cmake-short-target-option.rst
new file mode 100644
index 0000000..5eac042
--- /dev/null
+++ b/Help/release/dev/cmake-short-target-option.rst
@@ -0,0 +1,6 @@
+cmake-short-target-option
+----------------------------
+
+* The :manual:`cmake(1)` ``--target`` parameter gained shorter
+ version ``-t``, e.g. ``cmake --build . -t Library1 Library2`` is
+ equivalant to ``cmake --build . --target Library1 Library2``.