1 .. cmake-manual-description: CMake Language Command Reference
13 These commands are always available.
19 /command/cmake_host_system_information
20 /command/cmake_language
21 /command/cmake_minimum_required
22 /command/cmake_parse_arguments
25 /command/configure_file
34 /command/execute_process
43 /command/get_cmake_property
44 /command/get_directory_property
45 /command/get_filename_component
49 /command/include_guard
52 /command/mark_as_advanced
57 /command/separate_arguments
59 /command/set_directory_properties
64 /command/variable_watch
70 These commands are available only in CMake projects.
75 /command/add_compile_definitions
76 /command/add_compile_options
77 /command/add_custom_command
78 /command/add_custom_target
79 /command/add_definitions
80 /command/add_dependencies
81 /command/add_executable
83 /command/add_link_options
84 /command/add_subdirectory
86 /command/aux_source_directory
87 /command/build_command
88 /command/create_test_sourcelist
89 /command/define_property
90 /command/enable_language
91 /command/enable_testing
94 /command/get_source_file_property
95 /command/get_target_property
96 /command/get_test_property
97 /command/include_directories
98 /command/include_external_msproject
99 /command/include_regular_expression
101 /command/link_directories
102 /command/link_libraries
105 /command/remove_definitions
106 /command/set_source_files_properties
107 /command/set_target_properties
108 /command/set_tests_properties
109 /command/source_group
110 /command/target_compile_definitions
111 /command/target_compile_features
112 /command/target_compile_options
113 /command/target_include_directories
114 /command/target_link_directories
115 /command/target_link_libraries
116 /command/target_link_options
117 /command/target_precompile_headers
118 /command/target_sources
122 .. _`CTest Commands`:
127 These commands are available only in CTest scripts.
133 /command/ctest_configure
134 /command/ctest_coverage
135 /command/ctest_empty_binary_directory
136 /command/ctest_memcheck
137 /command/ctest_read_custom_files
138 /command/ctest_run_script
141 /command/ctest_submit
143 /command/ctest_update
144 /command/ctest_upload
149 These commands are deprecated and are only made available to maintain
150 backward compatibility. The documentation of each command states the
151 CMake version in which it was deprecated. Do not use these commands
158 /command/exec_program
159 /command/export_library_dependencies
160 /command/install_files
161 /command/install_programs
162 /command/install_targets
163 /command/load_command
164 /command/make_directory
165 /command/output_required_files
169 /command/subdir_depends
171 /command/use_mangled_mesa
172 /command/utility_source
173 /command/variable_requires