diff options
Diffstat (limited to 'kate/data/cmake.xml')
-rw-r--r-- | kate/data/cmake.xml | 71 |
1 files changed, 55 insertions, 16 deletions
diff --git a/kate/data/cmake.xml b/kate/data/cmake.xml index 09d729774..9201933a0 100644 --- a/kate/data/cmake.xml +++ b/kate/data/cmake.xml @@ -24,8 +24,8 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** --> -<!-- generated for "cmake version 2.6-patch 3" --> -<language name="CMake" version="1.11" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL"> +<!-- generated for "cmake version 2.8.1" --> +<language name="CMake" version="1.13" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL"> <highlighting> <list name = "commands"> @@ -137,6 +137,7 @@ <list name="special_args"> <!-- generated list --> + <item> A </item> <item> ABSOLUTE </item> <item> AFTER </item> <item> ALL </item> @@ -146,10 +147,11 @@ <item> ARCHIVE </item> <item> ARGS </item> <item> ASCII </item> + <item> AUTHOR_WARNING </item> + <item> B </item> <item> BEFORE </item> <item> BRIEF_DOCS </item> <item> BUNDLE </item> - <item> C </item> <item> CACHE </item> <item> CLEAR </item> <item> CMAKE_FIND_ROOT_PATH_BOTH </item> @@ -165,12 +167,13 @@ <item> COMPONENT </item> <item> COMPONENTS </item> <item> CONFIGS </item> + <item> CONFIGURATION </item> <item> CONFIGURATIONS </item> <item> CONFIGURE </item> <item> COPYONLY </item> <item> COPY_FILE </item> - <item> CXX </item> <item> DEFINED </item> + <item> DEFINITION </item> <item> DEPENDS </item> <item> DESTINATION </item> <item> DIRECTORY </item> @@ -213,6 +216,7 @@ <item> HINTS </item> <item> IMPLICIT_DEPENDS </item> <item> IMPORTED </item> + <item> IN </item> <item> INCLUDE_INTERNALS </item> <item> INHERITED </item> <item> INPUT_FILE </item> @@ -220,6 +224,8 @@ <item> IS_ABSOLUTE </item> <item> IS_DIRECTORY </item> <item> IS_NEWER_THAN </item> + <item> IS_SYMLINK </item> + <item> ITEMS </item> <item> LENGTH </item> <item> LENGTH_MAXIMUM </item> <item> LENGTH_MINIMUM </item> @@ -230,6 +236,7 @@ <item> LIMIT_INPUT </item> <item> LIMIT_OUTPUT </item> <item> LINK_INTERFACE_LIBRARIES </item> + <item> LISTS </item> <item> LOG </item> <item> MACOSX_BUNDLE </item> <item> MAIN_DEPENDENCY </item> @@ -251,12 +258,14 @@ <item> NO_CMAKE_BUILDS_PATH </item> <item> NO_CMAKE_ENVIRONMENT_PATH </item> <item> NO_CMAKE_FIND_ROOT_PATH </item> + <item> NO_CMAKE_PACKAGE_REGISTRY </item> <item> NO_CMAKE_PATH </item> <item> NO_CMAKE_SYSTEM_PATH </item> <item> NO_DEFAULT_PATH </item> <item> NO_HEX_CONVERSION </item> <item> NO_MODULE </item> <item> NO_POLICY_SCOPE </item> + <item> NO_SOURCE_PERMISSIONS </item> <item> NO_SYSTEM_ENVIRONMENT_PATH </item> <item> OFFSET </item> <item> OLD </item> @@ -272,6 +281,7 @@ <item> OWNER_EXECUTE </item> <item> OWNER_READ </item> <item> OWNER_WRITE </item> + <item> PACKAGE </item> <item> PARENT_SCOPE </item> <item> PATH </item> <item> PATHS </item> @@ -289,15 +299,18 @@ <item> PROGRAM </item> <item> PROGRAMS </item> <item> PROGRAM_ARGS </item> + <item> PROJECT_NAME </item> <item> PROPERTIES </item> <item> PROPERTY </item> <item> PUBLIC_HEADER </item> <item> PUSH </item> <item> QUIET </item> <item> RANDOM </item> + <item> RANDOM_SEED </item> <item> RANGE </item> <item> READ </item> <item> READ_WITH_PREFIX </item> + <item> REALPATH </item> <item> REGEX </item> <item> REGULAR_EXPRESSION </item> <item> RELATIVE </item> @@ -356,6 +369,7 @@ <item> VERSION_EQUAL </item> <item> VERSION_GREATER </item> <item> VERSION_LESS </item> + <item> WARNING </item> <item> WIN32 </item> <item> WORKING_DIRECTORY </item> <item> WRITE </item> @@ -371,40 +385,51 @@ <!-- generated list --> <item> ABSTRACT </item> <item> ADDITIONAL_MAKE_CLEAN_FILES </item> + <item> ADVANCED </item> <item> ALLOW_DUPLICATE_CUSTOM_TARGETS </item> <item> ARCHIVE_OUTPUT_DIRECTORY </item> + <item> ARCHIVE_OUTPUT_NAME </item> + <item> ATTACHED_FILES </item> + <item> ATTACHED_FILES_ON_FAIL </item> <item> BUILD_WITH_INSTALL_RPATH </item> <item> CACHE_VARIABLES </item> - <item> CLEAN_DIRECT_OUTPUT </item> <item> CLEAN_NO_CUSTOM </item> <item> COMPILE_DEFINITIONS </item> <item> COMPILE_FLAGS </item> + <item> COST </item> <item> DEBUG_CONFIGURATIONS </item> <item> DEBUG_POSTFIX </item> <item> DEFINE_SYMBOL </item> <item> DEFINITIONS </item> + <item> DEPENDS </item> <item> DISABLED_FEATURES </item> <item> ENABLED_FEATURES </item> <item> ENABLED_LANGUAGES </item> <item> ENABLE_EXPORTS </item> + <item> ENVIRONMENT </item> <item> EXCLUDE_FROM_ALL </item> <item> EXTERNAL_OBJECT </item> <item> EchoString </item> <item> FAIL_REGULAR_EXPRESSION </item> <item> FIND_LIBRARY_USE_LIB64_PATHS </item> + <item> FIND_LIBRARY_USE_OPENBSD_VERSIONING </item> <item> FRAMEWORK </item> <item> Fortran_MODULE_DIRECTORY </item> <item> GENERATED </item> <item> GENERATOR_FILE_NAME </item> <item> GLOBAL_DEPENDS_DEBUG_MODE </item> + <item> GLOBAL_DEPENDS_NO_CYCLES </item> <item> HAS_CXX </item> <item> HEADER_FILE_ONLY </item> + <item> HELPSTRING </item> <item> IMPLICIT_DEPENDS_INCLUDE_TRANSFORM </item> <item> IMPORTED </item> <item> IMPORTED_CONFIGURATIONS </item> <item> IMPORTED_IMPLIB </item> <item> IMPORTED_LINK_DEPENDENT_LIBRARIES </item> + <item> IMPORTED_LINK_INTERFACE_LANGUAGES </item> <item> IMPORTED_LINK_INTERFACE_LIBRARIES </item> + <item> IMPORTED_LINK_INTERFACE_MULTIPLICITY </item> <item> IMPORTED_LOCATION </item> <item> IMPORTED_SONAME </item> <item> IMPORT_PREFIX </item> @@ -414,14 +439,18 @@ <item> INSTALL_NAME_DIR </item> <item> INSTALL_RPATH </item> <item> INSTALL_RPATH_USE_LINK_PATH </item> + <item> INTERPROCEDURAL_OPTIMIZATION </item> <item> IN_TRY_COMPILE </item> <item> KEEP_EXTENSION </item> + <item> LABELS </item> <item> LANGUAGE </item> <item> LIBRARY_OUTPUT_DIRECTORY </item> + <item> LIBRARY_OUTPUT_NAME </item> <item> LINKER_LANGUAGE </item> <item> LINK_DIRECTORIES </item> <item> LINK_FLAGS </item> <item> LINK_INTERFACE_LIBRARIES </item> + <item> LINK_INTERFACE_MULTIPLICITY </item> <item> LINK_SEARCH_END_STATIC </item> <item> LISTFILE_STACK </item> <item> LOCATION </item> @@ -431,8 +460,10 @@ <item> MACOSX_PACKAGE_LOCATION </item> <item> MACROS </item> <item> MEASUREMENT </item> + <item> MODIFIED </item> <item> OBJECT_DEPENDS </item> <item> OBJECT_OUTPUTS </item> + <item> OSX_ARCHITECTURES </item> <item> OUTPUT_NAME </item> <item> PACKAGES_FOUND </item> <item> PACKAGES_NOT_FOUND </item> @@ -442,15 +473,24 @@ <item> PREFIX </item> <item> PRE_INSTALL_SCRIPT </item> <item> PRIVATE_HEADER </item> + <item> PROCESSORS </item> <item> PROJECT_LABEL </item> <item> PUBLIC_HEADER </item> <item> REPORT_UNDEFINED_PROPERTIES </item> + <item> REQUIRED_FILES </item> <item> RESOURCE </item> + <item> RULE_LAUNCH_COMPILE </item> + <item> RULE_LAUNCH_CUSTOM </item> + <item> RULE_LAUNCH_LINK </item> + <item> RULE_MESSAGES </item> <item> RUNTIME_OUTPUT_DIRECTORY </item> + <item> RUNTIME_OUTPUT_NAME </item> + <item> RUN_SERIAL </item> <item> SKIP_BUILD_RPATH </item> <item> SOURCES </item> <item> SOVERSION </item> <item> STATIC_LIBRARY_FLAGS </item> + <item> STRINGS </item> <item> SUFFIX </item> <item> SYMBOLIC </item> <item> TARGET_ARCHIVES_MAY_BE_SHARED_LIBS </item> @@ -458,6 +498,7 @@ <item> TEST_INCLUDE_FILE </item> <item> TIMEOUT </item> <item> TYPE </item> + <item> VALUE </item> <item> VARIABLES </item> <item> VERSION </item> <item> VS_KEYWORD </item> @@ -484,36 +525,34 @@ <RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="block" firstNonSpace="true"/> <RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="block" firstNonSpace="true"/> <DetectChar attribute="Comment" context="Comment" char="#"/> + <IncludeRules context="Detect Variables"/> + <RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()"/> + </context> + <context attribute="Normal Text" lineEndContext="#stay" name="Detect Variables"> <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*\w+\s*\}"/> <RegExpr attribute="CMake Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> - <RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()"/> </context> <context attribute="Normal Text" lineEndContext="#stay" name="Command Args"> - <DetectChar attribute="Normal Text" context="#pop" char=")"/> - <DetectChar attribute="Strings" context="String" char="""/> <keyword attribute="Special Args" context="#stay" String="special_args"/> <keyword attribute="Special Args" context="#stay" String="extra_special_args"/> <keyword attribute="Properties" context="#stay" String="properties"/> <keyword attribute="Properties" context="#stay" String="extra_properties"/> - <RegExpr attribute="Comment" context="#stay" String="#.*$"/> - <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*\w+\s*\}"/> - <RegExpr attribute="CMake Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> + <IncludeRules context="Macro Args"/> </context> <context attribute="Normal Text" lineEndContext="#stay" name="Macro Args"> <DetectChar attribute="Normal Text" context="#pop" char=")"/> + <StringDetect attribute="Escapes" context="#stay" String="\""/> <DetectChar attribute="Strings" context="String" char="""/> <RegExpr attribute="Comment" context="#stay" String="#.*$"/> - <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*\w+\s*\}"/> - <RegExpr attribute="CMake Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> + <IncludeRules context="Detect Variables"/> </context> <context attribute="Comment" lineEndContext="#pop" name="Comment"> <IncludeRules context="##Alerts" /> </context> <context attribute="Strings" lineEndContext="#stay" name="String"> - <DetectChar attribute="Strings" context="#pop" char=""" /> + <RegExpr attribute="Strings" context="#pop" String=""(?=[ );]|$)" /> <RegExpr attribute="Escapes" context="#stay" String="\\["$n\\]" /> - <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*\w+\s*\}"/> - <RegExpr attribute="CMake Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> + <IncludeRules context="Detect Variables"/> </context> </contexts> |