index.rst 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. .. title:: CMake Reference Documentation
  2. Introduction
  3. ############
  4. CMake is a tool to manage building of source code. Originally, CMake was
  5. designed as a generator for various dialects of ``Makefile``, today
  6. CMake generates modern buildsystems such as ``Ninja`` as well as project
  7. files for IDEs such as Visual Studio and Xcode.
  8. CMake is widely used for the C and C++ languages, but it may be used to
  9. build source code of other languages too.
  10. People encountering CMake for the first time may have different initial
  11. goals. To learn how to build a source code package downloaded from the
  12. internet, start with the :guide:`User Interaction Guide`.
  13. This will detail the steps needed to run the :manual:`cmake(1)` or
  14. :manual:`cmake-gui(1)` executable and how to choose a generator, and
  15. how to complete the build.
  16. The :guide:`Using Dependencies Guide` is aimed at developers
  17. wishing to get started using a third-party library.
  18. For developers starting a project using CMake, the :guide:`CMake Tutorial`
  19. is a suitable starting point. The :manual:`cmake-buildsystem(7)`
  20. manual is aimed at developers expanding their knowledge of maintaining
  21. a buildsystem and becoming familiar with the build targets that
  22. can be represented in CMake. The :manual:`cmake-packages(7)` manual
  23. explains how to create packages which can easily be consumed by
  24. third-party CMake-based buildsystems.
  25. Command-Line Tools
  26. ##################
  27. .. toctree::
  28. :maxdepth: 1
  29. /manual/cmake.1
  30. /manual/ctest.1
  31. /manual/cpack.1
  32. Interactive Dialogs
  33. ###################
  34. .. toctree::
  35. :maxdepth: 1
  36. /manual/cmake-gui.1
  37. /manual/ccmake.1
  38. Reference Manuals
  39. #################
  40. .. toctree::
  41. :maxdepth: 1
  42. /manual/cmake-buildsystem.7
  43. /manual/cmake-commands.7
  44. /manual/cmake-compile-features.7
  45. /manual/cmake-configure-log.7
  46. /manual/cmake-developer.7
  47. /manual/cmake-env-variables.7
  48. /manual/cmake-file-api.7
  49. /manual/cmake-generator-expressions.7
  50. /manual/cmake-generators.7
  51. /manual/cmake-language.7
  52. /manual/cmake-modules.7
  53. /manual/cmake-packages.7
  54. /manual/cmake-policies.7
  55. /manual/cmake-presets.7
  56. /manual/cmake-properties.7
  57. /manual/cmake-qt.7
  58. /manual/cmake-server.7
  59. /manual/cmake-toolchains.7
  60. /manual/cmake-variables.7
  61. /manual/cpack-generators.7
  62. .. only:: not man
  63. Guides
  64. ######
  65. .. toctree::
  66. :maxdepth: 1
  67. /guide/tutorial/index
  68. /guide/user-interaction/index
  69. /guide/using-dependencies/index
  70. /guide/importing-exporting/index
  71. /guide/ide-integration/index
  72. .. only:: html or text
  73. Release Notes
  74. #############
  75. .. toctree::
  76. :maxdepth: 1
  77. /release/index
  78. .. only:: html
  79. Index and Search
  80. ################
  81. * :ref:`genindex`
  82. * :ref:`search`