karl2d.sublime-project 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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 -define:KARL2D_RENDER_BACKEND=d3d11",
  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": "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 -- examples/fonts",
  32. },
  33. {
  34. "name": "render_texture",
  35. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  36. "working_dir": "$project_path/../examples/render_texture",
  37. },
  38. {
  39. "name": "render_texture (gl)",
  40. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  41. "working_dir": "$project_path/../examples/render_texture",
  42. },
  43. {
  44. "name": "render_texture (web)",
  45. "shell_cmd": "odin run build_web -- examples/render_texture",
  46. },
  47. {
  48. "name": "multitexture",
  49. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=d3d11",
  50. "working_dir": "$project_path/../examples/multitexture",
  51. },
  52. {
  53. "name": "multitexture (gl)",
  54. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  55. "working_dir": "$project_path/../examples/multitexture",
  56. },
  57. {
  58. "name": "multitexture (webgl)",
  59. "shell_cmd": "odin run build_web -- examples/multitexture",
  60. },
  61. {
  62. "name": "snake",
  63. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  64. "working_dir": "$project_path/../examples/snake",
  65. },
  66. {
  67. "name": "snake (web)",
  68. "shell_cmd": "odin run build_web -- examples/snake",
  69. },
  70. {
  71. "name": "box2d",
  72. "shell_cmd": "odin run . -vet -strict-style -keep-executable -linker:lld",
  73. "working_dir": "$project_path/../examples/box2d",
  74. },
  75. {
  76. "name": "box2d (web)",
  77. "shell_cmd": "odin run build_web -- examples/box2d",
  78. },
  79. {
  80. "name": "premultiplied_alpha",
  81. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=d3d11",
  82. "working_dir": "$project_path/../examples/premultiplied_alpha",
  83. },
  84. {
  85. "name": "premultiplied_alpha (gl)",
  86. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug -define:KARL2D_RENDER_BACKEND=gl",
  87. "working_dir": "$project_path/../examples/premultiplied_alpha",
  88. },
  89. {
  90. "name": "raylib_ports/2d_camera",
  91. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  92. "working_dir": "$project_path/../examples/raylib_ports/2d_camera",
  93. },
  94. {
  95. "name": "raylib_ports/shaders_texture_waves",
  96. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  97. "working_dir": "$project_path/../examples/raylib_ports/shaders_texture_waves",
  98. },
  99. {
  100. "name": "bunnymark",
  101. "shell_cmd": "odin run . -o:speed -vet -strict-style -no-bounds-check -keep-executable",
  102. "working_dir": "$project_path/../examples/raylib_ports/bunnymark",
  103. },
  104. {
  105. "name": "bunnymark (web)",
  106. "shell_cmd": "odin run build_web -- examples/raylib_ports/bunnymark",
  107. },
  108. {
  109. "name": "mouse",
  110. "shell_cmd": "odin run . -vet -strict-style -keep-executable",
  111. "working_dir": "$project_path/../examples/mouse",
  112. },
  113. {
  114. "name": "mouse (web)",
  115. "shell_cmd": "odin run build_web -- examples/mouse",
  116. },
  117. {
  118. "name": "gamepad",
  119. "shell_cmd": "odin run . -vet -strict-style -keep-executable",
  120. "working_dir": "$project_path/../examples/gamepad",
  121. },
  122. {
  123. "name": "gamepad (web)",
  124. "shell_cmd": "odin run build_web -- examples/gamepad",
  125. },
  126. {
  127. "name": "palette",
  128. "shell_cmd": "odin run . -vet -strict-style -keep-executable -debug",
  129. "working_dir": "$project_path/../examples/palette",
  130. },
  131. {
  132. "name": "palette (web)",
  133. "shell_cmd": "odin run build_web -- examples/palette",
  134. },
  135. {
  136. "name": "api_doc_builder",
  137. "shell_cmd": "odin run api_doc_builder",
  138. "working_dir": "$project_path/..",
  139. },
  140. ],
  141. }
  142. ],
  143. "folders":
  144. [
  145. {
  146. "path": "C:\\Projects\\karl2d",
  147. },
  148. {
  149. "path": "C:\\SDK\\Odin\\base",
  150. },
  151. {
  152. "path": "C:\\SDK\\Odin\\core",
  153. },
  154. {
  155. "path": "C:\\SDK\\Odin\\vendor\\fontstash",
  156. },
  157. {
  158. "path": "C:\\SDK\\Odin\\vendor\\OpenGL",
  159. },
  160. {
  161. "path": "C:\\Projects\\Scraps\\raylib\\src",
  162. },
  163. {
  164. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d11",
  165. },
  166. {
  167. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxgi",
  168. },
  169. {
  170. "path": "C:\\SDK\\Odin\\vendor\\directx\\d3d_compiler",
  171. },
  172. {
  173. "path": "C:\\SDK\\Odin\\vendor\\directx\\dxc",
  174. },
  175. {
  176. "path": "C:\\SDK\\Odin\\vendor\\wasm\\WebGL",
  177. },
  178. {
  179. "path": "C:\\projects\\raylib\\src"
  180. },
  181. ],
  182. "settings":
  183. {
  184. "LSP":
  185. {
  186. "odin":
  187. {
  188. "enabled": true,
  189. },
  190. },
  191. "auto_complete": false,
  192. },
  193. }