File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ Configure CMake
3131---------------
3232You 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
3535want 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 *.
3737Because the top-level CMakeLists.txt file is in the parent directory,
3838if there was nothing else to configure, command *cmake .. * would generate
3939the Makefile. The alternative way is to specify the build and source
4040directories 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
4747simple gui program *cmake-gui * that can replace *cmake * in the commands
You can’t perform that action at this time.
0 commit comments