Skip to content

Commit

Permalink
use libui instead of wxWidgets
Browse files Browse the repository at this point in the history
  • Loading branch information
matyalatte committed Aug 21, 2023
1 parent 0900ede commit 8edf5a8
Show file tree
Hide file tree
Showing 141 changed files with 1,153 additions and 108,022 deletions.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
*.sh
!shell_scripts/*.sh

# subprojects
subprojects/libui
subprojects/packagecache
subprojects/rapidjson-1.1.0
subprojects/subprocess

# built files
*.exe
*.new
Expand All @@ -28,8 +34,6 @@ SimpleCommandRunner

# intermediate files
build
Release*
Debug*
*.log
*.cmake

Expand All @@ -53,9 +57,6 @@ out
*.test
*.make

!wx_fix/build
!wx_fix/build/cmake/*.cmake

# python
python
*.py
Expand Down
143 changes: 0 additions & 143 deletions CMakeLists.txt

This file was deleted.

189 changes: 0 additions & 189 deletions CMakePresets.json

This file was deleted.

25 changes: 25 additions & 0 deletions batch_files/build.bat
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
Loading

0 comments on commit 8edf5a8

Please sign in to comment.