blob: ad3393bae67a7be58604b14fe9c3fa33ecf5dcd8 [file] [log] [blame] [edit]
# CMake ListFile Lexer Dictionary
# Keywords and syntax for CMakeLists.txt files
# Common commands
"cmake_minimum_required"
"project"
"add_executable"
"add_library"
"target_link_libraries"
"target_include_directories"
"target_compile_definitions"
"target_compile_options"
"set"
"unset"
"if"
"elseif"
"else"
"endif"
"foreach"
"endforeach"
"while"
"endwhile"
"function"
"endfunction"
"macro"
"endmacro"
"return"
"include"
"find_package"
"find_library"
"find_path"
"find_program"
"file"
"message"
"option"
"configure_file"
"install"
"add_custom_command"
"add_custom_target"
"add_subdirectory"
"list"
"string"
"math"
"get_property"
"set_property"
"get_target_property"
"set_target_properties"
"add_definitions"
"add_dependencies"
# Syntax elements
"("
")"
"\""
"[["
"]]"
"[=["
"]=]"
"[==["
"]==]"
"#"
"#[["
"#]]"
"\x0a"
"\x0d\x0a"
" "
"\x09"
"$"
"{"
"}"
"<"
">"
";"
":"
"@"
"\\"
# Variables
"${CMAKE_SOURCE_DIR}"
"${CMAKE_BINARY_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}"
"${PROJECT_NAME}"
"${PROJECT_SOURCE_DIR}"
"${PROJECT_BINARY_DIR}"
"$ENV{}"
"$CACHE{}"
# Generator expressions
"$<"
">:"
"$<TARGET_FILE:"
"$<TARGET_PROPERTY:"
"$<BUILD_INTERFACE:"
"$<INSTALL_INTERFACE:"
"$<BOOL:"
"$<AND:"
"$<OR:"
"$<NOT:"
"$<IF:"
"$<STREQUAL:"
"$<VERSION_LESS:"
"$<CONFIG:"
# BOMs
"\xef\xbb\xbf"
"\xff\xfe"
"\xfe\xff"