aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/cmake.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-15 01:15:28 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-15 01:23:49 +0300
commit83b291da79c54d9f04cbc2a5eb41abab21fef050 (patch)
tree429bd3c4089fd8867fc5ff3354277e52da3fe09c /docs/cmake.md
parentdocs: reflow (diff)
downloadcmake-common-83b291da79c54d9f04cbc2a5eb41abab21fef050.tar.gz
cmake-common-83b291da79c54d9f04cbc2a5eb41abab21fef050.zip
docs: grammar
Diffstat (limited to '')
-rw-r--r--docs/cmake.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/cmake.md b/docs/cmake.md
index cd8a149..d4685f8 100644
--- a/docs/cmake.md
+++ b/docs/cmake.md
@@ -61,7 +61,7 @@ to detect that.
Cross-compilation
-----------------
-If you want to e.g. build x86 binary on x64 and vice versa, the easiest way
+If you want to e.g. build x86 binaries on x64 and vice versa, the easiest way
seems to be to make a CMake "toolchain file", which initializes the proper
compiler flags (like -m64/-m32, etc.). Such file could look like this:
@@ -72,8 +72,7 @@ compiler flags (like -m64/-m32, etc.). Such file could look like this:
You can then pass the path to it using the CMAKE_TOOLCHAIN_FILE parameter.
-If you use the Visual Studio generators, just use the -A parameter, like `-A
-Win32`.
+If you use the Visual Studio generators, just use the -A parameter: `-A Win32`.
As a side note, if you want to cross-compile between x86 and x64 using GCC on
Ubuntu, you need to install the gcc-multilib package.