Advertisement
Guest User

Untitled

a guest
Mar 8th, 2017
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. launch.json:
  2. {
  3. "version": "0.2.0",
  4. "configurations": [
  5. {
  6. "name": "C++ Launch",
  7. "type": "cppdbg",
  8. "request": "launch",
  9. "program": "${workspaceRoot}/test",
  10. "preLaunchTask": "test",
  11. "args": [],
  12. "cwd": "${workspaceRoot}",
  13. "environment": [],
  14. "externalConsole": true,
  15. "linux": {
  16. "MIMode": "gdb",
  17. "miDebuggerPath": "/bin/gdb"
  18. }
  19. }
  20. ]
  21. }
  22.  
  23. tasks.json:
  24. {
  25. "version": "0.1.0",
  26. "command": "make",
  27. "isShellCommand": true,
  28. "showOutput": "always",
  29. "tasks": [
  30. {
  31. "taskName": "test",
  32. "isBuildCommand": true,
  33. "showOutput": "always",
  34. "args": ["test"]
  35. }
  36. ]
  37. }
  38.  
  39. Makefile:
  40. test: test.cpp
  41. ${Cpp} test.cpp -Wall -o test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement