File: cmListFileLexer.dict

package info (click to toggle)
cmake 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 158,704 kB
  • sloc: ansic: 406,077; cpp: 309,512; sh: 4,233; python: 3,696; yacc: 3,109; lex: 1,279; f90: 538; asm: 471; lisp: 375; java: 310; cs: 270; fortran: 239; objc: 215; perl: 213; xml: 198; makefile: 110; javascript: 83; pascal: 63; tcl: 55; php: 25; ruby: 22; sed: 2
file content (108 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# 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"