generated from Riley/Conan-C
Initial commit
This commit is contained in:
commit
605a30e2f8
13 changed files with 240 additions and 0 deletions
20
build.bat
Normal file
20
build.bat
Normal file
|
|
@ -0,0 +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 -Dbuildtype=%DEBUG% --native-file conan_meson_native.ini .. meson-src --reconfigure
|
||||
meson compile -C meson-src
|
||||
|
||||
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