From 3ab97b3853743d9875643cb91422c878bda70ba5 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Wed, 13 Mar 2024 13:00:28 -0500 Subject: [PATCH] Compile the application if it isn't already compiled --- create_release_mingw.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/create_release_mingw.sh b/create_release_mingw.sh index b552b72..765de11 100644 --- a/create_release_mingw.sh +++ b/create_release_mingw.sh @@ -8,6 +8,12 @@ REL_DIR="$BASE_DIR/release/dist" mkdir -p "$REL_DIR" +# Set up the build directory +meson setup build/ + +# Build the application +meson compile -C build/ + # Parse the output of the 'ldd' command, and create a file with the required DLL paths. ldd build/pong.exe | awk ' NF == 4 {print $3}' > "$BASE_DIR/tmp_file.txt"