{"id":15025977,"url":"https://github.com/kitware/cmake","last_synced_at":"2026-04-20T21:02:20.207Z","repository":{"id":823662,"uuid":"537699","full_name":"Kitware/CMake","owner":"Kitware","description":"Mirror of CMake upstream repository","archived":false,"fork":false,"pushed_at":"2025-05-05T15:33:05.000Z","size":173908,"stargazers_count":7176,"open_issues_count":2,"forks_count":2587,"subscribers_count":185,"default_branch":"master","last_synced_at":"2025-05-05T18:26:36.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitlab.kitware.com/cmake/cmake","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kim/minion","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitware.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2010-02-26T18:26:53.000Z","updated_at":"2025-05-05T15:33:12.000Z","dependencies_parsed_at":"2023-10-16T16:31:30.237Z","dependency_job_id":"70d1dda9-9747-4312-a680-55179958fe00","html_url":"https://github.com/Kitware/CMake","commit_stats":{"total_commits":46812,"total_committers":1799,"mean_commits":26.02112284602557,"dds":0.7258395283260702,"last_synced_commit":"c60098c76312d66530ed00bbf8a64375bdb59e4e"},"previous_names":[],"tags_count":362,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FCMake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FCMake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FCMake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FCMake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitware","download_url":"https://codeload.github.com/Kitware/CMake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252552229,"owners_count":21766667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:03:25.937Z","updated_at":"2026-02-19T22:10:26.082Z","avatar_url":"https://github.com/Kitware.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"CMake\n*****\n\nIntroduction\n============\n\nCMake is a cross-platform, open-source build system generator.\nFor full documentation visit the `CMake Home Page`_ and the\n`CMake Documentation Page`_. The `CMake Community Wiki`_ also\nreferences useful guides and recipes.\n\n.. _`CMake Home Page`: https://cmake.org\n.. _`CMake Documentation Page`: https://cmake.org/documentation\n.. _`CMake Community Wiki`: https://gitlab.kitware.com/cmake/community/-/wikis/home\n\nCMake is maintained and supported by `Kitware`_ and developed in\ncollaboration with a productive community of contributors.\n\n.. _`Kitware`: https://www.kitware.com/cmake\n\nLicense\n=======\n\nCMake is distributed under the OSI-approved BSD 3-clause License.\nSee `LICENSE.rst`_ for details.\n\n.. _`LICENSE.rst`: LICENSE.rst\n\nBuilding CMake\n==============\n\nSupported Platforms\n-------------------\n\n* Microsoft Windows\n* Apple macOS\n* Linux\n* FreeBSD\n* OpenBSD\n* Solaris\n* AIX\n\nOther UNIX-like operating systems may work too out of the box, if not\nit should not be a major problem to port CMake to this platform.\nPlease post to the `CMake Discourse Forum`_ to ask if others have\nhad experience with the platform.\n\n.. _`CMake Discourse Forum`: https://discourse.cmake.org\n\nBuilding CMake with CMake\n-------------------------\n\nYou can build CMake as any other project with a CMake-based build system:\nrun an already-installed CMake on this source tree with your preferred\ngenerator and options.  Then build it and install it.\n\nTo build the documentation, install `Sphinx`_ and configure CMake with\n``-DSPHINX_HTML=ON`` and/or ``-DSPHINX_MAN=ON`` to enable the \"html\" or\n\"man\" builder.  Add ``-DSPHINX_EXECUTABLE=/path/to/sphinx-build`` if the\ntool is not found automatically.\n\nTo run the test suite, run ``ctest`` in the CMake build directory after\nbuilding.  See the `CMake Testing Guide`_ for details.\n\n.. _`Sphinx`: https://sphinx-doc.org\n.. _`CMake Testing Guide`: Help/dev/testing.rst\n\nBuilding CMake from Scratch\n---------------------------\n\nUNIX/Mac OSX/MinGW/MSYS/Cygwin\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nYou need to have a C++ compiler (supporting C++11) and a ``make`` installed.\nRun the ``bootstrap`` script you find in the source directory of CMake.\nYou can use the ``--help`` option to see the supported options.\nYou may use the ``--prefix=\u003cinstall_prefix\u003e`` option to specify a custom\ninstallation directory for CMake.  Once this has finished successfully,\nrun ``make`` and ``make install``.\n\nFor example, if you simply want to build and install CMake from source,\nyou can build directly in the source tree::\n\n  $ ./bootstrap \u0026\u0026 make \u0026\u0026 sudo make install\n\nOr, if you plan to develop CMake or otherwise run the test suite, create\na separate build tree::\n\n  $ mkdir build \u0026\u0026 cd build\n  $ ../bootstrap \u0026\u0026 make\n\nWindows\n^^^^^^^\n\nThere are two ways for building CMake under Windows:\n\n1. Compile with MSVC from VS 2015 or later.\n   You need to download and install a binary release of CMake.  You can get\n   these releases from the `CMake Download Page`_.  Then proceed with the\n   instructions above for `Building CMake with CMake`_.\n\n2. Bootstrap with MinGW under MSYS2.\n   Download and install `MSYS2`_.  Then install the required build tools::\n\n     $ pacman -S --needed git base-devel mingw-w64-x86_64-gcc\n\n   and bootstrap as above.\n\n.. _`CMake Download Page`: https://cmake.org/download\n.. _`MSYS2`: https://www.msys2.org/\n\nReporting Bugs\n==============\n\nIf you have found a bug:\n\n1. If you have a patch, please read the `CONTRIBUTING.rst`_ document.\n\n2. Otherwise, please post to the `CMake Discourse Forum`_ and ask about\n   the expected and observed behaviors to determine if it is really\n   a bug.\n\n3. Finally, if the issue is not resolved by the above steps, open\n   an entry in the `CMake Issue Tracker`_.\n\n.. _`CMake Issue Tracker`: https://gitlab.kitware.com/cmake/cmake/-/issues\n\nContributing\n============\n\nSee `CONTRIBUTING.rst`_ for instructions to contribute.\n\n.. _`CONTRIBUTING.rst`: CONTRIBUTING.rst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Fcmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitware%2Fcmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Fcmake/lists"}