mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 00:00:00 +00:00
vscode: add macOS configurations
This commit is contained in:
parent
324f84750b
commit
9250b36431
30
.vscode/c_cpp_properties.json
vendored
Normal file
30
.vscode/c_cpp_properties.json
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Mac",
|
||||||
|
"includePath": [
|
||||||
|
"${default}",
|
||||||
|
"src/fakerw",
|
||||||
|
"src/math",
|
||||||
|
"src/render",
|
||||||
|
"src/skel",
|
||||||
|
"vendor/librw"
|
||||||
|
],
|
||||||
|
"defines": [],
|
||||||
|
"macFrameworkPath": [
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
|
||||||
|
],
|
||||||
|
"compilerPath": "/opt/local/bin/clang",
|
||||||
|
"compilerArgs": ["-g"],
|
||||||
|
"cStandard": "gnu11",
|
||||||
|
"cppStandard": "gnu++14",
|
||||||
|
"browse": {
|
||||||
|
"path": [
|
||||||
|
"/opt/local/include",
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
46
.vscode/launch.json
vendored
46
.vscode/launch.json
vendored
|
@ -6,7 +6,7 @@
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"name": "(gdb) Launch (Debug)",
|
"name": "(gdb) Launch (Linux Debug)",
|
||||||
"preLaunchTask": "Compile (Debug Linux x64)",
|
"preLaunchTask": "Compile (Debug Linux x64)",
|
||||||
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3",
|
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"name": "(gdb) Launch (Release)",
|
"name": "(gdb) Launch (Linux Release)",
|
||||||
"preLaunchTask": "Compile (Release Linux x64)",
|
"preLaunchTask": "Compile (Release Linux x64)",
|
||||||
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Release/re3",
|
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Release/re3",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
@ -41,6 +41,48 @@
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"targetArchitecture": "x64",
|
"targetArchitecture": "x64",
|
||||||
"type": "cppdbg"
|
"type": "cppdbg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"MIMode": "lldb",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"name": "(lldb) Launch (macOS Debug)",
|
||||||
|
"preLaunchTask": "Compile (Debug macOS x64)",
|
||||||
|
"program": "${workspaceFolder}/bin/macosx-amd64-librw_gl3_glfw-oal/Debug/re3.app",
|
||||||
|
"request": "launch",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for lldb",
|
||||||
|
"ignoreFailures": true,
|
||||||
|
"text": "-enable-pretty-printing"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"targetArchitecture": "x64",
|
||||||
|
"type": "cppdbg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"MIMode": "lldb",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"name": "(lldb) Launch (macOS Release)",
|
||||||
|
"preLaunchTask": "Compile (Release macOS x64)",
|
||||||
|
"program": "${workspaceFolder}/bin/macosx-amd64-librw_gl3_glfw-oal/Release/re3.app",
|
||||||
|
"request": "launch",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for lldb",
|
||||||
|
"ignoreFailures": true,
|
||||||
|
"text": "-enable-pretty-printing"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"targetArchitecture": "x64",
|
||||||
|
"type": "cppdbg"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "0.2.0"
|
"version": "0.2.0"
|
||||||
|
|
45
.vscode/tasks.json
vendored
45
.vscode/tasks.json
vendored
|
@ -7,6 +7,13 @@
|
||||||
"problemMatcher": "$gcc",
|
"problemMatcher": "$gcc",
|
||||||
"type": "shell"
|
"type": "shell"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"args": ["--with-librw", "gmake2"],
|
||||||
|
"command": "premake5",
|
||||||
|
"label": "Premake (macOS)",
|
||||||
|
"problemMatcher": "$gcc",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"-j5",
|
"-j5",
|
||||||
|
@ -44,6 +51,44 @@
|
||||||
},
|
},
|
||||||
"problemMatcher": "$gcc",
|
"problemMatcher": "$gcc",
|
||||||
"type": "shell"
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"args": [
|
||||||
|
"-j5",
|
||||||
|
"config=debug_macosx-amd64-librw_gl3_glfw-oal",
|
||||||
|
"verbose=1"
|
||||||
|
],
|
||||||
|
"command": "make",
|
||||||
|
"dependsOn": "Premake (macOS)",
|
||||||
|
"group": {
|
||||||
|
"isDefault": true,
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"label": "Compile (Debug macOS x64)",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/build"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$gcc",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"args": [
|
||||||
|
"-j5",
|
||||||
|
"config=release_macosx-amd64-librw_gl3_glfw-oal",
|
||||||
|
"verbose=1"
|
||||||
|
],
|
||||||
|
"command": "make",
|
||||||
|
"dependsOn": "Premake (macOS)",
|
||||||
|
"group": {
|
||||||
|
"isDefault": true,
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"label": "Compile (Release macOS x64)",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/build"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$gcc",
|
||||||
|
"type": "shell"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "2.0.0"
|
"version": "2.0.0"
|
||||||
|
|
Loading…
Reference in a new issue