Verify dependecies and improve make invocation

This commit is contained in:
jaby 2022-04-24 20:39:43 +02:00
parent bcdce9873b
commit d44dd8edd0
3 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,4 @@
#include "JabyEngine.h"
#include <stdio.h> #include <stdio.h>
int main() int main()

4
Code/src/JabyEngine.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef JABYENGINE_H
#define JABYENGINE_H
#endif //!JABYENGINE_H

View File

@ -38,9 +38,9 @@
} }
}, },
{ {
"label": "Blubb", "label": "new make",
"type": "shell", "type": "shell",
"command": "wsl make all -f NewMakefile BUILD_PROFILE=release", "command": "wsl make ${input:target} -f NewMakefile BUILD_PROFILE=${input:build_profile}",
"options": { "options": {
"cwd": "Code" "cwd": "Code"
}, },
@ -71,7 +71,22 @@
"description": "Mode for FinalizeCD", "description": "Mode for FinalizeCD",
"options": ["all", "calculate", "skip"], "options": ["all", "calculate", "skip"],
"default": "all" "default": "all"
} },
{
"id": "target",
"type": "pickString",
"description": "Phony target",
"options": ["all", "clean"],
"default": "all"
},
{
"id": "build_profile",
"type": "pickString",
"description": "Build type to use",
"options": ["debug", "release"],
"default": "release"
},
], ],
}, },
"settings": { "settings": {