[highlighting]
is_line_number = true
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
vec_extention = [".cmake"]
vec_filename = ["CMakeLists.txt"]
single_line_comment = "//"
multi_line_comment_begin = "#[["
multi_line_comment_end = "]]"
is_escape_char = true
example = """
cmake_minimum_required(VERSION 3.20)
project(SimpleCpp)
add_executable(my_awsome_program main.cpp)
"""
[[keyword]]
style = "cmakeKWord"
vec_token = [
"VERSION",
"REQUIRED",
"COMPONENTS",
"COMPILE_FLAGS",
"TARGETS",
"TARGET",
"DESTINATION",
"GLOB_RECURSE",
"GLOB",
"SHARED",
"STATIC",
"PROGRAMS",
"STATUS",
"FATAL_ERROR",
"COMMENT",
"NAME_WE",
"NAMES",
"NAME",
"PATHS",
"ARGS",
"DEFINED",
"ARCHIVE",
"LIBRARY",
"FILES",
"MAKE_DIRECTORY",
"OUTPUT_VARIABLE",
"RETURN_VALUE",
"CACHE",
"INTERNAL",
"PROPERTY",
"BOOL",
"STRING",
"NOT",
"STREQUAL",
"REPLACE",
"PROPERTIES",
"GET",
"APPEND",
"REGEX",
"ALL",
"DEPENDS",
"WORKING_DIRECTORY",
"COMMAND",
"OUTPUT",
"EXT",
"FORCE",
"SOVERSION",
"RUNTIME",
"PRIVATE",
"@ONLY",
]
vec_match = []
[[keyword]]
style = "cmakeCudaFunction"
vec_token = [
"cuda_add_library",
"cuda_add_executable",
]
vec_match = []
[[keyword]]
style = "cmakeCustomFunction"
vec_token = [
"benchmark_compileAndRun",
"benchmark_plotPerfNsLogY",
"benchmark_plotPerfCyLogY",
"generic_gray_scott_cuda",
"generic_gray_scott",
]
vec_match = []
[[keyword]]
style = "cmakeFunction"
vec_token = [
"project",
"cmake_minimum_required",
"find_package",
"set_directory_properties",
"set_property",
"set_source_files_properties",
"set_target_properties",
"set_tests_properties",
"set",
"include_directories",
"include",
"add_executable",
"target_link_libraries",
"install",
"qt4_automoc",
"add_definitions",
"add_subdirectory",
"if",
"else",
"endif",
"find_path",
"message",
"MESSAGE",
"add_custom_command",
"add_custom_target",
"add_dependencies",
"add_library",
"add_compile_options",
"add_test",
"aux_source_directory",
"exec_program",
"break",
"build_command",
"cmake_policy",
"configure_file",
"create_test_sourcelist",
"define_property",
"elseif",
"enable_language",
"enable_testing",
"endforeach",
"endfunction",
"endmacro",
"endwhile",
"execute_process",
"export",
"file",
"FILE",
"find_file",
"find_library",
"find_program",
"cuda_add_executable",
"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",
"include_external_msproject",
"include_regular_expression",
"install",
"link_directories",
"list",
"load_cache",
"load_command",
"macro",
"mark_as_advanced",
"math",
"option",
"output_required_files",
"project",
"qt_wrap_cpp",
"qt_wrap_ui",
"remove_definitions",
"return",
"separate_arguments",
"site_name",
"source_group",
"string",
"target_link_libraries",
"try_compile",
"try_run",
"unset",
"variable_watch",
"while",
]
vec_match = []
[[keyword]]
style = "cmakeValueTrue"
vec_token = [
"yes",
"TRUE",
]
vec_match = []
[[keyword]]
style = "cmakeValueFalse"
vec_token = [
"no",
"FALSE",
]
vec_match = []
[[keyword]]
style = "cppstandardF"
vec_token = [
"phoenix_base_project",
"phoenix_add_library",
"pull_extra_module",
"phoenix_architecture",
"phoenix_plotPerfLogX",
"phoenix_plotPerf",
"phoenix_compileAndRunExample",
"phoenix_create_find_full",
"phoenix_create_doc",
"phoenix_create_find",
"phoenix_add_option",
"phoenix_update",
"phoenix_help",
"phoenix_tests",
"phoenix_include_directories",
"phoenix_create_bash_completion",
]
vec_match = []
[[keyword]]
style = "cmakeSpecialVar"
vec_token = [
"CMAKE_CXX_COMPILER",
"CMAKE_CXX_FLAGS",
"CMAKE_C_COMPILER",
"CMAKE_C_FLAGS",
"CMAKE_INSTALL_PREFIX",
"CMAKE_CURRENT_BINARY_DIR",
"CMAKE_CURRENT_SOURCE_DIR",
"CMAKE_BINARY_DIR",
"CMAKE_SOURCE_DIR",
"CMAKE_EXE_LINKER_FLAGS",
"CUDA_HOST_COMPILER",
"CUDA_NVCC_FLAGS",
]
vec_match = []
[[keyword]]
style = "dsNumber"
vec_token = [
"TBB::tbb",
"NVHPC::MATH",
"NVHPC::CUDART",
]
vec_match = []
[[getuntil]]
style = "dsString"
start_token = "\""
end_token = "\""
[[getuntil]]
style = "dsString"
start_token = "'"
end_token = "'"
[[getuntil]]
style = "dsCommentMono"
start_token = "#"
end_token = "\n"
[[getuntil]]
style = "dsNumber"
start_token = "${"
end_token = "}"
[[getuntil]]
style = "dsNumber"
start_token = "$ENV{"
end_token = "}"
[[getuntil]]
style = "dsNumber"
start_token = "ENV{"
end_token = "}"
[[sequence]]
style = "dsNumber"
vec_step = [
{oneof = "1234567890"},
{oneof = "lu"}
]
[[sequence]]
style = "dsNumber"
vec_step = [
{token = "."},
{oneof = "1234567890"},
{oneof = "f"}
]
[[sequence]]
style = "dsNumber"
vec_step = [
{token = "0x"},
{oneof = "1234567890abcdef"},
]
[[sequence]]
style = "dsNumber"
vec_step = [
{token = "0b"},
{oneof = "10"},
]
[[sequence]]
style = "dsNumber"
vec_step = [
{token = "0"},
]