Skip to content

Commit 6a5178d

Browse files
authored
Update buildwithcmake.rst
1 parent d9b98d7 commit 6a5178d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/manual/m/install/buildwithcmake.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ Configure CMake
3131
---------------
3232
You can skip this section if you are familar with CMake.
3333

34-
Suppose the current working directory is */home/tinker-gpu* and we
34+
Suppose the current working directory is *$HOME/tinker-gpu* and we
3535
want to create a build directory called *build* in
36-
*/home/tinker-gpu*. We can do *mkdir build* then *cd build*.
36+
*$HOME/tinker-gpu*. We can do *mkdir build* then *cd build*.
3737
Because the top-level CMakeLists.txt file is in the parent directory,
3838
if there was nothing else to configure, command *cmake ..* would generate
3939
the Makefile. The alternative way is to specify the build and source
4040
directories to CMake, e.g.,
4141

4242
.. code-block:: bash
4343
44-
cmake -B /home/tinker9/build -S /home/tinker-gpu
44+
cmake -B $HOME/tinker-gpu/build -S $HOME/tinker-gpu
4545
4646
Some CMake installations also provide a command line gui *ccmake* and a
4747
simple gui program *cmake-gui* that can replace *cmake* in the commands

0 commit comments

Comments
 (0)