[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6331":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":28,"discoverSource":29},6331,"CMake","Kitware\u002FCMake","Kitware","Mirror of CMake upstream repository","https:\u002F\u002Fgitlab.kitware.com\u002Fcmake\u002Fcmake",null,"C",7947,2679,187,2,0,4,52,7,41,"BSD 3-Clause \"New\" or \"Revised\" License",false,"master",[],"2026-06-12 02:01:18","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:\u002F\u002Fcmake.org\n.. _`CMake Documentation Page`: https:\u002F\u002Fcmake.org\u002Fdocumentation\n.. _`CMake Community Wiki`: https:\u002F\u002Fgitlab.kitware.com\u002Fcmake\u002Fcommunity\u002F-\u002Fwikis\u002Fhome\n\nCMake is maintained and supported by `Kitware`_ and developed in\ncollaboration with a productive community of contributors.\n\n.. _`Kitware`: https:\u002F\u002Fwww.kitware.com\u002Fcmake\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:\u002F\u002Fdiscourse.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\u002For ``-DSPHINX_MAN=ON`` to enable the \"html\" or\n\"man\" builder.  Add ``-DSPHINX_EXECUTABLE=\u002Fpath\u002Fto\u002Fsphinx-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:\u002F\u002Fsphinx-doc.org\n.. _`CMake Testing Guide`: Help\u002Fdev\u002Ftesting.rst\n\nBuilding CMake from Scratch\n---------------------------\n\nUNIX\u002FMac OSX\u002FMinGW\u002FMSYS\u002FCygwin\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>`` 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  $ .\u002Fbootstrap && make && 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 && cd build\n  $ ..\u002Fbootstrap && make\n\nBy default the ``bootstrap`` script configures CMake to build with vendored\ndependencies.  However, CMake does not vendor OpenSSL.  To bootstrap in a\nminimal environment, disable use of OpenSSL::\n\n  $ .\u002Fbootstrap -- -DCMAKE_USE_OPENSSL=OFF\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:\u002F\u002Fcmake.org\u002Fdownload\n.. _`MSYS2`: https:\u002F\u002Fwww.msys2.org\u002F\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:\u002F\u002Fgitlab.kitware.com\u002Fcmake\u002Fcmake\u002F-\u002Fissues\n\nContributing\n============\n\nSee `CONTRIBUTING.rst`_ for instructions to contribute.\n\n.. _`CONTRIBUTING.rst`: CONTRIBUTING.rst\n","CMake是一个跨平台的开源构建系统生成器。它支持多种操作系统，包括Windows、macOS、Linux等，并且能够帮助开发者通过简单的配置文件来管理复杂的软件构建过程。CMake的核心功能在于其强大的可移植性和灵活性，允许用户为不同的编译环境生成相应的构建脚本。此外，CMake还提供了丰富的命令集和变量，使得项目配置更加灵活高效。该项目非常适合需要在多个平台上进行开发或者维护大型代码库的情况使用。","2026-06-11 03:06:32","top_language"]