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
31
31
---------------
32
32
You can skip this section if you are familar with CMake.
33
33
34
- Suppose the current working directory is */home /tinker-gpu * and we
34
+ Suppose the current working directory is *$HOME /tinker-gpu * and we
35
35
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 *.
37
37
Because the top-level CMakeLists.txt file is in the parent directory,
38
38
if there was nothing else to configure, command *cmake .. * would generate
39
39
the Makefile. The alternative way is to specify the build and source
40
40
directories to CMake, e.g.,
41
41
42
42
.. code-block :: bash
43
43
44
- cmake -B /home/tinker9/ build -S /home /tinker-gpu
44
+ cmake -B $HOME /tinker-gpu/ build -S $HOME /tinker-gpu
45
45
46
46
Some CMake installations also provide a command line gui *ccmake * and a
47
47
simple gui program *cmake-gui * that can replace *cmake * in the commands
You can’t perform that action at this time.
0 commit comments