karl2d.sublime-project 5.7 KB

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