cmake.syntax 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # CMake syntax highlighting
  2. #
  3. # Author: Henrik Pauli <henrik.pauli@uhusystems.com>
  4. wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
  5. context default
  6. keyword ( brightcyan
  7. keyword ) brightcyan
  8. keyword ${\[^}\]+} brightgreen
  9. keyword whole IF magenta
  10. keyword whole ELSE magenta
  11. keyword whole ENDIF magenta
  12. keyword whole cmake_minimum_required yellow
  13. keyword whole PROJECT yellow
  14. keyword whole SET yellow
  15. keyword whole INCLUDE yellow
  16. keyword whole ADD_+ yellow
  17. keyword whole SET_+ yellow
  18. keyword whole TARGET_+ yellow
  19. keyword whole FIND_+ yellow
  20. keyword whole find_+ yellow
  21. keyword whole file yellow
  22. keyword whole file_+ yellow
  23. keyword whole configure_+ yellow
  24. keyword whole install yellow
  25. keyword whole MESSAGE brightmagenta
  26. keyword whole STATIC white
  27. keyword whole SHARED white
  28. keyword whole MATCHES white
  29. keyword whole ON brightcyan
  30. keyword whole OFF brightcyan
  31. keyword whole NOT brightcyan
  32. keyword whole DEFINED brightcyan
  33. keyword whole NAMES white
  34. keyword whole FILES white
  35. keyword whole DIRECTORY white
  36. keyword whole TARGETS white
  37. keyword whole LIBRARY white
  38. keyword whole DESTINATION white
  39. spellcheck
  40. context # \n brown
  41. context " " green
  42. keyword ${\[^}\]+} brightgreen
  43. spellcheck