瀏覽代碼

Help: Insert link to `cmake --toolchain` option

Alex Turbov 3 年之前
父節點
當前提交
1b94770f27
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Help/manual/cmake-toolchains.7.rst

+ 2 - 1
Help/manual/cmake-toolchains.7.rst

@@ -96,7 +96,8 @@ Cross Compiling
 ===============
 
 If :manual:`cmake(1)` is invoked with the command line parameter
-``--toolchain path/to/file`` or ``-DCMAKE_TOOLCHAIN_FILE=path/to/file``, the
+:option:`--toolchain path/to/file <cmake --toolchain>` or
+:option:`-DCMAKE_TOOLCHAIN_FILE=path/to/file <cmake -D>`, the
 file will be loaded early to set values for the compilers.
 The :variable:`CMAKE_CROSSCOMPILING` variable is set to true when CMake is
 cross-compiling.