karl2d.sublime-project 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. {
  2. "build_systems":
  3. [
  4. {
  5. "file_regex": "^(.+)\\(([0-9]+):([0-9]+)\\) (.+)$",
  6. "name": "Karl2D",
  7. "working_dir": "$project_path/..",
  8. "variants":
  9. [
  10. {
  11. "name": "minimal",
  12. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  13. "working_dir": "$project_path/../examples/minimal",
  14. },
  15. {
  16. "name": "minimal (gl)",
  17. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  18. "working_dir": "$project_path/../examples/minimal",
  19. },
  20. {
  21. "name": "minimal (web)",
  22. "shell_cmd": "odin run build_web -vet -strict-style -- examples/minimal_web",
  23. },
  24. {
  25. "name": "minimal (nil)",
  26. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=nil",
  27. "working_dir": "$project_path/../examples/minimal",
  28. },
  29. {
  30. "name": "fonts",
  31. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  32. "working_dir": "$project_path/../examples/fonts",
  33. },
  34. {
  35. "name": "fonts (web)",
  36. "shell_cmd": "odin run build_web -- examples/fonts",
  37. },
  38. {
  39. "name": "render_texture",
  40. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  41. "working_dir": "$project_path/../examples/render_texture",
  42. },
  43. {
  44. "name": "render_texture (gl)",
  45. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  46. "working_dir": "$project_path/../examples/render_texture",
  47. },
  48. {
  49. "name": "render_texture (web)",
  50. "shell_cmd": "odin run build_web -- examples/render_texture",
  51. },
  52. {
  53. "name": "multitexture",
  54. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  55. "working_dir": "$project_path/../examples/multitexture",
  56. },
  57. {
  58. "name": "multitexture (gl)",
  59. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  60. "working_dir": "$project_path/../examples/multitexture",
  61. },
  62. {
  63. "name": "multitexture (webgl)",
  64. "shell_cmd": "odin run build_web -- examples/multitexture",
  65. },
  66. {
  67. "name": "snake",
  68. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  69. "working_dir": "$project_path/../examples/snake",
  70. },
  71. {
  72. "name": "snake (web)",
  73. "shell_cmd": "odin run build_web -- examples/snake",
  74. },
  75. {
  76. "name": "box2d",
  77. "shell_cmd": "odin run . -vet -strict-style -keep-executable -linker:lld",
  78. "working_dir": "$project_path/../examples/box2d",
  79. },
  80. {
  81. "name": "box2d (web)",
  82. "shell_cmd": "odin run build_web -- examples/box2d",
  83. },
  84. {
  85. "name": "premultiplied_alpha",
  86. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  87. "working_dir": "$project_path/../examples/premultiplied_alpha",
  88. },
  89. {
  90. "name": "premultiplied_alpha (gl)",
  91. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  92. "working_dir": "$project_path/../examples/premultiplied_alpha",
  93. },
  94. {
  95. "name": "raylib_ports/2d_camera",
  96. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  97. "working_dir": "$project_path/../examples/raylib_ports/2d_camera",
  98. },
  99. {
  100. "name": "raylib_ports/shaders_texture_waves",
  101. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  102. "working_dir": "$project_path/../examples/raylib_ports/shaders_texture_waves",
  103. },
  104. {
  105. "name": "bunnymark",
  106. "shell_cmd": "odin run . -o:speed -vet -strict-style -no-bounds-check -keep-executable",
  107. "working_dir": "$project_path/../examples/raylib_ports/bunnymark",
  108. },
  109. {
  110. "name": "bunnymark (web)",
  111. "shell_cmd": "odin run build_web -- examples/raylib_ports/bunnymark",
  112. },
  113. {
  114. "name": "mouse",
  115. "shell_cmd": "odin run . -vet -strict-style -keep-executable",
  116. "working_dir": "$project_path/../examples/mouse",
  117. },
  118. {
  119. "name": "mouse (web)",
  120. "shell_cmd": "odin run build_web -- examples/mouse",
  121. },
  122. {
  123. "name": "gamepad",
  124. "shell_cmd": "odin run . -vet -strict-style -keep-executable",
  125. "working_dir": "$project_path/../examples/gamepad",
  126. },
  127. {
  128. "name": "gamepad (web)",
  129. "shell_cmd": "odin run build_web -- examples/gamepad",
  130. },
  131. {
  132. "name": "palette",
  133. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  134. "working_dir": "$project_path/../examples/palette",
  135. },
  136. {
  137. "name": "palette (web)",
  138. "shell_cmd": "odin run build_web -- examples/palette",
  139. },
  140. {
  141. "name": "api_doc_builder",
  142. "shell_cmd": "odin run api_doc_builder",
  143. "working_dir": "$project_path/..",
  144. },
  145. ],
  146. }
  147. ],
  148. "folders":
  149. [
  150. {
  151. "path": "..",
  152. },
  153. {
  154. "path": "~/sdk/Odin/base",
  155. },
  156. {
  157. "path": "~/sdk/Odin/core",
  158. },
  159. {
  160. "path": "~/sdk/Odin/vendor",
  161. },
  162. {
  163. "path": "C:\\SDK\\Odin\\base",
  164. },
  165. {
  166. "path": "C:\\SDK\\Odin\\core",
  167. },
  168. {
  169. "path": "C:\\SDK\\Odin\\vendor\\fontstash",
  170. },
  171. {
  172. "path": "C:\\SDK\\Odin\\vendor\\OpenGL",
  173. },
  174. {
  175. "path": "C:\\Projects\\Scraps\\raylib\\src",
  176. },
  177. {
  178. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d11",
  179. },
  180. {
  181. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxgi",
  182. },
  183. {
  184. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d_compiler",
  185. },
  186. {
  187. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxc",
  188. },
  189. {
  190. "path": "C:\\SDK\\Odin\\vendor\\wasm\\WebGL",
  191. },
  192. {
  193. "path": "C:\\projects\\raylib\\src"
  194. },
  195. ],
  196. "settings":
  197. {
  198. "LSP":
  199. {
  200. "odin":
  201. {
  202. "enabled": true,
  203. },
  204. },
  205. "auto_complete": false,
  206. },
  207. }