cmake-commands.7.rst 3.4 KB

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