karl2d.sublime-project 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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 . -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": "gamepad",
  116. "shell_cmd": "odin run . -vet -strict-style -keep-executable",
  117. "working_dir": "$project_path/../examples/gamepad",
  118. },
  119. {
  120. "name": "gamepad (web)",
  121. "shell_cmd": "odin run build_web_example -- gamepad",
  122. "working_dir": "$project_path/../examples",
  123. },
  124. {
  125. "name": "api_doc_builder",
  126. "shell_cmd": "odin run api_doc_builder",
  127. "working_dir": "$project_path/..",
  128. },
  129. ],
  130. }
  131. ],
  132. "folders":
  133. [
  134. {
  135. "path": "C:\\Projects\\karl2d",
  136. },
  137. {
  138. "path": "C:\\SDK\\Odin\\base",
  139. },
  140. {
  141. "path": "C:\\SDK\\Odin\\core",
  142. },
  143. {
  144. "path": "C:\\SDK\\Odin\\vendor\\fontstash",
  145. },
  146. {
  147. "path": "C:\\SDK\\Odin\\vendor\\OpenGL",
  148. },
  149. {
  150. "path": "C:\\Projects\\Scraps\\raylib\\src",
  151. },
  152. {
  153. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d11",
  154. },
  155. {
  156. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxgi",
  157. },
  158. {
  159. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d_compiler",
  160. },
  161. {
  162. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxc",
  163. },
  164. {
  165. "path": "C:\\SDK\\Odin\\vendor\\wasm\\WebGL"
  166. },
  167. ],
  168. "settings":
  169. {
  170. "LSP":
  171. {
  172. "odin":
  173. {
  174. "enabled": true,
  175. },
  176. },
  177. "auto_complete": false,
  178. },
  179. }