launch.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Launch TestBed",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "stopAtEntry": false,
  12. "cwd": "${workspaceFolder}/bin/",
  13. "environment": [],
  14. "program": "${workspaceFolder}/bin/testbed.kapp",
  15. "osx": {
  16. "MIMode": "lldb",
  17. "targetArchitecture": "arm64",
  18. "externalConsole": false,
  19. },
  20. "linux": {
  21. "externalConsole": false,
  22. // "environment": [
  23. // { "name": "VK_LOADER_DEBUG", "value": "all"}
  24. // ]
  25. },
  26. "windows": {
  27. "type": "cppvsdbg",
  28. "program": "${workspaceFolder}/bin/testbed.kapp.exe",
  29. // cppvsdbg requires this instead of externalConsole
  30. "console": "integratedTerminal",
  31. },
  32. },
  33. {
  34. "name": "Launch Core Unit Tests",
  35. "type": "cppdbg",
  36. "request": "launch",
  37. "program": "${workspaceFolder}/bin/kohi.core.tests",
  38. "args": [],
  39. "stopAtEntry": false,
  40. "cwd": "${workspaceFolder}/bin/",
  41. "osx": {
  42. "MIMode": "lldb",
  43. "targetArchitecture": "arm64",
  44. "externalConsole": false,
  45. },
  46. "linux": {
  47. "externalConsole": false,
  48. },
  49. "windows": {
  50. "type": "cppvsdbg",
  51. "program": "${workspaceFolder}/bin/kohi.core.tests.exe",
  52. // cppvsdbg requires this instead of externalConsole
  53. "console": "integratedTerminal",
  54. }
  55. },
  56. {
  57. "name": "Launch Kohi Tools",
  58. "type": "cppdbg",
  59. "request": "launch",
  60. "program": "${workspaceFolder}/bin/kohi.tools",
  61. "args": [
  62. "combine",
  63. "outfile=${workspaceFolder}/assets/textures/wavy-sand_combined.png",
  64. "metallic=${workspaceFolder}/assets/textures/wavy-sand_metallic.png",
  65. "roughness=${workspaceFolder}/assets/textures/wavy-sand_roughness.png",
  66. "ao=${workspaceFolder}/assets/textures/wavy-sand_ao.png"
  67. ],
  68. "stopAtEntry": false,
  69. "cwd": "${workspaceFolder}/bin/",
  70. "environment": [],
  71. "osx": {
  72. "MIMode": "lldb",
  73. "targetArchitecture": "arm64",
  74. "externalConsole": false,
  75. },
  76. "linux": {
  77. "externalConsole": false,
  78. },
  79. "windows": {
  80. "type": "cppvsdbg",
  81. "program": "${workspaceFolder}/bin/kohi.tools.exe",
  82. // cppvsdbg requires this instead of externalConsole
  83. "console": "integratedTerminal"
  84. },
  85. }
  86. ]
  87. }