# CMake syntax highlighting # # Author: Henrik Pauli # Author: Emil Biserov wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_ caseinsensitive context default keyword ( brightcyan keyword ) brightcyan keyword ${\[^}\]+} brightgreen keyword whole macro magenta keyword whole endmacro magenta keyword whole function magenta keyword whole endfunction magenta keyword whole if magenta keyword whole else magenta keyword whole elseif magenta keyword whole endif magenta keyword whole foreach magenta keyword whole endforeach magenta keyword whole while magenta keyword whole endwhile magenta keyword whole break magenta keyword whole cmake_minimum_required yellow keyword whole project yellow keyword whole set yellow keyword whole unset yellow keyword whole include yellow keyword whole include_directories yellow keyword whole link_directories yellow keyword whole cpack_+ yellow keyword whole add_+ yellow keyword whole get_+ yellow keyword whole set_+ yellow keyword whole target_+ yellow keyword whole find_+ yellow keyword whole file yellow keyword whole file_+ yellow keyword whole configure_+ yellow keyword whole install yellow keyword whole qt4_+ yellow keyword whole mark_as_advanced yellow keyword whole list yellow keyword whole string yellow keyword whole message brightmagenta keyword whole STATUS brightmagenta keyword whole WARNING brightmagenta keyword whole AUTHOR_WARNING brightmagenta keyword whole FATAL_ERROR brightmagenta keyword whole SEND_ERROR brightmagenta keyword whole ON brightcyan keyword whole OFF brightcyan keyword whole TRUE brightcyan keyword whole FALSE brightcyan keyword whole OR brightcyan keyword whole AND brightcyan keyword whole NOT brightcyan keyword whole DEFINED brightcyan keyword whole COMMAND brightcyan keyword whole POLICY brightcyan keyword whole TARGET brightcyan keyword whole EXISTS brightcyan keyword whole IS_NEWER_THAN brightcyan keyword whole IS_DIRECTORY brightcyan keyword whole IS_SYMLINK brightcyan keyword whole IS_ABSOLUTE brightcyan keyword whole MATCHES brightcyan keyword whole LESS brightcyan keyword whole GREATER brightcyan keyword whole EQUAL brightcyan keyword whole STRLESS brightcyan keyword whole STRGREATER brightcyan keyword whole STREQUAL brightcyan keyword whole VERSION_LESS brightcyan keyword whole VERSION_EQUAL brightcyan keyword whole VERSION_GREATER brightcyan keyword whole STATIC white keyword whole SHARED white keyword whole NAMES white keyword whole FILES white keyword whole PATHS white keyword whole NO_DEFAULT_PATH white keyword whole NO_CMAKE_FIND_ROOT_PATH white keyword whole NO_CMAKE_ENVIRONMENT_PATH white keyword whole NO_CMAKE_PATH white keyword whole NO_SYSTEM_ENVIRONMENT_PATH white keyword whole NO_CMAKE_SYSTEM_PATH white keyword whole ONLY_CMAKE_FIND_ROOT_PATH white keyword whole NO_CMAKE_FIND_ROOT_PATH white keyword whole DIRECTORY white keyword whole RUNTIME white keyword whole COMPONENT white keyword whole DISPLAY_NAME white keyword whole DESCRIPTION white keyword whole GROUP white keyword whole DEPENDS white keyword whole TARGETS white keyword whole LIBRARY white keyword whole DESTINATION white keyword whole PROPERTIES white keyword whole LIBRARY_OUTPUT_DIRECTORY white keyword whole RUNTIME_OUTPUT_DIRECTORY white keyword whole VERSION white keyword whole COMPONENTS white keyword whole REQUIRED white spellcheck context # \n brown context " " green keyword ${\[^}\]+} brightgreen spellcheck