cmake-commands.7.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. .. cmake-manual-description: CMake Language Command Reference
  2. cmake-commands(7)
  3. *****************
  4. .. only:: html or latex
  5. .. contents::
  6. Normal Commands
  7. ===============
  8. These commands may be used freely in CMake projects.
  9. .. toctree::
  10. /command/add_compile_options
  11. /command/add_custom_command
  12. /command/add_custom_target
  13. /command/add_definitions
  14. /command/add_dependencies
  15. /command/add_executable
  16. /command/add_library
  17. /command/add_subdirectory
  18. /command/add_test
  19. /command/aux_source_directory
  20. /command/break
  21. /command/build_command
  22. /command/cmake_host_system_information
  23. /command/cmake_minimum_required
  24. /command/cmake_policy
  25. /command/configure_file
  26. /command/create_test_sourcelist
  27. /command/define_property
  28. /command/elseif
  29. /command/else
  30. /command/enable_language
  31. /command/enable_testing
  32. /command/endforeach
  33. /command/endfunction
  34. /command/endif
  35. /command/endmacro
  36. /command/endwhile
  37. /command/execute_process
  38. /command/export
  39. /command/file
  40. /command/find_file
  41. /command/find_library
  42. /command/find_package
  43. /command/find_path
  44. /command/find_program
  45. /command/fltk_wrap_ui
  46. /command/foreach
  47. /command/function
  48. /command/get_cmake_property
  49. /command/get_directory_property
  50. /command/get_filename_component
  51. /command/get_property
  52. /command/get_source_file_property
  53. /command/get_target_property
  54. /command/get_test_property
  55. /command/if
  56. /command/include_directories
  57. /command/include_external_msproject
  58. /command/include_regular_expression
  59. /command/include
  60. /command/install
  61. /command/link_directories
  62. /command/list
  63. /command/load_cache
  64. /command/load_command
  65. /command/macro
  66. /command/mark_as_advanced
  67. /command/math
  68. /command/message
  69. /command/option
  70. /command/project
  71. /command/qt_wrap_cpp
  72. /command/qt_wrap_ui
  73. /command/remove_definitions
  74. /command/return
  75. /command/separate_arguments
  76. /command/set_directory_properties
  77. /command/set_property
  78. /command/set
  79. /command/set_source_files_properties
  80. /command/set_target_properties
  81. /command/set_tests_properties
  82. /command/site_name
  83. /command/source_group
  84. /command/string
  85. /command/target_compile_definitions
  86. /command/target_compile_options
  87. /command/target_include_directories
  88. /command/target_link_libraries
  89. /command/try_compile
  90. /command/try_run
  91. /command/unset
  92. /command/variable_watch
  93. /command/while
  94. Deprecated Commands
  95. ===================
  96. These commands are available only for compatibility with older
  97. versions of CMake. Do not use them in new code.
  98. .. toctree::
  99. /command/build_name
  100. /command/exec_program
  101. /command/export_library_dependencies
  102. /command/install_files
  103. /command/install_programs
  104. /command/install_targets
  105. /command/link_libraries
  106. /command/make_directory
  107. /command/output_required_files
  108. /command/remove
  109. /command/subdir_depends
  110. /command/subdirs
  111. /command/use_mangled_mesa
  112. /command/utility_source
  113. /command/variable_requires
  114. /command/write_file
  115. CTest Commands
  116. ==============
  117. These commands are available only in ctest scripts.
  118. .. toctree::
  119. /command/ctest_build
  120. /command/ctest_configure
  121. /command/ctest_coverage
  122. /command/ctest_empty_binary_directory
  123. /command/ctest_memcheck
  124. /command/ctest_read_custom_files
  125. /command/ctest_run_script
  126. /command/ctest_sleep
  127. /command/ctest_start
  128. /command/ctest_submit
  129. /command/ctest_test
  130. /command/ctest_update
  131. /command/ctest_upload