cmake.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "aliases": [
  3. "cmake.in"
  4. ],
  5. "case_insensitive": true,
  6. "keywords": {
  7. "keyword": "break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"
  8. },
  9. "contains": [
  10. {
  11. "className": "variable",
  12. "begin": "\\${",
  13. "end": "}"
  14. },
  15. {
  16. "className": "comment",
  17. "begin": "#",
  18. "end": "$",
  19. "contains": [
  20. {
  21. "begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
  22. },
  23. {
  24. "className": "doctag",
  25. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  26. "relevance": 0
  27. }
  28. ]
  29. },
  30. {
  31. "className": "string",
  32. "begin": "\"",
  33. "end": "\"",
  34. "illegal": "\\n",
  35. "contains": [
  36. {
  37. "begin": "\\\\[\\s\\S]",
  38. "relevance": 0
  39. }
  40. ]
  41. },
  42. {
  43. "className": "number",
  44. "begin": "\\b\\d+(\\.\\d+)?",
  45. "relevance": 0
  46. }
  47. ]
  48. }