Merge pull request #6 from MurrayIRC/MurrayIRC-vscode
Linux Support for VSCode Project
This commit is contained in:
commit
9c6a98aa61
19
projects/VSCode/.vscode/c_cpp_properties.json
vendored
19
projects/VSCode/.vscode/c_cpp_properties.json
vendored
@ -38,6 +38,25 @@
|
|||||||
"cStandard": "c11",
|
"cStandard": "c11",
|
||||||
"cppStandard": "c++14",
|
"cppStandard": "c++14",
|
||||||
"intelliSenseMode": "clang-x64"
|
"intelliSenseMode": "clang-x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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
|
"version": 4
|
||||||
|
42
projects/VSCode/.vscode/launch.json
vendored
42
projects/VSCode/.vscode/launch.json
vendored
@ -64,5 +64,47 @@
|
|||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"preLaunchTask": "(OSX) build release"
|
"preLaunchTask": "(OSX) build release"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "(GNU) Debug",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/game",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"miDebuggerPath": "/usr/bin/gdb",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preLaunchTask": "(GNU) build debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "(GNU) Run",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/game",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"miDebuggerPath": "/usr/bin/gdb",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preLaunchTask": "(GNU) build release"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
27
projects/VSCode/.vscode/tasks.json
vendored
27
projects/VSCode/.vscode/tasks.json
vendored
@ -33,10 +33,7 @@
|
|||||||
"RAYLIB_PATH=<path_to_raylib>",
|
"RAYLIB_PATH=<path_to_raylib>",
|
||||||
"DEBUGGING=TRUE"
|
"DEBUGGING=TRUE"
|
||||||
],
|
],
|
||||||
"group": {
|
"group": "build"
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "(OSX) build release",
|
"label": "(OSX) build release",
|
||||||
@ -47,6 +44,28 @@
|
|||||||
"RAYLIB_PATH=<path_to_raylib>",
|
"RAYLIB_PATH=<path_to_raylib>",
|
||||||
],
|
],
|
||||||
"group": "build"
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "(GNU) build debug",
|
||||||
|
"type": "process",
|
||||||
|
"command": "make",
|
||||||
|
"args": [
|
||||||
|
"PLATFORM=PLATFORM_DESKTOP",
|
||||||
|
"DEBUGGING=TRUE"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "(GNU) build release",
|
||||||
|
"type": "process",
|
||||||
|
"command": "make",
|
||||||
|
"args": [
|
||||||
|
"PLATFORM=PLATFORM_DESKTOP",
|
||||||
|
],
|
||||||
|
"group": "build"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
# WARNING: To compile to HTML5, code must be redesigned to use emscripten.h and emscripten_set_main_loop()
|
# WARNING: To compile to HTML5, code must be redesigned to use emscripten.h and emscripten_set_main_loop()
|
||||||
PLATFORM ?= PLATFORM_DESKTOP
|
PLATFORM ?= PLATFORM_DESKTOP
|
||||||
RAYLIB_PATH ?= ../..
|
RAYLIB_PATH ?= ../..
|
||||||
PROJECT_NAME ?= standard_game
|
PROJECT_NAME ?= game
|
||||||
DEBUGGING ?= FALSE
|
DEBUGGING ?= FALSE
|
||||||
|
|
||||||
# Default path for raylib on Raspberry Pi, if installed in different path, update it!
|
# Default path for raylib on Raspberry Pi, if installed in different path, update it!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user