Skip to content
Snippets Groups Projects
Commit 6827d488 authored by j2-pelczar's avatar j2-pelczar :cowboy:
Browse files

Upload New File

parent 555748a7
No related branches found
No related tags found
No related merge requests found
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build benchmark test",
"command": "g++",
"args": [
"-std=c++20", // Use C++20
"-g", // Debugging information
"task 3/benchmark.cpp", // Path to benchmark source file
"task 3/bump_up_allocator.cpp", // Path to bump_up_allocator source
"task 3/bump_down_allocator.cpp", // Path to bump_down_allocator source
"-I\"C:/Users/vanco/Desktop/CS Year 3/1st Semester/Advanced systems programming/worksheet_two/task 3\"", // Include path for header files
"-o", // Output file
"benchmark" // Output executable name
],
"options": {
"cwd": "${workspaceFolder}/task 3",
"shell": {
"executable": "powershell.exe",
"args": ["-Command"]
}
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "Run benchmark test",
"command": "./benchmark", // Run the generated executable
"options": {
"cwd": "${workspaceFolder}/task 3",
"shell": {
"executable": "powershell.exe",
"args": ["-Command"]
}
},
"group": "test",
"dependsOn": "Build benchmark test"
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment