Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Feb 23, 2024
1 parent 17791b9 commit 8c35848
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/Cross-Compiling.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ <h2 id="using-a-cmake-toolchain-file"><a class="header" href="#using-a-cmake-too
The last 4 options just tell CMake to not mix the include/library paths of both host/target.</p>
<p>Another toolchain file targetting windows (using the mingw toolchain):</p>
<pre><code class="language-cmake">set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR AMD64)

set(triplet x86_64-w64-mingw32)
set(CMAKE_C_COMPILER /usr/bin/${triplet}-gcc)
Expand Down
1 change: 1 addition & 0 deletions docs/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ <h2 id="using-a-cmake-toolchain-file"><a class="header" href="#using-a-cmake-too
The last 4 options just tell CMake to not mix the include/library paths of both host/target.</p>
<p>Another toolchain file targetting windows (using the mingw toolchain):</p>
<pre><code class="language-cmake">set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR AMD64)

set(triplet x86_64-w64-mingw32)
set(CMAKE_C_COMPILER /usr/bin/${triplet}-gcc)
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/searchindex.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Cross-Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ The last 4 options just tell CMake to not mix the include/library paths of both
Another toolchain file targetting windows (using the mingw toolchain):
```cmake
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR AMD64)
set(triplet x86_64-w64-mingw32)
set(CMAKE_C_COMPILER /usr/bin/${triplet}-gcc)
Expand Down

0 comments on commit 8c35848

Please # to comment.