This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
162 additions
and 0 deletions.
- +30 −0 .vscode/c_cpp_properties.json
- +47 −0 .vscode/launch.json
- +20 −0 .vscode/settings.json
- +65 −0 .vscode/tasks.json
There are no files selected for viewing
| @@ -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 | |||
| } | |||
| @@ -0,0 +1,47 @@ | |||
| { | |||
| "configurations": [ | |||
| { | |||
| "MIMode": "gdb", | |||
| "args": [], | |||
| "cwd": "${workspaceFolder}", | |||
| "environment": [], | |||
| "externalConsole": false, | |||
| "name": "(gdb) Launch", | |||
| "preLaunchTask": "Compile (Linux x64)", | |||
| "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3", | |||
| "request": "launch", | |||
| "setupCommands": [ | |||
| { | |||
| "description": "Enable pretty-printing for gdb", | |||
| "ignoreFailures": true, | |||
| "text": "-enable-pretty-printing" | |||
| } | |||
| ], | |||
| "stopAtEntry": false, | |||
| "targetArchitecture": "x64", | |||
| "type": "cppdbg" | |||
| }, | |||
| { | |||
| "MIMode": "lldb", | |||
| "args": [], | |||
| "cwd": "${workspaceFolder}", | |||
| "environment": [], | |||
| "externalConsole": false, | |||
| "name": "(lldb) Launch", | |||
| "preLaunchTask": "Compile (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" | |||
| } | |||
| ], | |||
| "version": "0.2.0" | |||
| } | |||
| @@ -0,0 +1,20 @@ | |||
| { | |||
| "C_Cpp.default.cStandard": "gnu11", | |||
| "C_Cpp.default.cppStandard": "gnu++14", | |||
| "C_Cpp.default.includePath": [ | |||
| "src/fakerw", | |||
| "src/math", | |||
| "src/render", | |||
| "src/rw", | |||
| "src/skel", | |||
| "vendor/librw" | |||
| ], | |||
| "C_Cpp.vcFormat.indent.gotoLabels": "leftmostColumn", | |||
| "C_Cpp.vcFormat.space.pointerReferenceAlignment": "right", | |||
| "cSpell.enabled": false, | |||
| "editor.insertSpaces": false, | |||
| "editor.tabSize": 4, | |||
| "files.trimFinalNewlines": false, | |||
| "files.trimTrailingWhitespace": false, | |||
| "prettier.tabWidth": 4 | |||
| } | |||
| @@ -0,0 +1,65 @@ | |||
| { | |||
| "inputs": [ | |||
| { | |||
| "default": "5", | |||
| "description": "Number of jobs to run simultaneously when compiling", | |||
| "id": "numberOfJobs", | |||
| "type": "promptString" | |||
| } | |||
| ], | |||
| "tasks": [ | |||
| { | |||
| "args": ["--with-librw", "gmake2"], | |||
| "command": "./premake5Linux", | |||
| "label": "Premake (Linux)", | |||
| "problemMatcher": "$gcc", | |||
| "type": "shell" | |||
| }, | |||
| { | |||
| "args": ["--with-librw", "gmake2"], | |||
| "command": "premake5", | |||
| "label": "Premake (macOS)", | |||
| "problemMatcher": "$gcc", | |||
| "type": "shell" | |||
| }, | |||
| { | |||
| "args": [ | |||
| "-j${input:numberOfJobs}", | |||
| "config=debug_linux-amd64-librw_gl3_glfw-oal", | |||
| "verbose=1" | |||
| ], | |||
| "command": "make", | |||
| "dependsOn": "Premake (Linux)", | |||
| "group": { | |||
| "isDefault": true, | |||
| "kind": "build" | |||
| }, | |||
| "label": "Compile (Linux x64)", | |||
| "options": { | |||
| "cwd": "${workspaceFolder}/build" | |||
| }, | |||
| "problemMatcher": "$gcc", | |||
| "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 (macOS x64)", | |||
| "options": { | |||
| "cwd": "${workspaceFolder}/build" | |||
| }, | |||
| "problemMatcher": "$gcc", | |||
| "type": "shell" | |||
| } | |||
| ], | |||
| "version": "2.0.0" | |||
| } | |||