From 04a7bc2b8da3e59d8dc19855b654a6833a571614 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Fri, 5 Apr 2024 21:00:23 -0500 Subject: [PATCH] edit build script --- CMakePresets.json | 17 +++++++++++++++++ build.sh | 3 +-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index be4d684f..8def3284 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -289,6 +289,23 @@ } ], "workflowPresets": [ + { + "name": "default", + "steps": [ + { + "type": "configure", + "name": "default" + }, + { + "type": "build", + "name": "default" + }, + { + "type": "test", + "name": "default" + } + ] + }, { "name": "ci-windows-2022", "displayName": "Windows CI Workflow", diff --git a/build.sh b/build.sh index b8d33492..4b1e7df1 100755 --- a/build.sh +++ b/build.sh @@ -6,8 +6,7 @@ mkdir -p build cd build # Run cmake to generate make files -cmake .. +cmake .. -DCMAKE_BUILD_TYPE="Release" # To build utilizing multiple cores, append `-j` and the amount of cores to utilize, for example `cmake --build . --config Release -j8' cmake --build . --config Release $1 -