CMake
CMake is an actively used application created in 2000. CMake is cross-platform free and open-source software for managing the build process of software using a compiler-independent method. It supports directory hierarchies and applications that depend on multiple libraries. It is used in conjunction with native build environments such as make, Apple's Xcode, and Microsoft Visual Studio. Read more on Wikipedia...
20Years Old | 25Users | ?Jobs |
- CMake ranks in the top 10% of languages
- the CMake website
- the CMake wikipedia page
- CMake first appeared in 2000
- file extensions for CMake include cmake and cmakein
- See also: c, visual-studio-editor, eclipse-editor, linux, ninja, unix, falcon, kicad, llvmir, mysql, mariadb, qt, amqp, root-lib, meson, qmake
- Have a question about CMake not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
# Hello World in CMake message(STATUS "Hello World!")
Example code from Linguist:
cmake_minimum_required(VERSION 2.6) enable_testing() set(CMAKE_BUILD_TYPE debug) include_directories("/usr/local/include") find_library(ssl_LIBRARY NAMES ssl PATHS "/usr/local/lib") add_custom_command(OUTPUT "ver.c" "ver.h" COMMAND ./ver.sh) add_executable(foo foo.c bar.c baz.c ver.c) target_link_libraries(foo ${ssl_LIBRARY})
Trending Repos
repo | stars | description |
---|---|---|
vcpkg | 6545 | C++ Library Manager for Windows, Linux, and MacOS |
cmake-demo | 533 | 《CMake入门实战》源码 |
Ultralight | 1145 | Ultralight— a lightweight, pure-GPU, HTML UI renderer for native apps. |
Last updated August 9th, 2020