meson: disable LTO by default
This commit is contained in:
parent
19429b0f6e
commit
c218db6f34
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ All other dependencies are either stored in the repository or are included as su
|
||||||
Building:
|
Building:
|
||||||
|
|
||||||
1. Clone Aegisub's repository: `git clone https://github.com/TypesettingTools/Aegisub.git`
|
1. Clone Aegisub's repository: `git clone https://github.com/TypesettingTools/Aegisub.git`
|
||||||
2. From the Visual Studio "x64 Native Tools Command Prompt", generate the build directory: `meson build -Ddefault_library=static`
|
2. From the Visual Studio "x64 Native Tools Command Prompt", generate the build directory: `meson build -Ddefault_library=static -Db_lto=true`
|
||||||
3. Build with `cd build` and `meson compile`
|
3. Build with `cd build` and `meson compile`
|
||||||
|
|
||||||
You should now have a binary at `src/aegisub.exe`.
|
You should now have a binary at `src/aegisub.exe`.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
project('Aegisub', ['c', 'cpp'],
|
project('Aegisub', ['c', 'cpp'],
|
||||||
license: 'BSD-3-Clause',
|
license: 'BSD-3-Clause',
|
||||||
meson_version: '>=0.56.1',
|
meson_version: '>=0.56.1',
|
||||||
default_options: ['cpp_std=c++11', 'b_lto=true', 'buildtype=debugoptimized'],
|
default_options: ['cpp_std=c++11', 'buildtype=debugoptimized'],
|
||||||
version: '3.2.2')
|
version: '3.2.2')
|
||||||
|
|
||||||
cmake = import('cmake')
|
cmake = import('cmake')
|
||||||
|
|
Loading…
Reference in a new issue