first commit
This commit is contained in:
64
.vscode/launch.json
vendored
Normal file
64
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
],
|
||||
"windows": {
|
||||
"miDebuggerPath": "gdb.exe",
|
||||
},
|
||||
"osx": {
|
||||
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}",
|
||||
"MIMode": "lldb"
|
||||
},
|
||||
"linux": {
|
||||
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}",
|
||||
"miDebuggerPath": "/usr/bin/gdb",
|
||||
},
|
||||
"preLaunchTask": "build debug"
|
||||
},
|
||||
{
|
||||
"name": "Run",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"program": "${workspaceFolder}/bin/Release/${workspaceFolderBasename}.exe",
|
||||
"MIMode": "gdb",
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/bin/Release/${workspaceFolderBasename}.exe",
|
||||
"miDebuggerPath": "gdb.exe"
|
||||
},
|
||||
"osx": {
|
||||
"program": "${workspaceFolder}/bin/Release/${workspaceFolderBasename}",
|
||||
"MIMode": "lldb"
|
||||
},
|
||||
"linux": {
|
||||
"program": "${workspaceFolder}/bin/Release/${workspaceFolderBasename}",
|
||||
"miDebuggerPath": "/usr/bin/gdb"
|
||||
},
|
||||
"preLaunchTask": "build release",
|
||||
}
|
||||
]
|
||||
}
|
||||
11
.vscode/settings.json
vendored
Normal file
11
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/*.o": true,
|
||||
"**/*.exe": true,
|
||||
}
|
||||
}
|
||||
106
.vscode/tasks.json
vendored
Normal file
106
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build debug",
|
||||
"type": "process",
|
||||
"command": "make",
|
||||
"windows": {
|
||||
"command": "mingw32-make.exe",
|
||||
"args": [
|
||||
"SHELL=cmd"
|
||||
],
|
||||
},
|
||||
"osx": {
|
||||
"args": [
|
||||
"config=debug_arm64"
|
||||
],
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"dependsOn":["UpdateMake"]
|
||||
},
|
||||
{
|
||||
"label": "build release",
|
||||
"type": "process",
|
||||
"command": "make",
|
||||
"windows": {
|
||||
"command": "mingw32-make.exe",
|
||||
"args": [
|
||||
"SHELL=cmd",
|
||||
"config=release_x64"
|
||||
],
|
||||
},
|
||||
"linux": {
|
||||
"args": [
|
||||
"config=release_x64"
|
||||
],
|
||||
},
|
||||
"osx": {
|
||||
"args": [
|
||||
"config=release_arm64"
|
||||
],
|
||||
},
|
||||
"group": "build",
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"dependsOn":["UpdateMake"]
|
||||
},
|
||||
{
|
||||
"label": "Clean",
|
||||
"type": "process",
|
||||
"command": "make",
|
||||
"windows": {
|
||||
"command": "mingw32-make.exe",
|
||||
"args": [
|
||||
"SHELL=cmd",
|
||||
"clean"
|
||||
],
|
||||
},
|
||||
"linux": {
|
||||
"args": [
|
||||
"clean"
|
||||
],
|
||||
},
|
||||
"osx": {
|
||||
"args": [
|
||||
"clean"
|
||||
],
|
||||
},
|
||||
"group": "build",
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"dependsOn":["UpdateMake"]
|
||||
},
|
||||
{
|
||||
"label": "UpdateMake",
|
||||
"type": "process",
|
||||
"command": "./premake5",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/build/"
|
||||
},
|
||||
"args": [
|
||||
"gmake2"
|
||||
],
|
||||
"windows": {
|
||||
"command": "./premake5.exe"
|
||||
},
|
||||
"linux": {
|
||||
"command": "./premake5"
|
||||
},
|
||||
"osx": {
|
||||
"command": "premake5.osx"
|
||||
},
|
||||
"group": "build"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user