Skip to content

Commit f23e00b

Browse files
committed
Document CMAKE_TOOLCHAIN_FILE
1 parent 27b81cb commit f23e00b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ <h2 id="-≡-contents"><a id="contents"></a> <a href="#contents">≡</a> <a href
7171
<li><a href="#cppsm-setup"><code>cppsm setup</code></a><ul>
7272
<li><a href="#cmake_build_type"><code>CMAKE_BUILD_TYPE=Debug|Release</code></a></li>
7373
<li><a href="#cmake_generator"><code>CMAKE_GENERATOR=&#39;&#39;|&#39;...&#39;</code></a></li>
74+
<li><a href="#cmake_toolchain_file"><code>CMAKE_TOOLCHAIN_FILE=&#39;&#39;|&#39;...&#39;</code></a></li>
7475
<li><a href="#cc"><code>CC=cc|gcc|clang|...</code></a></li>
7576
<li><a href="#cxx"><code>CXX=c++|g++|clang++|...</code></a></li>
7677
<li><a href="#clean"><code>CLEAN=0|1</code></a></li>
@@ -340,6 +341,9 @@ <h4 id="-≡-cppsm-setup"><a id="cppsm-setup"></a> <a href="#contents">≡</a> <
340341
<li><p><a id="cmake_generator"></a><a href="#cmake_generator"><code>CMAKE_GENERATOR=&#39;&#39;|&#39;...&#39;</code></a>
341342
<a target="_blank" href="https://cmake.org/cmake/help/latest/envvar/CMAKE_GENERATOR.html#envvar:CMAKE_GENERATOR">specifies which generator to use <i class="fas fa-xs fa-external-link-alt"></i></a>.</p>
342343
</li>
344+
<li><p><a id="cmake_toolchain_file"></a><a href="#cmake_toolchain_file"><code>CMAKE_TOOLCHAIN_FILE=&#39;&#39;|&#39;...&#39;</code></a>
345+
<a target="_blank" href="https://cmake.org/cmake/help/latest/variable/CMAKE_TOOLCHAIN_FILE.html">specifies toolchain file to use <i class="fas fa-xs fa-external-link-alt"></i></a>.</p>
346+
</li>
343347
<li><p><a id="cc"></a><a href="#cc"><code>CC=cc|gcc|clang|...</code></a>
344348
<a target="_blank" href="https://cmake.org/cmake/help/latest/envvar/CC.html">specifies which C compiler to use <i class="fas fa-xs fa-external-link-alt"></i></a>.</p>
345349
</li>

index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ See [repositories with the `#cppsm` topic](https://github.com/topics/cppsm).
5757
- [`cppsm setup`](#cppsm-setup)
5858
- [`CMAKE_BUILD_TYPE=Debug|Release`](#cmake_build_type)
5959
- [`CMAKE_GENERATOR=''|'...'`](#cmake_generator)
60+
- [`CMAKE_TOOLCHAIN_FILE=''|'...'`](#cmake_toolchain_file)
6061
- [`CC=cc|gcc|clang|...`](#cc)
6162
- [`CXX=c++|g++|clang++|...`](#cxx)
6263
- [`CLEAN=0|1`](#clean)
@@ -382,6 +383,9 @@ Configuration variables:
382383
- <a id="cmake_generator"></a>[`CMAKE_GENERATOR=''|'...'`](#cmake_generator)
383384
[specifies which generator to use](https://cmake.org/cmake/help/latest/envvar/CMAKE_GENERATOR.html#envvar:CMAKE_GENERATOR).
384385

386+
- <a id="cmake_toolchain_file"></a>[`CMAKE_TOOLCHAIN_FILE=''|'...'`](#cmake_toolchain_file)
387+
[specifies toolchain file to use](https://cmake.org/cmake/help/latest/variable/CMAKE_TOOLCHAIN_FILE.html).
388+
385389
- <a id="cc"></a>[`CC=cc|gcc|clang|...`](#cc)
386390
[specifies which C compiler to use](https://cmake.org/cmake/help/latest/envvar/CC.html).
387391

0 commit comments

Comments
 (0)