2018-07-31 12:26:52 +03:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
2018-10-24 22:35:51 +03:00
|
|
|
"label": "build debug",
|
2018-09-22 02:18:38 +03:00
|
|
|
"type": "process",
|
|
|
|
"command": "make",
|
|
|
|
"args": [
|
|
|
|
"PLATFORM=PLATFORM_DESKTOP",
|
2021-10-18 23:00:54 +03:00
|
|
|
"BUILD_MODE=DEBUG",
|
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
|
|
|
"OBJS=${fileBasenameNoExtension}.c"
|
2018-09-22 02:18:38 +03:00
|
|
|
],
|
2018-10-24 22:35:51 +03:00
|
|
|
"windows": {
|
2021-11-02 20:40:45 +03:00
|
|
|
"command": "mingw32-make.exe",
|
2018-10-24 22:35:51 +03:00
|
|
|
"args": [
|
2019-07-02 19:36:09 +03:00
|
|
|
"RAYLIB_PATH=C:/raylib/raylib",
|
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
2020-04-13 13:07:05 +03:00
|
|
|
"OBJS=${fileBasenameNoExtension}.c",
|
|
|
|
"BUILD_MODE=DEBUG"
|
2018-10-24 22:35:51 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
"osx": {
|
|
|
|
"args": [
|
2020-04-13 13:07:05 +03:00
|
|
|
"RAYLIB_PATH=<path_to_raylib>/raylib",
|
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
|
|
|
"OBJS=${fileBasenameNoExtension}.c",
|
|
|
|
"BUILD_MODE=DEBUG"
|
2018-10-24 22:35:51 +03:00
|
|
|
],
|
|
|
|
},
|
2018-07-31 12:26:52 +03:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
2019-07-30 15:00:10 +03:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2018-08-30 17:42:33 +03:00
|
|
|
},
|
|
|
|
{
|
2018-10-24 22:35:51 +03:00
|
|
|
"label": "build release",
|
2018-08-30 17:42:33 +03:00
|
|
|
"type": "process",
|
|
|
|
"command": "make",
|
|
|
|
"args": [
|
|
|
|
"PLATFORM=PLATFORM_DESKTOP",
|
2021-10-18 23:00:54 +03:00
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
|
|
|
"OBJS=${fileBasenameNoExtension}.c"
|
2018-08-30 17:42:33 +03:00
|
|
|
],
|
2018-10-24 22:35:51 +03:00
|
|
|
"windows": {
|
2021-11-02 20:40:45 +03:00
|
|
|
"command": "mingw32-make.exe",
|
2018-10-24 22:35:51 +03:00
|
|
|
"args": [
|
|
|
|
"RAYLIB_PATH=C:/raylib/raylib",
|
2019-07-02 19:36:09 +03:00
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
2020-04-13 13:07:05 +03:00
|
|
|
"OBJS=${fileBasenameNoExtension}.c"
|
2018-10-24 22:35:51 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
"osx": {
|
|
|
|
"args": [
|
2019-01-10 13:24:34 +03:00
|
|
|
"RAYLIB_PATH=<path_to_raylib>/raylib",
|
2020-04-13 13:07:05 +03:00
|
|
|
"PROJECT_NAME=${fileBasenameNoExtension}",
|
|
|
|
"OBJS=${fileBasenameNoExtension}.c"
|
2018-10-24 22:35:51 +03:00
|
|
|
],
|
|
|
|
},
|
2019-07-30 15:00:10 +03:00
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2018-07-31 12:26:52 +03:00
|
|
|
}
|
|
|
|
]
|
2021-10-18 23:00:54 +03:00
|
|
|
}
|