From 9feb8a1a20a44dff5beb6429d7b5bfc83ed98d11 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Sat, 23 Sep 2023 23:27:39 +0200 Subject: [PATCH] CICD: Fix build compile command --- scripts/compil.ps1 | 2 ++ scripts/compil.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/compil.ps1 b/scripts/compil.ps1 index c1ed1f45..d4c9cff0 100644 --- a/scripts/compil.ps1 +++ b/scripts/compil.ps1 @@ -3,4 +3,6 @@ $ErrorActionPreference = 'Stop' +cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + cmake --build build diff --git a/scripts/compil.sh b/scripts/compil.sh index ae8da769..1c4b872b 100755 --- a/scripts/compil.sh +++ b/scripts/compil.sh @@ -3,4 +3,6 @@ set -ex -cmake --build build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON +cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + +cmake --build build