Ryan
b72f02b9f2
meson: reorder nasm download to work with global args
2021-01-30 12:11:34 -05:00
Ryan
36b75b827d
meson: fix warnings, cleanup
2021-01-30 12:02:18 -05:00
Ryan
73ad926880
meson: define CSRI_NO_EXPORT earlier in setup
2021-01-30 09:12:13 -05:00
Ryan
e186fa4627
meson: disable CSRI on non-windows for now
2021-01-30 09:04:22 -05:00
Ryan
7d9feca578
meson: add CSRI support
2021-01-30 08:57:39 -05:00
Ryan
d8c348e897
meson: standardized config defines to set integer 1
2021-01-30 08:56:01 -05:00
Ryan
7640576cc9
meson: use conf object for defines where appropriate
2021-01-30 07:25:03 -05:00
Ryan
bec44eaab8
meson: define P_LOCALE
2021-01-16 13:15:05 -05:00
Ryan
b8d1864a07
aegisub: ifdef wxBitmap constructor to scale on MacOS only
...
Quick fix to unblock the build; need better HiDPI handling across the board
2021-01-16 13:01:51 -05:00
Ryan
8b8f4a3925
meson: bump minimum ffms2 version to 2.22
...
It's been out for 6 years, so this should be fairly safe. Also fix a build error that somehow snuck in during the merge
2021-01-16 05:31:08 -05:00
Ryan
a2da1616c0
meson: set minimum win version to 7
...
I think setting it at 8 was accidental? This matches the installer, so we should be consistent throughout
2021-01-16 01:26:19 -05:00
Ryan Lucia
b51463a5f5
meson: Fix build on OSX
2021-01-10 03:14:12 -05:00
Ryan
f240c01cbc
meson: only manually set _DEBUG on non-windows
2021-01-10 03:14:12 -05:00
Ryan
72edb88982
meson: add Avisynth option, compile libass_gdi_fontselect
...
Sadly, building with Avisynth is still broken.
2021-01-10 03:14:12 -05:00
Ryan Lucia
194521e777
meson: set wx subproject buildtype, remove d_vscrt hack
2021-01-10 03:14:12 -05:00
Myaamori
abec21f4e0
meson: fix wx subproject on Linux
2021-01-10 03:14:12 -05:00
Myaamori
8bb8b34fe7
meson: set _DEBUG on all platforms for debug builds
2021-01-10 03:14:12 -05:00
Myaamori
0ea6d36fca
meson: don't generate git_version.xml and don't regenerate git_version.h on windows
...
Also fix incorrect use of return outside function. Fixes #80
2021-01-10 03:14:12 -05:00
Ryan Lucia
daa4cc8bbc
meson: search for 'system' module with system boost
...
System was made header-only by 1.74, so we can't check for it in the submodule, but when linking with older system boosts we need to make sure it gets linked in
2021-01-10 03:14:12 -05:00
Ryan Lucia
dc3aaa5df0
meson: allow boost fallback under msvc
2021-01-10 03:14:12 -05:00
Ryan Lucia
60431862fa
meson: allow wx fallback on all platforms
2021-01-10 03:14:12 -05:00
Ryan Lucia
7d0028799f
meson: remove old wx_path and icu_path hacks
2021-01-10 03:14:12 -05:00
Ryan Lucia
e393509515
meson: default to buildtype debugoptimized
2021-01-10 03:14:12 -05:00
Ryan Lucia
e3826cb17e
meson: initial attempt to generate Aegisub.app on macOS
2021-01-10 03:14:12 -05:00
Ryan Lucia
44af99a163
meson: move luabins to subprojects
2021-01-10 03:14:12 -05:00
Myaamori
b1c2fbdb19
meson: add nasm wrap for Windows
2021-01-10 03:14:12 -05:00
Myaamori
03de8929d4
meson: pin wx version and fix dependencies
2021-01-10 03:14:12 -05:00
Myaamori
441daf5aeb
meson: use check_header to check for iconv
...
iconv is not a standalone library on Linux, so find_library is pointless
2021-01-10 03:14:12 -05:00
Myaamori
0b7e244232
meson: define fallbacks for optional dependencies
2021-01-10 03:14:12 -05:00
Myaamori
51b8248ac8
meson: create git_version.h in build directory in version.sh
2021-01-10 03:14:12 -05:00
Myaamori
bb02d3bc5e
meson: don't build with C11
...
C11 breaks the LuaJIT build
2021-01-10 03:14:12 -05:00
Myaamori
f9f8b6c4d3
meson: add FFMS2 wrap
2021-01-10 03:14:12 -05:00
Myaamori
ce791773f6
meson: add Boost wrap
2021-01-10 03:14:12 -05:00
Myaamori
d6ee06eb54
meson: add ICU wrap
2021-01-10 03:14:12 -05:00
Myaamori
f6b74331da
meson: update zlib wrapper
2021-01-10 03:14:12 -05:00
line0
bfdcbdefad
meson: add missing link dependencies on windows
2021-01-10 03:14:12 -05:00
line0
88e24db733
meson: add support for building wxWidgets as a subproject (WIP)
...
monolithic build only and disabled precompiled headers due to limited cmake support in meson
still missing linker dependencies refs to Windows SDK libs
2021-01-10 03:14:12 -05:00
line0
f039395003
meson: generate git_version header in build root rather than within the source tree
...
fixes an issue where the windows version of the git version update script generated the header in a place where it couldn't be found by the include in version.cpp
2021-01-10 03:14:12 -05:00
line0
18fe7918f3
meson: make boost honor the global default_library option
2021-01-10 03:14:12 -05:00
line0
e56ab6c784
meson: define BOOST_USE_WINDOWS_H on Windows
...
fixes symbol redefinition errors in VS 2019
2021-01-10 03:14:12 -05:00
line0
b6c0f2d544
meson: don't build fontconfig file lister on windows
2021-01-10 03:14:12 -05:00
Ryan Lucia
2cb6d5b814
meson: fix up OSX and non-MSVC detection
2021-01-10 03:14:12 -05:00
Ryan Lucia
5e14a9265b
meson: attempt to wrangle dependencies
2021-01-10 03:14:12 -05:00
Ryan Lucia
13711128fa
meson: remove 'build_' prefix from option
2021-01-10 03:14:12 -05:00
Ryan Lucia
d2d3168904
meson: allow additional include directories for manually located deps
2021-01-10 03:14:12 -05:00
Ryan Lucia
df396b67b2
meson: add Windows-specific project args
2021-01-10 03:14:12 -05:00
Ryan Lucia
2eaf9b0062
meson: fix option name lookup in build file
2021-01-10 03:14:12 -05:00
Ryan Lucia
9e284660b1
meson: add DirectSound detection
2021-01-10 03:14:12 -05:00
Ryan Lucia
9aeaceb6e7
meson: add basic libiconv subproject functionality
2021-01-10 03:14:12 -05:00
Ryan Lucia
42bfc53a77
meson: bump c++ version
2021-01-10 03:14:12 -05:00
Ryan Lucia
1a133cd567
meson: move version scripts to tools directory
2021-01-10 03:14:12 -05:00
Ryan Lucia
613cef19a0
meson: rename option for optional dependencies
2021-01-10 03:14:12 -05:00
Ryan Lucia
7596a7c5e4
meson: remove 'static' option
2021-01-10 03:14:12 -05:00
Ryan Lucia
f361138a4d
Switch from combo option to feature where appropriate
...
Also remove the extra space before colons :)
2021-01-10 03:14:12 -05:00
Ryan Lucia
ddd6a4f289
Move version generation scripts up a level
2021-01-10 03:14:12 -05:00
Ryan Lucia
83fcab0775
Switch to newer path concatenation syntax
2021-01-10 03:14:12 -05:00
Ryan Lucia
cde5778283
Make spacing around colons consistent
2021-01-10 03:14:12 -05:00
Ryan Lucia
68f5843117
Don't require fontconfig on windows
2021-01-10 03:14:12 -05:00
Ryan Lucia
c564df55aa
Bump Meson version
...
Build file was using a now-deprecated property
2021-01-10 03:14:12 -05:00
Martin Herkt
ca3802e82a
Meson: respack.lua → respack.py; works out-of-tree
2021-01-10 03:14:12 -05:00
Martin Herkt
48af346e94
Meson: add gettext i18n
2021-01-10 03:14:12 -05:00
Martin Herkt
97b4dfb7f4
Meson: add install rules
2021-01-10 03:14:12 -05:00
Martin Herkt
8905921a2d
Initial port of the build system to Meson
...
Still some TODOs left. Probably only works on Linux for now.
2021-01-10 03:14:12 -05:00