cmake-hl.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Syntax highlighting definition for CMake
  4. Copyright (c) 2010 Mathieu Malaterre
  5. This software is provided 'as-is', without any express or implied
  6. warranty. In no event will the authors be held liable for any damages
  7. arising from the use of this software.
  8. Permission is granted to anyone to use this software for any purpose,
  9. including commercial applications, and to alter it and redistribute it
  10. freely, subject to the following restrictions:
  11. 1. The origin of this software must not be misrepresented; you must not
  12. claim that you wrote the original software. If you use this software
  13. in a product, an acknowledgment in the product documentation would be
  14. appreciated but is not required.
  15. 2. Altered source versions must be plainly marked as such, and must not be
  16. misrepresented as being the original software.
  17. 3. This notice may not be removed or altered from any source distribution.
  18. -->
  19. <highlighters>
  20. <highlighter type="oneline-comment">#</highlighter>
  21. <highlighter type="string">
  22. <string>"</string>
  23. <endString>"</endString>
  24. <spanNewLines />
  25. </highlighter>
  26. <highlighter type="hexnumber">
  27. <prefix>0x</prefix>
  28. <suffix>l</suffix>
  29. <ignoreCase />
  30. <style>string</style>
  31. </highlighter>
  32. <highlighter type="number">
  33. <point>.</point>
  34. <ignoreCase />
  35. <style>string</style>
  36. </highlighter>
  37. <highlighter type="keywords">
  38. <!-- system variable -->
  39. <keyword>WIN32</keyword>
  40. <keyword>UNIX</keyword>
  41. <keyword>APPLE</keyword>
  42. <keyword>CYGWIN</keyword>
  43. <keyword>BORLAND</keyword>
  44. <keyword>MINGW</keyword>
  45. <keyword>MSVC</keyword>
  46. <keyword>MSVC_IDE</keyword>
  47. <keyword>MSVC60</keyword>
  48. <keyword>MSVC70</keyword>
  49. <keyword>MSVC71</keyword>
  50. <keyword>MSVC80</keyword>
  51. <style>attribute</style>
  52. </highlighter>
  53. <highlighter type="keywords">
  54. <!-- operators -->
  55. <keyword>AND</keyword>
  56. <keyword>BOOL</keyword>
  57. <keyword>CACHE</keyword>
  58. <keyword>COMMAND</keyword>
  59. <keyword>DEFINED</keyword>
  60. <keyword>DOC</keyword>
  61. <keyword>EQUAL</keyword>
  62. <keyword>EXISTS</keyword>
  63. <keyword>FALSE</keyword>
  64. <keyword>GREATER</keyword>
  65. <keyword>INTERNAL</keyword>
  66. <keyword>LESS</keyword>
  67. <keyword>MATCHES</keyword>
  68. <keyword>NAME</keyword>
  69. <keyword>NAMES</keyword>
  70. <keyword>NAME_WE</keyword>
  71. <keyword>NOT</keyword>
  72. <keyword>OFF</keyword>
  73. <keyword>ON</keyword>
  74. <keyword>OR</keyword>
  75. <keyword>PATH</keyword>
  76. <keyword>PATHS</keyword>
  77. <keyword>PROGRAM</keyword>
  78. <keyword>STREQUAL</keyword>
  79. <keyword>STRGREATER</keyword>
  80. <keyword>STRING</keyword>
  81. <keyword>STRLESS</keyword>
  82. <keyword>TRUE</keyword>
  83. <!-- color in blue -->
  84. <!--style>doccomment</style> -->
  85. <style>keyword</style>
  86. </highlighter>
  87. <highlighter type="keywords">
  88. <!-- statement -->
  89. <keyword>ADD_CUSTOM_COMMAND</keyword>
  90. <keyword>ADD_CUSTOM_TARGET</keyword>
  91. <keyword>ADD_DEFINITIONS</keyword>
  92. <keyword>ADD_DEPENDENCIES</keyword>
  93. <keyword>ADD_EXECUTABLE</keyword>
  94. <keyword>ADD_LIBRARY</keyword>
  95. <keyword>ADD_SUBDIRECTORY</keyword>
  96. <keyword>ADD_TEST</keyword>
  97. <keyword>AUX_SOURCE_DIRECTORY</keyword>
  98. <keyword>BUILD_COMMAND</keyword>
  99. <keyword>BUILD_NAME</keyword>
  100. <keyword>CMAKE_MINIMUM_REQUIRED</keyword>
  101. <keyword>CONFIGURE_FILE</keyword>
  102. <keyword>CREATE_TEST_SOURCELIST</keyword>
  103. <keyword>ELSE</keyword>
  104. <keyword>ELSEIF</keyword>
  105. <keyword>ENABLE_LANGUAGE</keyword>
  106. <keyword>ENABLE_TESTING</keyword>
  107. <keyword>ENDFOREACH</keyword>
  108. <keyword>ENDIF</keyword>
  109. <keyword>ENDWHILE</keyword>
  110. <keyword>EXEC_PROGRAM</keyword>
  111. <keyword>EXECUTE_PROCESS</keyword>
  112. <keyword>EXPORT_LIBRARY_DEPENDENCIES</keyword>
  113. <keyword>FILE</keyword>
  114. <keyword>FIND_FILE</keyword>
  115. <keyword>FIND_LIBRARY</keyword>
  116. <keyword>FIND_PACKAGE</keyword>
  117. <keyword>FIND_PATH</keyword>
  118. <keyword>FIND_PROGRAM</keyword>
  119. <keyword>FLTK_WRAP_UI</keyword>
  120. <keyword>FOREACH</keyword>
  121. <keyword>GET_CMAKE_PROPERTY</keyword>
  122. <keyword>GET_DIRECTORY_PROPERTY</keyword>
  123. <keyword>GET_FILENAME_COMPONENT</keyword>
  124. <keyword>GET_SOURCE_FILE_PROPERTY</keyword>
  125. <keyword>GET_TARGET_PROPERTY</keyword>
  126. <keyword>GET_TEST_PROPERTY</keyword>
  127. <keyword>IF</keyword>
  128. <keyword>INCLUDE</keyword>
  129. <keyword>INCLUDE_DIRECTORIES</keyword>
  130. <keyword>INCLUDE_EXTERNAL_MSPROJECT</keyword>
  131. <keyword>INCLUDE_REGULAR_EXPRESSION</keyword>
  132. <keyword>INSTALL</keyword>
  133. <keyword>INSTALL_FILES</keyword>
  134. <keyword>INSTALL_PROGRAMS</keyword>
  135. <keyword>INSTALL_TARGETS</keyword>
  136. <keyword>LINK_DIRECTORIES</keyword>
  137. <keyword>LINK_LIBRARIES</keyword>
  138. <keyword>LIST</keyword>
  139. <keyword>LOAD_CACHE</keyword>
  140. <keyword>LOAD_COMMAND</keyword>
  141. <keyword>MACRO</keyword>
  142. <keyword>MAKE_DIRECTORY</keyword>
  143. <keyword>MARK_AS_ADVANCED</keyword>
  144. <keyword>MATH</keyword>
  145. <keyword>MESSAGE</keyword>
  146. <keyword>OPTION</keyword>
  147. <keyword>OUTPUT_REQUIRED_FILES</keyword>
  148. <keyword>PROJECT</keyword>
  149. <keyword>QT_WRAP_CPP</keyword>
  150. <keyword>QT_WRAP_UI</keyword>
  151. <keyword>REMOVE</keyword>
  152. <keyword>REMOVE_DEFINITIONS</keyword>
  153. <keyword>SEPARATE_ARGUMENTS</keyword>
  154. <keyword>SET</keyword>
  155. <keyword>SET_DIRECTORY_PROPERTIES</keyword>
  156. <keyword>SET_SOURCE_FILES_PROPERTIES</keyword>
  157. <keyword>SET_TARGET_PROPERTIES</keyword>
  158. <keyword>SET_TESTS_PROPERTIES</keyword>
  159. <keyword>SITE_NAME</keyword>
  160. <keyword>SOURCE_GROUP</keyword>
  161. <keyword>STRING</keyword>
  162. <keyword>SUBDIR_DEPENDS</keyword>
  163. <keyword>SUBDIRS</keyword>
  164. <keyword>TARGET_LINK_LIBRARIES</keyword>
  165. <keyword>TRY_COMPILE</keyword>
  166. <keyword>TRY_RUN</keyword>
  167. <keyword>USE_MANGLED_MESA</keyword>
  168. <keyword>UTILITY_SOURCE</keyword>
  169. <keyword>VARIABLE_REQUIRES</keyword>
  170. <keyword>VTK_MAKE_INSTANTIATOR</keyword>
  171. <keyword>VTK_WRAP_JAVA</keyword>
  172. <keyword>VTK_WRAP_PYTHON</keyword>
  173. <keyword>VTK_WRAP_TCL</keyword>
  174. <keyword>WHILE</keyword>
  175. <keyword>WRITE_FILE</keyword>
  176. <keyword>ENDMACRO</keyword>
  177. <ignoreCase />
  178. <beginChars>()</beginChars>
  179. <partChars>()</partChars>
  180. <style>directive</style>
  181. </highlighter>
  182. </highlighters>