Created
April 1, 2020 20:56
-
-
Save stargazing-dino/63dcfd07fa5b79da9fad934b1a28a9bb to your computer and use it in GitHub Desktop.
.vscode Config Files for Raylib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"includePath": [ | |
"C:/raylib/raylib/src/**", | |
"${workspaceFolder}/**" | |
], | |
"defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE", | |
"GRAPHICS_API_OPENGL_33", | |
"PLATFORM_DESKTOP" | |
], | |
"compilerPath": "C:/raylib/mingw/bin/gcc.exe", | |
"cStandard": "c99", | |
"cppStandard": "c++14", | |
"intelliSenseMode": "gcc-x64" | |
}, | |
{ | |
"name": "Mac", | |
"includePath": [ | |
"/Users/katzen/Documents/raylib/src/**", | |
"${workspaceFolder}/**" | |
], | |
"defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE", | |
"GRAPHICS_API_OPENGL_33", | |
"PLATFORM_DESKTOP" | |
], | |
"macFrameworkPath": [ | |
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" | |
], | |
"compilerPath": "/usr/bin/clang", | |
"cStandard": "c11", | |
"cppStandard": "c++14", | |
"intelliSenseMode": "${default}" | |
}, | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"<path_to_raylib>/src/**", | |
"${workspaceFolder}/**" | |
], | |
"defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE", | |
"GRAPHICS_API_OPENGL_33", | |
"PLATFORM_DESKTOP" | |
], | |
"compilerPath": "usr/bin/clang", | |
"cStandard": "c11", | |
"cppStandard": "c++14", | |
"intelliSenseMode": "clang-x64" | |
} | |
], | |
"version": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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}/game", | |
"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": "C:/raylib/mingw/bin/gdb.exe", | |
}, | |
"osx": { | |
"MIMode": "lldb" | |
}, | |
"linux": { | |
"miDebuggerPath": "/usr/bin/gdb", | |
}, | |
"preLaunchTask": "build debug" | |
}, | |
{ | |
"name": "Run", | |
"type": "cppdbg", | |
"request": "launch", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"externalConsole": false, | |
"program": "${workspaceFolder}/game", | |
"MIMode": "gdb", | |
"windows": { | |
"program": "${workspaceFolder}/game.exe", | |
"miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe" | |
}, | |
"osx": { | |
"MIMode": "lldb" | |
}, | |
"linux": { | |
"miDebuggerPath": "/usr/bin/gdb" | |
}, | |
"preLaunchTask": "build release", | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/*.o": true, | |
"**/*.exe": true, | |
}, | |
"files.associations": { | |
"raylib.h": "c" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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", | |
"args": [ | |
"PLATFORM=PLATFORM_DESKTOP", | |
"BUILD_MODE=DEBUG" | |
], | |
"windows": { | |
"command": "C:/raylib/mingw/bin/mingw32-make.exe", | |
"args": [ | |
"RAYLIB_PATH=C:/raylib/raylib", | |
"PROJECT_NAME=${fileBasenameNoExtension}", | |
], | |
}, | |
"osx": { | |
"args": [ | |
"RAYLIB_PATH=/Users/katzen/Documents/raylib" | |
], | |
}, | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
] | |
}, | |
{ | |
"label": "build release", | |
"type": "process", | |
"command": "make", | |
"args": [ | |
"PLATFORM=PLATFORM_DESKTOP", | |
], | |
"windows": { | |
"command": "C:/raylib/mingw/bin/mingw32-make.exe", | |
"args": [ | |
"RAYLIB_PATH=C:/raylib/raylib", | |
"PROJECT_NAME=${fileBasenameNoExtension}", | |
], | |
}, | |
"osx": { | |
"args": [ | |
"RAYLIB_PATH=/Users/katzen/Documents/raylib", | |
], | |
}, | |
"group": "build", | |
"problemMatcher": [ | |
"$gcc" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment