diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8212e53..0fbcff9 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -43,6 +43,27 @@ "problemMatcher": [], "detail": "Build Release with debug info" }, + { + "label": "Configure: Release", + "type": "shell", + "command": "./scripts/build_script configure -b release", + "group": { + "isDefault": false + }, + "problemMatcher": [], + "detail": "Configure Release" + }, + { + "label": "Build: Release", + "type": "shell", + "command": "./scripts/build_script build -b release", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [], + "detail": "Build Release" + }, { "label": "Clean: Debug", "type": "shell", diff --git a/scripts/build_script b/scripts/build_script index b932873..ab4286e 100755 Binary files a/scripts/build_script and b/scripts/build_script differ diff --git a/src/commands.cpp b/src/commands.cpp index e5a4b16..9145920 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -48,7 +48,7 @@ void configureProject(const BuildType buildType, bool dryrun) { configureDir("build/release", "Release", dryrun); break; case relwithdeb: - configureDir("build/RelWithDeb", "RelWithDeb", dryrun); + configureDir("build/relwithbeb", "RelWithDeb", dryrun); break; case minsizerel: configureDir("build/minsizerel", "MinSizeRel", dryrun); @@ -73,7 +73,7 @@ void cleanProject(const BuildType buildType, bool dryrun) { cleanDir("build/release", dryrun); break; case relwithdeb: - cleanDir("build/RelWithDeb", dryrun); + cleanDir("build/relwithdeb", dryrun); break; case minsizerel: cleanDir("build/minsizerel", dryrun);