614 lines
26 KiB
XML
614 lines
26 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Author: Yevgen Muntyan <emuntyan@users.sourceforge.net>
|
|
Copyright (C) 2008 Yevgen Muntyan
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this library; if not, write to the
|
|
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|
|
|
|
-->
|
|
<language id="cmake" _name="CMake" version="2.0" _section="Others">
|
|
<metadata>
|
|
<property name="globs">CMakeLists.txt;*.cmake;*.cmake.in;*.ctest;*.ctest.in</property>
|
|
<property name="line-comment-start">#</property>
|
|
</metadata>
|
|
|
|
<styles>
|
|
<style id="builtin-command" _name="Bulit-in Command" map-to="def:function"/>
|
|
<style id="builtin-variable" _name="Bulit-in Variable" map-to="def:builtin"/>
|
|
<style id="constant" _name="Constant" map-to="def:constant"/>
|
|
<style id="operator" _name="Operator" map-to="def:operator"/>
|
|
<style id="control" _name="Control Keyword" map-to="def:keyword"/>
|
|
<style id="variable" _name="Variable" map-to="makefile:variable"/>
|
|
<style id="string" _name="String" map-to="def:string"/>
|
|
<style id="escaped-char" _name="Escaped Character" map-to="def:special-char"/>
|
|
<style id="property" _name="Property"/>
|
|
</styles>
|
|
|
|
<definitions>
|
|
|
|
<context id="builtin-command" style-ref="builtin-command">
|
|
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
|
<keyword>ADD_CUSTOM_COMMAND</keyword>
|
|
<keyword>ADD_CUSTOM_TARGET</keyword>
|
|
<keyword>ADD_DEFINITIONS</keyword>
|
|
<keyword>ADD_DEPENDENCIES</keyword>
|
|
<keyword>ADD_EXECUTABLE</keyword>
|
|
<keyword>ADD_LIBRARY</keyword>
|
|
<keyword>ADD_SUBDIRECTORY</keyword>
|
|
<keyword>ADD_TEST</keyword>
|
|
<keyword>AUX_SOURCE_DIRECTORY</keyword>
|
|
<keyword>BUILD_COMMAND</keyword>
|
|
<keyword>CMAKE_MINIMUM_REQUIRED</keyword>
|
|
<keyword>CMAKE_POLICY</keyword>
|
|
<keyword>CONFIGURE_FILE</keyword>
|
|
<keyword>CREATE_TEST_SOURCELIST</keyword>
|
|
<keyword>DEFINE_PROPERTY</keyword>
|
|
<keyword>ENABLE_LANGUAGE</keyword>
|
|
<keyword>ENABLE_TESTING</keyword>
|
|
<keyword>ENDFUNCTION</keyword>
|
|
<keyword>ENDMACRO</keyword>
|
|
<keyword>EXECUTE_PROCESS</keyword>
|
|
<keyword>EXPORT</keyword>
|
|
<keyword>FILE</keyword>
|
|
<keyword>FIND_FILE</keyword>
|
|
<keyword>FIND_LIBRARY</keyword>
|
|
<keyword>FIND_PACKAGE</keyword>
|
|
<keyword>FIND_PATH</keyword>
|
|
<keyword>FIND_PROGRAM</keyword>
|
|
<keyword>FUNCTION</keyword>
|
|
<keyword>GET_CMAKE_PROPERTY</keyword>
|
|
<keyword>GET_DIRECTORY_PROPERTY</keyword>
|
|
<keyword>GET_FILENAME_COMPONENT</keyword>
|
|
<keyword>GET_PROPERTY</keyword>
|
|
<keyword>GET_SOURCE_FILE_PROPERTY</keyword>
|
|
<keyword>GET_TARGET_PROPERTY</keyword>
|
|
<keyword>GET_TEST_PROPERTY</keyword>
|
|
<keyword>INCLUDE_DIRECTORIES</keyword>
|
|
<keyword>INCLUDE_EXTERNAL_MSPROJECT</keyword>
|
|
<keyword>INCLUDE</keyword>
|
|
<keyword>INCLUDE_REGULAR_EXPRESSION</keyword>
|
|
<keyword>INSTALL</keyword>
|
|
<keyword>LINK_DIRECTORIES</keyword>
|
|
<keyword>LIST</keyword>
|
|
<keyword>LOAD_CACHE</keyword>
|
|
<keyword>LOAD_COMMAND</keyword>
|
|
<keyword>MACRO</keyword>
|
|
<keyword>MARK_AS_ADVANCED</keyword>
|
|
<keyword>MATH</keyword>
|
|
<keyword>MESSAGE</keyword>
|
|
<keyword>OPTION</keyword>
|
|
<keyword>OUTPUT_REQUIRED_FILES</keyword>
|
|
<keyword>PROJECT</keyword>
|
|
<keyword>REMOVE_DEFINITIONS</keyword>
|
|
<keyword>RETURN</keyword>
|
|
<keyword>SEPARATE_ARGUMENTS</keyword>
|
|
<keyword>SET_DIRECTORY_PROPERTIES</keyword>
|
|
<keyword>SET_PROPERTY</keyword>
|
|
<keyword>SET_SOURCE_FILES_PROPERTIES</keyword>
|
|
<keyword>SET_TARGET_PROPERTIES</keyword>
|
|
<keyword>SET_TESTS_PROPERTIES</keyword>
|
|
<keyword>SITE_NAME</keyword>
|
|
<keyword>SOURCE_GROUP</keyword>
|
|
<keyword>STRING</keyword>
|
|
<keyword>TARGET_LINK_LIBRARIES</keyword>
|
|
<keyword>TRY_COMPILE</keyword>
|
|
<keyword>TRY_RUN</keyword>
|
|
<keyword>VARIABLE_WATCH</keyword>
|
|
</context>
|
|
|
|
<context id="other-commands" style-ref="builtin-command">
|
|
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
|
<keyword>ADD_FILE_DEPENDENCIES</keyword>
|
|
<keyword>CHECK_C_COMPILER_FLAG</keyword>
|
|
<keyword>CHECK_C_SOURCE_COMPILES</keyword>
|
|
<keyword>CHECK_C_SOURCE_RUNS</keyword>
|
|
<keyword>CHECK_CXX_COMPILER_FLAG</keyword>
|
|
<keyword>CHECK_CXX_SOURCE_COMPILES</keyword>
|
|
<keyword>CHECK_CXX_SOURCE_RUNS</keyword>
|
|
<keyword>CHECK_FORTRAN_FUNCTION_EXISTS</keyword>
|
|
<keyword>CHECK_FUNCTION_EXISTS</keyword>
|
|
<keyword>CHECK_INCLUDE_FILE</keyword>
|
|
<keyword>CHECK_INCLUDE_FILE_CXX</keyword>
|
|
<keyword>CHECK_INCLUDE_FILES</keyword>
|
|
<keyword>CHECK_LIBRARY_EXISTS</keyword>
|
|
<keyword>CHECK_STRUCT_HAS_MEMBER</keyword>
|
|
<keyword>CHECK_SYMBOL_EXISTS</keyword>
|
|
<keyword>CHECK_TYPE_SIZE</keyword>
|
|
<keyword>CHECK_VARIABLE_EXISTS</keyword>
|
|
<keyword>CLEAR_BUNDLE_KEYS</keyword>
|
|
<keyword>CMAKE_DEPENDENT_OPTION</keyword>
|
|
<keyword>CMAKE_EXPORT_BUILD_SETTINGS</keyword>
|
|
<keyword>CMAKE_FORCE_C_COMPILER</keyword>
|
|
<keyword>CMAKE_FORCE_CXX_COMPILER</keyword>
|
|
<keyword>CMAKE_IMPORT_BUILD_SETTINGS</keyword>
|
|
<keyword>COPY_AND_FIXUP_BUNDLE</keyword>
|
|
<keyword>COPY_RESOLVED_ITEM_INTO_BUNDLE</keyword>
|
|
<keyword>CPACK_ADD_COMPONENT</keyword>
|
|
<keyword>CPACK_ADD_COMPONENT_GROUP</keyword>
|
|
<keyword>CPACK_ADD_INSTALL_TYPE</keyword>
|
|
<keyword>CPACK_CONFIGURE_DOWNLOADS</keyword>
|
|
<keyword>FIND_PACKAGE_HANDLE_STANDARD_ARGS</keyword>
|
|
<keyword>FIND_PACKAGE_MESSAGE</keyword>
|
|
<keyword>FIXUP_BUNDLE</keyword>
|
|
<keyword>FIXUP_BUNDLE_ITEM</keyword>
|
|
<keyword>FLTK_WRAP_UI</keyword>
|
|
<keyword>GET_BUNDLE_ALL_EXECUTABLES</keyword>
|
|
<keyword>GET_BUNDLE_AND_EXECUTABLE</keyword>
|
|
<keyword>GET_BUNDLE_KEYS</keyword>
|
|
<keyword>GET_BUNDLE_MAIN_EXECUTABLE</keyword>
|
|
<keyword>GET_DOTAPP_DIR</keyword>
|
|
<keyword>GET_ITEM_KEY</keyword>
|
|
<keyword>GETTEXT_CREATE_TRANSLATIONS</keyword>
|
|
<keyword>KDE3_ADD_DCOP_SKELS</keyword>
|
|
<keyword>KDE3_ADD_DCOP_STUBS</keyword>
|
|
<keyword>KDE3_ADD_EXECUTABLE</keyword>
|
|
<keyword>KDE3_ADD_KCFG_FILES</keyword>
|
|
<keyword>KDE3_ADD_KDEINIT_EXECUTABLE</keyword>
|
|
<keyword>KDE3_ADD_KPART</keyword>
|
|
<keyword>KDE3_ADD_MOC_FILES</keyword>
|
|
<keyword>KDE3_ADD_UI_FILES</keyword>
|
|
<keyword>KDE3_AUTOMOC</keyword>
|
|
<keyword>KDE3_INSTALL_LIBTOOL_FILE</keyword>
|
|
<keyword>MACRO_OPTIONAL_FIND_PACKAGE</keyword>
|
|
<keyword>PKG_CHECK_MODULES</keyword>
|
|
<keyword>PKGCONFIG</keyword>
|
|
<keyword>PKG_SEARCH_MODULE</keyword>
|
|
<keyword>PRINT_DISABLED_FEATURES</keyword>
|
|
<keyword>PRINT_ENABLED_FEATURES</keyword>
|
|
<keyword>QT4_ADD_DBUS_ADAPTOR</keyword>
|
|
<keyword>QT4_ADD_DBUS_INTERFACE</keyword>
|
|
<keyword>QT4_ADD_DBUS_INTERFACES</keyword>
|
|
<keyword>QT4_ADD_RESOURCES</keyword>
|
|
<keyword>QT4_ADD_TRANSLATION</keyword>
|
|
<keyword>QT4_AUTOMOC</keyword>
|
|
<keyword>QT4_CREATE_TRANSLATION</keyword>
|
|
<keyword>QT4_GENERATE_DBUS_INTERFACE</keyword>
|
|
<keyword>QT4_GENERATE_MOC</keyword>
|
|
<keyword>QT4_WRAP_CPP</keyword>
|
|
<keyword>QT4_WRAP_UI</keyword>
|
|
<keyword>QT_WRAP_CPP</keyword>
|
|
<keyword>QT_WRAP_UI</keyword>
|
|
<keyword>SET_BUNDLE_KEY_VALUES</keyword>
|
|
<keyword>SET_FEATURE_INFO</keyword>
|
|
<keyword>SUBVERSION_WC_INFO</keyword>
|
|
<keyword>SWIG_ADD_MODULE</keyword>
|
|
<keyword>SWIG_LINK_LIBRARIES</keyword>
|
|
<keyword>TEST_BIG_ENDIAN</keyword>
|
|
<keyword>VERIFY_APP</keyword>
|
|
<keyword>VERIFY_BUNDLE_PREREQUISITES</keyword>
|
|
<keyword>VERIFY_BUNDLE_SYMLINKS</keyword>
|
|
</context>
|
|
|
|
<context id="property" style-ref="property">
|
|
<keyword>ABSTRACT</keyword>
|
|
<keyword>ADDITIONAL_MAKE_CLEAN_FILES</keyword>
|
|
<keyword>ALLOW_DUPLICATE_CUSTOM_TARGETS</keyword>
|
|
<keyword>ARCHIVE_OUTPUT_DIRECTORY</keyword>
|
|
<keyword>BUILD_WITH_INSTALL_RPATH</keyword>
|
|
<keyword>CACHE_VARIABLES</keyword>
|
|
<keyword>CLEAN_DIRECT_OUTPUT</keyword>
|
|
<keyword>CLEAN_NO_CUSTOM</keyword>
|
|
<keyword>__CMAKE_DELETE_CACHE_CHANGE_VARS_</keyword>
|
|
<keyword>COMPILE_DEFINITIONS(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>COMPILE_FLAGS</keyword>
|
|
<keyword>DEBUG_POSTFIX</keyword>
|
|
<keyword>DEFINE_SYMBOL</keyword>
|
|
<keyword>DEFINITIONS</keyword>
|
|
<keyword>DISABLED_FEATURES</keyword>
|
|
<keyword>ECHOSTRING</keyword>
|
|
<keyword>ENABLED_FEATURES</keyword>
|
|
<keyword>ENABLED_LANGUAGES</keyword>
|
|
<keyword>ENABLE_EXPORTS</keyword>
|
|
<keyword>EXCLUDE_FROM_ALL</keyword>
|
|
<keyword>EXTERNAL_OBJECT</keyword>
|
|
<keyword>FAIL_REGULAR_EXPRESSION</keyword>
|
|
<keyword>FIND_LIBRARY_USE_LIB64_PATHS</keyword>
|
|
<keyword>FORTRAN_MODULE_DIRECTORY</keyword>
|
|
<keyword>FRAMEWORK</keyword>
|
|
<keyword>GENERATED</keyword>
|
|
<keyword>GENERATOR_FILE_NAME</keyword>
|
|
<keyword>GLOBAL_DEPENDS_DEBUG_MODE</keyword>
|
|
<keyword>HAS_CXX</keyword>
|
|
<keyword>HEADER_FILE_ONLY</keyword>
|
|
<keyword>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM</keyword>
|
|
<keyword>IMPORTED_CONFIGURATIONS</keyword>
|
|
<keyword>IMPORTED_IMPLIB(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>IMPORTED</keyword>
|
|
<keyword>IMPORTED_LINK_DEPENDENT_LIBRARIES(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>IMPORTED_LINK_INTERFACE_LIBRARIES(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>IMPORTED_LOCATION(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>IMPORTED_SONAME(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>IMPORT_PREFIX</keyword>
|
|
<keyword>IMPORT_SUFFIX</keyword>
|
|
<keyword>INCLUDE_DIRECTORIES</keyword>
|
|
<keyword>INCLUDE_REGULAR_EXPRESSION</keyword>
|
|
<keyword>INSTALL_NAME_DIR</keyword>
|
|
<keyword>INSTALL_RPATH</keyword>
|
|
<keyword>INSTALL_RPATH_USE_LINK_PATH</keyword>
|
|
<keyword>IN_TRY_COMPILE</keyword>
|
|
<keyword>KEEP_EXTENSION</keyword>
|
|
<keyword>LANGUAGE</keyword>
|
|
<keyword>LIBRARY_OUTPUT_DIRECTORY</keyword>
|
|
<keyword>LINK_DIRECTORIES</keyword>
|
|
<keyword>LINKER_LANGUAGE</keyword>
|
|
<keyword>LINK_FLAGS(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>LINK_INTERFACE_LIBRARIES(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>LINK_SEARCH_END_STATIC</keyword>
|
|
<keyword>LISTFILE_STACK</keyword>
|
|
<keyword>LOCATION(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>LOCATION</keyword>
|
|
<keyword>MACOSX_BUNDLE_INFO_PLIST</keyword>
|
|
<keyword>MACOSX_BUNDLE</keyword>
|
|
<keyword>MACOSX_FRAMEWORK_INFO_PLIST</keyword>
|
|
<keyword>MACOSX_PACKAGE_LOCATION</keyword>
|
|
<keyword>MACROS</keyword>
|
|
<keyword>MAP_IMPORTED_CONFIG(_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO))?</keyword>
|
|
<keyword>MEASUREMENT</keyword>
|
|
<keyword>OBJECT_DEPENDS</keyword>
|
|
<keyword>OBJECT_OUTPUTS</keyword>
|
|
<keyword>OUTPUT_NAME</keyword>
|
|
<keyword>PACKAGES_FOUND</keyword>
|
|
<keyword>PACKAGES_NOT_FOUND</keyword>
|
|
<keyword>PARENT_DIRECTORY</keyword>
|
|
<keyword>PASS_REGULAR_EXPRESSION</keyword>
|
|
<keyword>POST_INSTALL_SCRIPT</keyword>
|
|
<keyword>PREFIX</keyword>
|
|
<keyword>PRE_INSTALL_SCRIPT</keyword>
|
|
<keyword>PRIVATE_HEADER</keyword>
|
|
<keyword>PUBLIC_HEADER</keyword>
|
|
<keyword>REPORT_UNDEFINED_PROPERTIES</keyword>
|
|
<keyword>RESOURCE</keyword>
|
|
<keyword>RUNTIME_OUTPUT_DIRECTORY</keyword>
|
|
<keyword>SKIP_BUILD_RPATH</keyword>
|
|
<keyword>SOURCES</keyword>
|
|
<keyword>SOVERSION</keyword>
|
|
<keyword>STATIC_LIBRARY_FLAGS</keyword>
|
|
<keyword>SUFFIX</keyword>
|
|
<keyword>SYMBOLIC</keyword>
|
|
<keyword>TARGET_ARCHIVES_MAY_BE_SHARED_LIBS</keyword>
|
|
<keyword>TARGET_SUPPORTS_SHARED_LIBS</keyword>
|
|
<keyword>TEST_INCLUDE_FILE</keyword>
|
|
<keyword>TIMEOUT</keyword>
|
|
<keyword>VARIABLES</keyword>
|
|
<keyword>VERSION</keyword>
|
|
<keyword>WILL_FAIL</keyword>
|
|
<keyword>WIN32_EXECUTABLE</keyword>
|
|
<keyword>WRAP_EXCLUDE</keyword>
|
|
<keyword>XCODE_ATTRIBUTE_[\W+]</keyword>
|
|
</context>
|
|
|
|
<context id="compat-commands" style-ref="builtin-command">
|
|
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
|
<keyword>BUILD_NAME</keyword>
|
|
<keyword>EXEC_PROGRAM</keyword>
|
|
<keyword>EXPORT_LIBRARY_DEPENDENCIES</keyword>
|
|
<keyword>INSTALL_FILES</keyword>
|
|
<keyword>INSTALL_PROGRAMS</keyword>
|
|
<keyword>INSTALL_TARGETS</keyword>
|
|
<keyword>LINK_LIBRARIES</keyword>
|
|
<keyword>MAKE_DIRECTORY</keyword>
|
|
<keyword>REMOVE</keyword>
|
|
<keyword>SUBDIR_DEPENDS</keyword>
|
|
<keyword>SUBDIRS</keyword>
|
|
<keyword>USE_MANGLED_MESA</keyword>
|
|
<keyword>UTILITY_SOURCE</keyword>
|
|
<keyword>VARIABLE_REQUIRES</keyword>
|
|
<keyword>WRITE_FILE</keyword>
|
|
</context>
|
|
|
|
<context id="constant" style-ref="constant">
|
|
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
|
<keyword>BOOL</keyword>
|
|
<keyword>CACHE</keyword>
|
|
<keyword>FALSE</keyword>
|
|
<keyword>N</keyword>
|
|
<keyword>NO</keyword>
|
|
<keyword>OFF</keyword>
|
|
<keyword>NOTFOUND</keyword>
|
|
<keyword>TRUE</keyword>
|
|
</context>
|
|
|
|
<context id="builtin-variable" style-ref="builtin-variable">
|
|
<keyword>APPLE</keyword>
|
|
<keyword>BORLAND</keyword>
|
|
<keyword>CMAKE_AR</keyword>
|
|
<keyword>CMAKE_BACKWARDS_COMPATIBILITY</keyword>
|
|
<keyword>CMAKE_BASE_NAME</keyword>
|
|
<keyword>CMAKE_BINARY_DIR</keyword>
|
|
<keyword>CMAKE_BUILD_TOOL</keyword>
|
|
<keyword>CMAKE_BUILD_TYPE</keyword>
|
|
<keyword>CMAKE_CACHEFILE_DIR</keyword>
|
|
<keyword>CMAKE_CACHE_MAJOR_VERSION</keyword>
|
|
<keyword>CMAKE_CACHE_MINOR_VERSION</keyword>
|
|
<keyword>CMAKE_CACHE_RELEASE_VERSION</keyword>
|
|
<keyword>CMAKE_CFG_INTDIR</keyword>
|
|
<keyword>CMAKE_COLOR_MAKEFILE</keyword>
|
|
<keyword>CMAKE_COMMAND</keyword>
|
|
<keyword>CMAKE_COMPILER_IS_GNUCC</keyword>
|
|
<keyword>CMAKE_COMPILER_IS_GNUCC_RUN</keyword>
|
|
<keyword>CMAKE_COMPILER_IS_GNUCXX</keyword>
|
|
<keyword>CMAKE_COMPILER_IS_GNUCXX_RUN</keyword>
|
|
<keyword>CMAKE_CTEST_COMMAND</keyword>
|
|
<keyword>CMAKE_CURRENT_BINARY_DIR</keyword>
|
|
<keyword>CMAKE_CURRENT_SOURCE_DIR</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER_ARG1</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER_ENV_VAR</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER_FULLPATH</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER_LOADED</keyword>
|
|
<keyword>CMAKE_CXX_COMPILER_WORKS</keyword>
|
|
<keyword>CMAKE_CXX_COMPILE_OBJECT</keyword>
|
|
<keyword>CMAKE_CXX_CREATE_SHARED_LIBRARY</keyword>
|
|
<keyword>CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS</keyword>
|
|
<keyword>CMAKE_CXX_CREATE_SHARED_MODULE</keyword>
|
|
<keyword>CMAKE_CXX_CREATE_STATIC_LIBRARY</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_DEBUG</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_DEBUG_INIT</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_INIT</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_MINSIZEREL</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_MINSIZEREL_INIT</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_RELEASE</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_RELEASE_INIT</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_RELWITHDEBINFO</keyword>
|
|
<keyword>CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT</keyword>
|
|
<keyword>CMAKE_CXX_IGNORE_EXTENSIONS</keyword>
|
|
<keyword>CMAKE_CXX_INFORMATION_LOADED</keyword>
|
|
<keyword>CMAKE_CXX_LINKER_PREFERENCE</keyword>
|
|
<keyword>CMAKE_CXX_LINK_EXECUTABLE</keyword>
|
|
<keyword>CMAKE_CXX_LINK_FLAGS</keyword>
|
|
<keyword>CMAKE_CXX_OUTPUT_EXTENSION</keyword>
|
|
<keyword>CMAKE_CXX_SOURCE_FILE_EXTENSIONS</keyword>
|
|
<keyword>CMAKE_C_COMPILER</keyword>
|
|
<keyword>CMAKE_C_COMPILER_ARG1</keyword>
|
|
<keyword>CMAKE_C_COMPILER_ENV_VAR</keyword>
|
|
<keyword>CMAKE_C_COMPILER_FULLPATH</keyword>
|
|
<keyword>CMAKE_C_COMPILER_LOADED</keyword>
|
|
<keyword>CMAKE_C_COMPILER_WORKS</keyword>
|
|
<keyword>CMAKE_C_COMPILE_OBJECT</keyword>
|
|
<keyword>CMAKE_C_CREATE_SHARED_LIBRARY</keyword>
|
|
<keyword>CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS</keyword>
|
|
<keyword>CMAKE_C_CREATE_SHARED_MODULE</keyword>
|
|
<keyword>CMAKE_C_CREATE_STATIC_LIBRARY</keyword>
|
|
<keyword>CMAKE_C_FLAGS</keyword>
|
|
<keyword>CMAKE_C_FLAGS_DEBUG</keyword>
|
|
<keyword>CMAKE_C_FLAGS_DEBUG_INIT</keyword>
|
|
<keyword>CMAKE_C_FLAGS_INIT</keyword>
|
|
<keyword>CMAKE_C_FLAGS_MINSIZEREL</keyword>
|
|
<keyword>CMAKE_C_FLAGS_MINSIZEREL_INIT</keyword>
|
|
<keyword>CMAKE_C_FLAGS_RELEASE</keyword>
|
|
<keyword>CMAKE_C_FLAGS_RELEASE_INIT</keyword>
|
|
<keyword>CMAKE_C_FLAGS_RELWITHDEBINFO</keyword>
|
|
<keyword>CMAKE_C_FLAGS_RELWITHDEBINFO_INIT</keyword>
|
|
<keyword>CMAKE_C_IGNORE_EXTENSIONS</keyword>
|
|
<keyword>CMAKE_C_INFORMATION_LOADED</keyword>
|
|
<keyword>CMAKE_C_LINKER_PREFERENCE</keyword>
|
|
<keyword>CMAKE_C_LINK_EXECUTABLE</keyword>
|
|
<keyword>CMAKE_C_LINK_FLAGS</keyword>
|
|
<keyword>CMAKE_C_OUTPUT_EXTENSION</keyword>
|
|
<keyword>CMAKE_C_SOURCE_FILE_EXTENSIONS</keyword>
|
|
<keyword>CMAKE_DL_LIBS</keyword>
|
|
<keyword>CMAKE_EDIT_COMMAND</keyword>
|
|
<keyword>CMAKE_EXECUTABLE_SUFFIX</keyword>
|
|
<keyword>CMAKE_EXE_LINKER_FLAGS</keyword>
|
|
<keyword>CMAKE_EXE_LINKER_FLAGS_DEBUG</keyword>
|
|
<keyword>CMAKE_EXE_LINKER_FLAGS_MINSIZEREL</keyword>
|
|
<keyword>CMAKE_EXE_LINKER_FLAGS_RELEASE</keyword>
|
|
<keyword>CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO</keyword>
|
|
<keyword>CMAKE_FILES_DIRECTORY</keyword>
|
|
<keyword>CMAKE_FIND_APPBUNDLE</keyword>
|
|
<keyword>CMAKE_FIND_FRAMEWORK</keyword>
|
|
<keyword>CMAKE_FIND_LIBRARY_PREFIXES</keyword>
|
|
<keyword>CMAKE_FIND_LIBRARY_SUFFIXES</keyword>
|
|
<keyword>CMAKE_GENERATOR</keyword>
|
|
<keyword>CMAKE_HOME_DIRECTORY</keyword>
|
|
<keyword>CMAKE_INCLUDE_FLAG_C</keyword>
|
|
<keyword>CMAKE_INCLUDE_FLAG_CXX</keyword>
|
|
<keyword>CMAKE_INCLUDE_FLAG_C_SEP</keyword>
|
|
<keyword>CMAKE_INIT_VALUE</keyword>
|
|
<keyword>CMAKE_INSTALL_PREFIX</keyword>
|
|
<keyword>CMAKE_LIBRARY_PATH_FLAG</keyword>
|
|
<keyword>CMAKE_LINK_LIBRARY_FLAG</keyword>
|
|
<keyword>CMAKE_LINK_LIBRARY_SUFFIX</keyword>
|
|
<keyword>CMAKE_MAJOR_VERSION</keyword>
|
|
<keyword>CMAKE_MAKE_PROGRAM</keyword>
|
|
<keyword>CMAKE_MINOR_VERSION</keyword>
|
|
<keyword>CMAKE_MODULE_EXISTS</keyword>
|
|
<keyword>CMAKE_MODULE_LINKER_FLAGS</keyword>
|
|
<keyword>CMAKE_MODULE_LINKER_FLAGS_DEBUG</keyword>
|
|
<keyword>CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL</keyword>
|
|
<keyword>CMAKE_MODULE_LINKER_FLAGS_RELEASE</keyword>
|
|
<keyword>CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO</keyword>
|
|
<keyword>CMAKE_MacOSX_Content_COMPILE_OBJECT</keyword>
|
|
<keyword>CMAKE_NUMBER_OF_LOCAL_GENERATORS</keyword>
|
|
<keyword>CMAKE_OSX_ARCHITECTURES</keyword>
|
|
<keyword>CMAKE_OSX_SYSROOT</keyword>
|
|
<keyword>CMAKE_PARENT_LIST_FILE</keyword>
|
|
<keyword>CMAKE_PATCH_VERSION</keyword>
|
|
<keyword>CMAKE_PLATFORM_HAS_INSTALLNAME</keyword>
|
|
<keyword>CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES</keyword>
|
|
<keyword>CMAKE_PLATFORM_ROOT_BIN</keyword>
|
|
<keyword>CMAKE_PROJECT_NAME</keyword>
|
|
<keyword>CMAKE_RANLIB</keyword>
|
|
<keyword>CMAKE_ROOT</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_CXX_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_C_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_LINK_C_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_PREFIX</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_SONAME_C_FLAG</keyword>
|
|
<keyword>CMAKE_SHARED_LIBRARY_SUFFIX</keyword>
|
|
<keyword>CMAKE_SHARED_LINKER_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_LINKER_FLAGS_DEBUG</keyword>
|
|
<keyword>CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL</keyword>
|
|
<keyword>CMAKE_SHARED_LINKER_FLAGS_RELEASE</keyword>
|
|
<keyword>CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO</keyword>
|
|
<keyword>CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_MODULE_CREATE_C_FLAGS</keyword>
|
|
<keyword>CMAKE_SHARED_MODULE_PREFIX</keyword>
|
|
<keyword>CMAKE_SHARED_MODULE_SUFFIX</keyword>
|
|
<keyword>CMAKE_SIZEOF_VOID_P</keyword>
|
|
<keyword>CMAKE_SKIP_RPATH</keyword>
|
|
<keyword>CMAKE_SOURCE_DIR</keyword>
|
|
<keyword>CMAKE_STATIC_LIBRARY_PREFIX</keyword>
|
|
<keyword>CMAKE_STATIC_LIBRARY_SUFFIX</keyword>
|
|
<keyword>CMAKE_SYSTEM</keyword>
|
|
<keyword>CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE</keyword>
|
|
<keyword>CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE</keyword>
|
|
<keyword>CMAKE_SYSTEM_APPBUNDLE_PATH</keyword>
|
|
<keyword>CMAKE_SYSTEM_FRAMEWORK_PATH</keyword>
|
|
<keyword>CMAKE_SYSTEM_INCLUDE_PATH</keyword>
|
|
<keyword>CMAKE_SYSTEM_INFO_FILE</keyword>
|
|
<keyword>CMAKE_SYSTEM_LIBRARY_PATH</keyword>
|
|
<keyword>CMAKE_SYSTEM_LOADED</keyword>
|
|
<keyword>CMAKE_SYSTEM_NAME</keyword>
|
|
<keyword>CMAKE_SYSTEM_PROCESSOR</keyword>
|
|
<keyword>CMAKE_SYSTEM_PROGRAM_PATH</keyword>
|
|
<keyword>CMAKE_SYSTEM_SPECIFIC_INFORMATION_LOADED</keyword>
|
|
<keyword>CMAKE_SYSTEM_VERSION</keyword>
|
|
<keyword>CMAKE_UNAME</keyword>
|
|
<keyword>CMAKE_USE_RELATIVE_PATHS</keyword>
|
|
<keyword>CMAKE_VERBOSE_MAKEFILE</keyword>
|
|
<keyword>CYGWIN</keyword>
|
|
<keyword>EXECUTABLE_OUTPUT_PATH</keyword>
|
|
<keyword>FORCE</keyword>
|
|
<keyword>HAVE_CMAKE_SIZEOF_VOID_P</keyword>
|
|
<keyword>LIBRARY_OUTPUT_PATH</keyword>
|
|
<keyword>MACOSX_BUNDLE</keyword>
|
|
<keyword>MINGW</keyword>
|
|
<keyword>MSVC60</keyword>
|
|
<keyword>MSVC70</keyword>
|
|
<keyword>MSVC71</keyword>
|
|
<keyword>MSVC80</keyword>
|
|
<keyword>MSVC</keyword>
|
|
<keyword>MSVC_IDE</keyword>
|
|
<keyword>OFF</keyword>
|
|
<keyword>ON</keyword>
|
|
<keyword>PROJECT_BINARY_DIR</keyword>
|
|
<keyword>PROJECT_NAME</keyword>
|
|
<keyword>PROJECT_SOURCE_DIR</keyword>
|
|
<keyword>Project_BINARY_DIR</keyword>
|
|
<keyword>Project_SOURCE_DIR</keyword>
|
|
<keyword>RUN_CONFIGURE</keyword>
|
|
<keyword>UNIX</keyword>
|
|
<keyword>WIN32</keyword>
|
|
<keyword>_CMAKE_OSX_MACHINE</keyword>
|
|
</context>
|
|
|
|
<context id="builtin-variable-2" style-ref="builtin-variable">
|
|
<keyword>LOCATION</keyword>
|
|
<keyword>TARGET</keyword>
|
|
<keyword>POST_BUILD</keyword>
|
|
<keyword>PRE_BUILD</keyword>
|
|
<keyword>ARGS</keyword>
|
|
</context>
|
|
|
|
<context id="operator" style-ref="operator">
|
|
<keyword>AND</keyword>
|
|
<keyword>COMMAND</keyword>
|
|
<keyword>DEFINED</keyword>
|
|
<keyword>DOC</keyword>
|
|
<keyword>EQUAL</keyword>
|
|
<keyword>EXISTS</keyword>
|
|
<keyword>GREATER</keyword>
|
|
<keyword>INTERNAL</keyword>
|
|
<keyword>LESS</keyword>
|
|
<keyword>MATCHES</keyword>
|
|
<keyword>NAME</keyword>
|
|
<keyword>NAMES</keyword>
|
|
<keyword>NAME_WE</keyword>
|
|
<keyword>NOT</keyword>
|
|
<keyword>OR</keyword>
|
|
<keyword>PATH</keyword>
|
|
<keyword>PATHS</keyword>
|
|
<keyword>PROGRAM</keyword>
|
|
<keyword>STREQUAL</keyword>
|
|
<keyword>STRGREATER</keyword>
|
|
<keyword>STRING</keyword>
|
|
<keyword>STRLESS</keyword>
|
|
</context>
|
|
|
|
<context id="control" style-ref="control">
|
|
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
|
<keyword>BREAK</keyword>
|
|
<keyword>ELSEIF</keyword>
|
|
<keyword>ELSE</keyword>
|
|
<keyword>ENDFOREACH</keyword>
|
|
<keyword>ENDIF</keyword>
|
|
<keyword>ENDWHILE</keyword>
|
|
<keyword>FOREACH</keyword>
|
|
<keyword>IF</keyword>
|
|
<keyword>WHILE</keyword>
|
|
</context>
|
|
|
|
<context id="variable" style-ref="variable" end-at-line-end="true">
|
|
<start>\$(ENV)?\{</start>
|
|
<end>\}</end>
|
|
<include>
|
|
<context ref="builtin-variable"/>
|
|
<context ref="builtin-variable-2"/>
|
|
</include>
|
|
</context>
|
|
|
|
<context id="variable-assignment">
|
|
<start>\b((?i)SET)\b\s*\(\s*([\w_][\w\d_]*|ENV\{[\w\d_]*\})</start>
|
|
<end>\)</end>
|
|
<include>
|
|
<context sub-pattern="1" where="start" style-ref="builtin-command"/>
|
|
<context sub-pattern="2" where="start" style-ref="variable"/>
|
|
<context ref="variable"/>
|
|
<context ref="constant"/>
|
|
<context ref="escaped-quote"/>
|
|
<context ref="string"/>
|
|
<context ref="def:shell-like-comment"/>
|
|
</include>
|
|
</context>
|
|
|
|
<context id="escaped-quote" style-ref="def:special-char">
|
|
<match>\\"</match>
|
|
</context>
|
|
|
|
<context id="string" style-ref="string" end-at-line-end="true">
|
|
<start>"</start>
|
|
<end>"</end>
|
|
<include>
|
|
<context ref="def:escape"/>
|
|
<context ref="variable"/>
|
|
</include>
|
|
</context>
|
|
|
|
<context id="cmake">
|
|
<include>
|
|
<context ref="escaped-quote"/>
|
|
<context ref="string"/>
|
|
<context ref="variable"/>
|
|
<context ref="variable-assignment"/>
|
|
<context ref="def:shell-like-comment"/>
|
|
<context ref="constant"/>
|
|
<context ref="builtin-command"/>
|
|
<context ref="operator"/>
|
|
<context ref="control"/>
|
|
</include>
|
|
</context>
|
|
|
|
</definitions>
|
|
</language>
|