summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-toolchains.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-22 20:43:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-22 20:48:04 (GMT)
commit80b19a7127e48dfc0e8cd0162359ae149e537638 (patch)
treeb164da556a4cbb9d0315f01c6b9fe92de955acc5 /Help/manual/cmake-toolchains.7.rst
parent4fdacedc27aa26501530fc85f887ab58b2800472 (diff)
downloadCMake-80b19a7127e48dfc0e8cd0162359ae149e537638.zip
CMake-80b19a7127e48dfc0e8cd0162359ae149e537638.tar.gz
CMake-80b19a7127e48dfc0e8cd0162359ae149e537638.tar.bz2
Help/manual: Avoid long lines in code blocks
Update the wording of some examples to avoid long lines in code blocks. Otherwise the formatted documentation can exceed certain column width limitations.
Diffstat (limited to 'Help/manual/cmake-toolchains.7.rst')
-rw-r--r--Help/manual/cmake-toolchains.7.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index 1621b5f..fad5481 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -115,8 +115,9 @@ as:
set(CMAKE_SYSROOT /home/devel/rasp-pi-rootfs)
set(CMAKE_STAGING_PREFIX /home/devel/stage)
- set(CMAKE_C_COMPILER /home/devel/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gcc)
- set(CMAKE_CXX_COMPILER /home/devel/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++)
+ set(tools /home/devel/gcc-4.7-linaro-rpi-gnueabihf)
+ set(CMAKE_C_COMPILER ${tools}/bin/arm-linux-gnueabihf-gcc)
+ set(CMAKE_CXX_COMPILER ${tools}/bin/arm-linux-gnueabihf-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)