mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 07:30:24 +01:00
Added launch scripts
This commit is contained in:
parent
d957683d34
commit
8d9f3a2501
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -35,6 +35,8 @@
|
|||
.vs/*
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/tasks.json
|
||||
*.ipch
|
||||
*.vspx
|
||||
*.psess
|
||||
|
|
|
|||
30
.vscode/launch.json
vendored
Normal file
30
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug tests",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/test/gcn_shader_tests",
|
||||
"args": [
|
||||
"--gtest_filter=*",
|
||||
"--gtest_print_time=0",
|
||||
"--gtest_output=xml:results.xml"
|
||||
],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}/build",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/usr/bin/gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "Build"
|
||||
}
|
||||
]
|
||||
}
|
||||
20
.vscode/tasks.json
vendored
Normal file
20
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Prepare debug",
|
||||
"command": "cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_INIT=\"-march=native\" -DCMAKE_CXX_COMPILER=g++-14"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Prepare release",
|
||||
"command": "cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_INIT=\"-march=native\" -DCMAKE_CXX_COMPILER=g++-14"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Build",
|
||||
"command": "cmake --build build -j$(nproc)"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue