Cmake

執行“cmake –help”以獲取更多資訊

  • January 22, 2019

我未能編譯以下軟體:

git clone https://github.com/bioinfologics/satsuma2.git
cd satsuma2
cmake
Usage

 cmake [options] <path-to-source>
 cmake [options] <path-to-existing-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

我錯過了什麼?

你錯過了<path-to-source>- 要麼

cmake .

或(通常推薦 - 它保持頂級目錄清潔)

mkdir build && cd build
cmake ..

引用自:https://unix.stackexchange.com/questions/491386