-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0900ede
commit 8edf5a8
Showing
141 changed files
with
1,153 additions
and
108,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@echo off | ||
|
||
|
||
if /I "%~1"=="Debug" ( | ||
set BUILD_TYPE=Debug | ||
) else ( | ||
set BUILD_TYPE=Release | ||
) | ||
echo Build type: %BUILD_TYPE% | ||
|
||
set COMMON_OPT=-Ddefault_library=static -Dlibui:default_library=static^ | ||
-Dlibui:tests=false -Dlibui:examples=false | ||
|
||
if "%BUILD_TYPE%"=="Debug" ( | ||
set OPTIONS=-Dbuildtype=debug -Dlibui-ng:buildtype=debug | ||
) else ( | ||
set OPTIONS=-Dbuildtype=release -Dlibui:buildtype=release -Db_vscrt=mt -Db_ndebug=false -Dcpp_rtti=false -Db_lto=true | ||
) | ||
|
||
@pushd %~dp0\.. | ||
meson setup build\%BUILD_TYPE% --backend=vs %COMMON_OPT% %OPTIONS% | ||
cd build\%BUILD_TYPE% | ||
meson compile -v | ||
popd | ||
pause |
Oops, something went wrong.