Review VSCode tasks
This commit is contained in:
parent
c21e9a721b
commit
eb04be8141
6
projects/VSCode/.vscode/launch.json
vendored
6
projects/VSCode/.vscode/launch.json
vendored
@ -8,7 +8,7 @@
|
||||
"name": "Debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/game",
|
||||
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
@ -42,10 +42,10 @@
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"program": "${workspaceFolder}/game",
|
||||
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
|
||||
"MIMode": "gdb",
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/game.exe",
|
||||
"program": "${workspaceFolder}/${fileBasenameNoExtension}.exe",
|
||||
"miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe"
|
||||
},
|
||||
"osx": {
|
||||
|
10
projects/VSCode/.vscode/tasks.json
vendored
10
projects/VSCode/.vscode/tasks.json
vendored
@ -16,11 +16,16 @@
|
||||
"args": [
|
||||
"RAYLIB_PATH=C:/raylib/raylib",
|
||||
"PROJECT_NAME=${fileBasenameNoExtension}",
|
||||
"OBJS=${fileBasenameNoExtension}.c",
|
||||
"BUILD_MODE=DEBUG"
|
||||
],
|
||||
},
|
||||
"osx": {
|
||||
"args": [
|
||||
"RAYLIB_PATH=<path_to_raylib>/raylib"
|
||||
"RAYLIB_PATH=<path_to_raylib>/raylib",
|
||||
"PROJECT_NAME=${fileBasenameNoExtension}",
|
||||
"OBJS=${fileBasenameNoExtension}.c",
|
||||
"BUILD_MODE=DEBUG"
|
||||
],
|
||||
},
|
||||
"group": {
|
||||
@ -43,11 +48,14 @@
|
||||
"args": [
|
||||
"RAYLIB_PATH=C:/raylib/raylib",
|
||||
"PROJECT_NAME=${fileBasenameNoExtension}",
|
||||
"OBJS=${fileBasenameNoExtension}.c"
|
||||
],
|
||||
},
|
||||
"osx": {
|
||||
"args": [
|
||||
"RAYLIB_PATH=<path_to_raylib>/raylib",
|
||||
"PROJECT_NAME=${fileBasenameNoExtension}",
|
||||
"OBJS=${fileBasenameNoExtension}.c"
|
||||
],
|
||||
},
|
||||
"group": "build",
|
||||
|
@ -358,7 +358,7 @@ OBJ_DIR = obj
|
||||
# Define all object files from source files
|
||||
SRC = $(call rwildcard, *.c, *.h)
|
||||
#OBJS = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
|
||||
OBJS = main.c
|
||||
OBJS ?= main.c
|
||||
|
||||
# For Android platform we call a custom Makefile.Android
|
||||
ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
||||
|
Loading…
Reference in New Issue
Block a user