Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/cmake.xml
Show All 25 Lines | |||||
26 | * License along with this library; if not, write to the * | 26 | * License along with this library; if not, write to the * | ||
27 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * | 27 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * | ||
28 | * Boston, MA 02110-1301, USA. * | 28 | * Boston, MA 02110-1301, USA. * | ||
29 | ********************************************************************** | 29 | ********************************************************************** | ||
30 | --> | 30 | --> | ||
31 | 31 | | |||
32 | <language | 32 | <language | ||
33 | name="CMake" | 33 | name="CMake" | ||
34 | version="18" | 34 | version="19" | ||
35 | kateversion="2.4" | 35 | kateversion="2.4" | ||
36 | section="Other" | 36 | section="Other" | ||
37 | extensions="CMakeLists.txt;*.cmake;*.cmake.in" | 37 | extensions="CMakeLists.txt;*.cmake;*.cmake.in" | ||
38 | style="CMake" | 38 | style="CMake" | ||
39 | mimetype="text/x-cmake" | 39 | mimetype="text/x-cmake" | ||
40 | author="Alex Turbov (i.zaufi@gmail.com)" | 40 | author="Alex Turbov (i.zaufi@gmail.com)" | ||
41 | license="LGPLv2+" | 41 | license="LGPLv2+" | ||
42 | > | 42 | > | ||
▲ Show 20 Lines • Show All 434 Lines • ▼ Show 20 Line(s) | 462 | <list name="find_program_nargs"> | |||
477 | <item>PATH_SUFFIXES</item> | 477 | <item>PATH_SUFFIXES</item> | ||
478 | </list> | 478 | </list> | ||
479 | <list name="foreach_nargs"> | 479 | <list name="foreach_nargs"> | ||
480 | <item>IN</item> | 480 | <item>IN</item> | ||
481 | <item>ITEMS</item> | 481 | <item>ITEMS</item> | ||
482 | <item>LISTS</item> | 482 | <item>LISTS</item> | ||
483 | <item>RANGE</item> | 483 | <item>RANGE</item> | ||
484 | </list> | 484 | </list> | ||
485 | <list name="get_cmake_property_sargs"> | ||||
486 | <item>CACHE_VARIABLES</item> | ||||
487 | <item>COMMANDS</item> | ||||
488 | <item>COMPONENTS</item> | ||||
489 | <item>MACROS</item> | ||||
490 | <item>VARIABLES</item> | ||||
491 | </list> | ||||
485 | <list name="get_directory_property_nargs"> | 492 | <list name="get_directory_property_nargs"> | ||
486 | <item>DEFINITION</item> | 493 | <item>DEFINITION</item> | ||
487 | <item>DIRECTORY</item> | 494 | <item>DIRECTORY</item> | ||
488 | </list> | 495 | </list> | ||
489 | <list name="get_filename_component_nargs"> | 496 | <list name="get_filename_component_nargs"> | ||
490 | <item>ABSOLUTE</item> | 497 | <item>ABSOLUTE</item> | ||
491 | <item>BASE_DIR</item> | 498 | <item>BASE_DIR</item> | ||
492 | <item>CACHE</item> | 499 | <item>CACHE</item> | ||
▲ Show 20 Lines • Show All 2400 Lines • ▼ Show 20 Line(s) | 2899 | <context attribute="Normal Text" lineEndContext="#stay" name="function_ctx_op"> | |||
2893 | <IncludeRules context="EndCmdPop2" /> | 2900 | <IncludeRules context="EndCmdPop2" /> | ||
2894 | <IncludeRules context="User Function Args" /> | 2901 | <IncludeRules context="User Function Args" /> | ||
2895 | </context> | 2902 | </context> | ||
2896 | <context attribute="Normal Text" lineEndContext="#stay" name="get_cmake_property_ctx"> | 2903 | <context attribute="Normal Text" lineEndContext="#stay" name="get_cmake_property_ctx"> | ||
2897 | <DetectChar attribute="Normal Text" context="get_cmake_property_ctx_op" char="(" /> | 2904 | <DetectChar attribute="Normal Text" context="get_cmake_property_ctx_op" char="(" /> | ||
2898 | </context> | 2905 | </context> | ||
2899 | <context attribute="Normal Text" lineEndContext="#stay" name="get_cmake_property_ctx_op"> | 2906 | <context attribute="Normal Text" lineEndContext="#stay" name="get_cmake_property_ctx_op"> | ||
2900 | <IncludeRules context="EndCmdPop2" /> | 2907 | <IncludeRules context="EndCmdPop2" /> | ||
2908 | <keyword attribute="Special Args" context="#stay" String="get_cmake_property_sargs" /> | ||||
2901 | <keyword attribute="Property" context="#stay" String="global-properties" /> | 2909 | <keyword attribute="Property" context="#stay" String="global-properties" /> | ||
2902 | <IncludeRules context="Detect More global-properties" /> | 2910 | <IncludeRules context="Detect More global-properties" /> | ||
2903 | <IncludeRules context="User Function Args" /> | 2911 | <IncludeRules context="User Function Args" /> | ||
2904 | </context> | 2912 | </context> | ||
2905 | <context attribute="Normal Text" lineEndContext="#stay" name="get_directory_property_ctx"> | 2913 | <context attribute="Normal Text" lineEndContext="#stay" name="get_directory_property_ctx"> | ||
2906 | <DetectChar attribute="Normal Text" context="get_directory_property_ctx_op" char="(" /> | 2914 | <DetectChar attribute="Normal Text" context="get_directory_property_ctx_op" char="(" /> | ||
2907 | </context> | 2915 | </context> | ||
2908 | <context attribute="Normal Text" lineEndContext="#stay" name="get_directory_property_ctx_op"> | 2916 | <context attribute="Normal Text" lineEndContext="#stay" name="get_directory_property_ctx_op"> | ||
▲ Show 20 Lines • Show All 906 Lines • ▼ Show 20 Line(s) | 3729 | <context attribute="Normal Text" lineEndContext="#stay" name="Detect More Builtin Variables"> | |||
3815 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_EXE_LINKER_FLAGS_&id_re;_INIT\b" /> | 3823 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_EXE_LINKER_FLAGS_&id_re;_INIT\b" /> | ||
3816 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_INTERPROCEDURAL_OPTIMIZATION_&id_re;\b" /> | 3824 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_INTERPROCEDURAL_OPTIMIZATION_&id_re;\b" /> | ||
3817 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_LIBRARY_OUTPUT_DIRECTORY_&id_re;\b" /> | 3825 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_LIBRARY_OUTPUT_DIRECTORY_&id_re;\b" /> | ||
3818 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MAP_IMPORTED_CONFIG_&id_re;\b" /> | 3826 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MAP_IMPORTED_CONFIG_&id_re;\b" /> | ||
3819 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MATCH_[0-9]+\b" /> | 3827 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MATCH_[0-9]+\b" /> | ||
3820 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MODULE_LINKER_FLAGS_&id_re;\b" /> | 3828 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MODULE_LINKER_FLAGS_&id_re;\b" /> | ||
3821 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MODULE_LINKER_FLAGS_&id_re;_INIT\b" /> | 3829 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_MODULE_LINKER_FLAGS_&id_re;_INIT\b" /> | ||
3822 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_PDB_OUTPUT_DIRECTORY_&id_re;\b" /> | 3830 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_PDB_OUTPUT_DIRECTORY_&id_re;\b" /> | ||
3823 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_POLICY_DEFAULT_CMP&id_re;\b" /> | 3831 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_POLICY_DEFAULT_CMP[0-9]{4}\b" /> | ||
3824 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_POLICY_WARNING_CMP&id_re;\b" /> | 3832 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_POLICY_WARNING_CMP[0-9]{4}\b" /> | ||
3825 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_PROJECT_&id_re;_INCLUDE\b" /> | 3833 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_PROJECT_&id_re;_INCLUDE\b" /> | ||
3826 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_RUNTIME_OUTPUT_DIRECTORY_&id_re;\b" /> | 3834 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_RUNTIME_OUTPUT_DIRECTORY_&id_re;\b" /> | ||
3827 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_SHARED_LINKER_FLAGS_&id_re;\b" /> | 3835 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_SHARED_LINKER_FLAGS_&id_re;\b" /> | ||
3828 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_SHARED_LINKER_FLAGS_&id_re;_INIT\b" /> | 3836 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_SHARED_LINKER_FLAGS_&id_re;_INIT\b" /> | ||
3829 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_&id_re;\b" /> | 3837 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_&id_re;\b" /> | ||
3830 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_&id_re;_INIT\b" /> | 3838 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_&id_re;_INIT\b" /> | ||
3831 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_USER_MAKE_RULES_OVERRIDE_&id_re;\b" /> | 3839 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_USER_MAKE_RULES_OVERRIDE_&id_re;\b" /> | ||
3832 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_XCODE_ATTRIBUTE_&id_re;\b" /> | 3840 | <RegExpr attribute="Builtin Variable" context="#stay" String="\bCMAKE_XCODE_ATTRIBUTE_&id_re;\b" /> | ||
▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines |