Meson wrap file for beast, remove git submodule

This commit is contained in:
King_DuckZ 2022-05-13 23:31:04 +02:00
commit 10fc605078
7 changed files with 30 additions and 15 deletions

@ -1 +0,0 @@
Subproject commit 9d23bec2bc523223a377582302bd28d04cb514ed

7
subprojects/beast.wrap Normal file
View file

@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/boostorg/beast.git
revision = a332f55d63b89b7b178a70b56d82315d7957fe90
patch_directory = beast
[provide]
dependency_names = beast-1.79.0

View file

@ -0,0 +1,16 @@
project('beast', 'cpp',
version: '1.79.0',
meson_version: '>=0.49.2',
default_options: ['buildtype=release', 'cpp_std=c++11', 'b_ndebug=if-release'],
license: 'BSL-1.0',
)
boost_dep = dependency('boost', version: '>=1.78.0',
modules: ['coroutine', 'filesystem', 'system', 'thread'],
)
public_incl = include_directories('include')
beast_dep = declare_dependency(
include_directories: public_incl,
dependencies: [boost_dep],
)