您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

54 行
1.2 KiB

  1. version(1);
  2. project_name = "raylib-example";
  3. patterns = {
  4. "*.cpp",
  5. "*.c",
  6. "*.h",
  7. "*.bat",
  8. "*.sh",
  9. "*.4coder",
  10. "Makefile",
  11. };
  12. blacklist_patterns = {
  13. ".*",
  14. };
  15. load_paths = {
  16. { { {".", .relative = true, .recursive = true, } }, .os = "win" },
  17. { { {".", .relative = true, .recursive = true, } }, .os = "linux" },
  18. { { {".", .relative = true, .recursive = true, } }, .os = "mac" },
  19. };
  20. command_list = {
  21. { .name = "clean",
  22. .out = "*clean*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
  23. .cmd = {
  24. {"mingw32-make clean", .os = "win"},
  25. {"make clean", .os = "linux"},
  26. {"make clean", .os = "mac"},
  27. },
  28. },
  29. { .name = "build",
  30. .out = "*compile*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false,
  31. .cmd = {
  32. {"mingw32-make", .os = "win"},
  33. {"make", .os = "linux"},
  34. {"make", .os = "mac"},
  35. },
  36. },
  37. { .name = "run",
  38. .out = "*run*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
  39. .cmd = {
  40. {".\game.exe", .os = "win"},
  41. {"./game", .os = "linux"},
  42. {"./game", .os = "mac"},
  43. },
  44. },
  45. };
  46. fkey_command[3] = "clean";
  47. fkey_command[4] = "build";
  48. fkey_command[5] = "run";