Skip to content
EntityQ1023904· pop 22· linked from 90 articles

跨平台,與編譯器無關的建構系統產生器

Key facts

Software.name
CMake
Software.logo
CMake logo.svg
Software.logo size
96px
Software.screenshot
Cmake with Clang screenshot.png
Software.developer
Andy Cedilnik, Bill Hoffman, Brad King, Ken Martin, Alexander Neundorf
Software.programming language
C, C++
Software.operating system
Cross-platform
Software.genre
Software development tools
Software.license
BSD-3-Clause

via Wikipedia infobox

Wikidata facts

Instance of
utility software
Named after
cross-platform
Official website
cmake.org
Image
Cmake with Clang screenshot.png
Show 16 more facts
software version identifier
4.3.2
inception
2000-00-00
Commons category
CMake
software quality assurance
continuous integration
implementation of
C++
publication date
2000-00-00
has command line option
V
programmed in
C++
language of work or name
English language
official forum URL
discourse.cmake.org
copyright license
3-clause BSD License
GUI toolkit or framework
Qt
operating system
Microsoft Windows
source code repository URL
github.com/Kitware/CMake
Sources (15)

via Wikidata · CC0

Article · 中文

CMake是個一個开源的跨平台自動化建構系統,用來管理軟體建置的程序,並不依賴於某特定編譯器,並可支援多層目錄、多個應用程式與多個函式庫。它用組態檔控制建構過程(build process)的方式和Unix的make相似,只是CMake的組態檔取名為CMakeLists.txt。CMake並不直接建構出最終的軟體,而是產生標準的建構檔(如Unix的Makefile或Windows Visual C++的projects/workspaces),然後再依一般的建構方式使用。這使得熟悉某個整合開發環境(IDE)的開發者可以用標準的方式建構他的軟體,這種可以使用各平台的原生建構系統的能力是CMake和SCons等其他類似系統的區別之處。CMake設定檔(CMakeLists.txt)可設定原始碼或目標程式庫的路徑、產生適配器(wrapper)、還可以用任意的順序建構執行檔。CMake支援in-place建構(二進檔和原始碼在同一個目錄樹中)和out-of-place建構(二進檔在別的目錄裡),因此可以很容易從同一個原始碼目錄樹中建構出多個二進檔。CMake也支援靜態與動態程式庫的建構。 「CMake」這個名字是"Cross platform Make"的縮寫。雖然名字中含有"make",但是CMake和Unix上常見的「make」系統是分開的,而且更為高階。它可與原生建置環境結合使用,例如:make、ninja、蘋果的Xcode與微軟的Visual Studio。

Abstract from DBpedia / Wikipedia · CC BY-SA