diff --git a/website/install.rst b/website/install.rst index 415be040..98deaf4b 100644 --- a/website/install.rst +++ b/website/install.rst @@ -69,11 +69,12 @@ To build via CMake, you need to first identify three directories: libraries and headers, referred to below as ``$installdir``. To build: + .. code-block:: - $ cd $builddir - $ cmake $srcdir --install-prefix $installdir - $ cmake --build $builddir --target install --config Release + % cd $builddir + % cmake $srcdir --install-prefix $installdir + % cmake --build $builddir --target install --config Release Note that the CMake configuration prefers to apply an out-of-tree build process, since there may be multiple build configurations @@ -102,7 +103,7 @@ can specify a local install directory to cmake via the .. code-block:: - $ cmake .. -DCMAKE_INSTALL_PREFIX=$Imath_install_directory + % cmake .. -DCMAKE_INSTALL_PREFIX=$Imath_install_directory Library Names ------------- @@ -179,7 +180,7 @@ variables, run: .. code-block:: - $ cmake -LAH $imath_source_directory + % cmake -LAH $imath_source_directory You can customize these options three ways: @@ -314,5 +315,5 @@ initial generation: .. code-block:: - $ cmake -G “Ninja” .. + % cmake -G “Ninja” ..