CMake命令/函数汇总(翻译自官方手册)

查看官方文档


cmake命令 选项

CMake变量

CMake命令汇总 add_custom_command

add_custom_target add_definitions add_dependencies

add_library add_subdirectory add_test aux_source_directory break

build_command cmake_minimum_required cmake_policy

configure_file create_test_sourcelist define_property

else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile execute_process export

file

find_file

find_library

find_package

find_path

find_program fltk_wrap_ui

foreach function get_cmake_property get_directory_property get_filename_component

get_property get_source_file_property get_target_property get_test_property if

include include_directories include_external_msproject include_regular_expression

install link_directories

list load_cache load_command macro mark_as_advanced math message