debug
This commit is contained in:
parent
b386cd166f
commit
b37ec5adf2
8 changed files with 123 additions and 6 deletions
19
build.bat
19
build.bat
|
|
@ -1,5 +1,20 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set DEBUG=release
|
||||
if "%1" == "debug" set DEBUG=debug
|
||||
|
||||
conan install . --output-folder=build --build=missing
|
||||
cd build
|
||||
meson setup --native-file conan_meson_native.ini .. meson-src
|
||||
|
||||
meson setup -Dbuildtype=%DEBUG% --native-file conan_meson_native.ini .. meson-src --reconfigure
|
||||
meson compile -C meson-src
|
||||
meson-src\main.exe
|
||||
|
||||
REM Only run the executable if it exists
|
||||
if exist meson-src\main.exe (
|
||||
meson-src\main.exe
|
||||
) else (
|
||||
echo "Executable not found. Build might have failed."
|
||||
)
|
||||
|
||||
pause
|
||||
Loading…
Add table
Add a link
Reference in a new issue