Add bitsery as a dependency

This commit is contained in:
Robbert van der Helm
2020-02-26 17:57:14 +01:00
parent c2e102969e
commit b2acd5508c
4 changed files with 14 additions and 2 deletions
+3 -2
View File
@@ -21,6 +21,7 @@ endif
# file. # file.
boost_dep = dependency('boost', modules : ['filesystem']) boost_dep = dependency('boost', modules : ['filesystem'])
bitsery_dep = subproject('bitsery').get_variable('bitsery_dep')
msgpack_dep = dependency('msgpack') msgpack_dep = dependency('msgpack')
threads_dep = dependency('threads') threads_dep = dependency('threads')
# The built in threads dependency does not know how to handle winegcc # The built in threads dependency does not know how to handle winegcc
@@ -36,7 +37,7 @@ shared_library(
], ],
native : true, native : true,
include_directories : include_dir, include_directories : include_dir,
dependencies : [boost_dep, msgpack_dep, threads_dep], dependencies : [boost_dep, bitsery_dep, msgpack_dep, threads_dep],
link_args : ['-ldl'] link_args : ['-ldl']
) )
@@ -47,6 +48,6 @@ executable(
], ],
native : false, native : false,
include_directories : include_dir, include_directories : include_dir,
dependencies : [boost_dep, msgpack_dep, wine_threads_dep], dependencies : [boost_dep, bitsery_dep, msgpack_dep, wine_threads_dep],
link_args : [] link_args : []
) )
+1
View File
@@ -0,0 +1 @@
/*/*
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
[wrap-file]
directory = bitsery-d24dfe14f5a756c0f8ad3d56ae6949ecc2c99b2e
source_url = https://github.com/fraillt/bitsery/archive/d24dfe14f5a756c0f8ad3d56ae6949ecc2c99b2e.zip
source_filename = bitsery-d24dfe14f5a756c0f8ad3d56ae6949ecc2c99b2e.zip
source_hash = 1a3219e0818db6fa95677deb29087ddccf99087c0777c9313719122062186ae7
patch_url = file:../subprojects/bitsery-patch.tar.xz
patch_filename = bitsery-patch.tar.xz
patch_hash = d33edb5c4f9128831b0b70944c1b29239a97d6b8a2c36a43aada2b4a48eb9a51