簡介¶
CMake 是一個用於管理來源碼建置的工具。原本,CMake 被設計為各種 Makefile 方言的生成器,如今 CMake 也能生成像 Ninja 這樣的現代建置系統,以及像 Visual Studio 和 Xcode 等 IDE 的專案檔。
CMake 廣泛用於 C 和 C++ 語言,但它也可以用於建置其他語言的來源碼。
People encountering CMake for the first time may have different initial
goals. To learn how to build a source code package downloaded from the
internet, start with the User Interaction Guide
.
This will detail the steps needed to run the cmake(1)
or
cmake-gui(1)
executable and how to choose a generator, and
how to complete the build.
The Using Dependencies Guide
is aimed at developers
wishing to get started using a third-party library.
For developers starting a project using CMake, the CMake Tutorial
is a suitable starting point. The cmake-buildsystem(7)
manual is aimed at developers expanding their knowledge of maintaining
a buildsystem and becoming familiar with the build targets that
can be represented in CMake. The cmake-packages(7)
manual
explains how to create packages which can easily be consumed by
third-party CMake-based buildsystems.
命令行介面¶
互動式對話框¶
參考手冊¶
- cmake-建置系統(7)
- cmake-命令(7)
- cmake-編譯功能(7)
- cmake-組態日誌(7)
- cmake-cxx-模組(7)
- cmake-開發者(7)
- cmake-環境變數(7)
- cmake-檔案-api(7)
- cmake-生成器表達式(7)
- cmake-生成器(7)
- cmake-instrumentation(7)
- cmake-語言(7)
- cmake-模組(7)
- cmake-軟體包(7)
- cmake-方針(7)
- cmake-presets(7)
- cmake-屬性(7)
- cmake-qt(7)
- cmake-伺服器(7)
- cmake-工具鏈(7)
- cmake-變數(7)
- cpack-生成器(7)