mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-26 12:24:32 +00:00
Added meson build scripts.
Mostly for ease of use as a subproject to parse windows dependencies for packaging. Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
This commit is contained in:
parent
64989f688a
commit
b66e9dbedb
7
dump-prog/meson.build
Normal file
7
dump-prog/meson.build
Normal file
@ -0,0 +1,7 @@
|
||||
dump_prog = executable(
|
||||
'dump-prog',
|
||||
'dump.cpp',
|
||||
include_directories : [ incdirs ],
|
||||
install : true,
|
||||
install_dir : join_paths(get_option('datadir'), 'pe-parse/examples'),
|
||||
link_with : pe_parser_library)
|
8
meson.build
Normal file
8
meson.build
Normal file
@ -0,0 +1,8 @@
|
||||
project('pe-parse',
|
||||
'cpp',
|
||||
default_options : [ 'cpp_std=c++11' ],
|
||||
license : [ 'MIT' ],
|
||||
)
|
||||
|
||||
subdir('parser-library')
|
||||
subdir('dump-prog')
|
11
parser-library/meson.build
Normal file
11
parser-library/meson.build
Normal file
@ -0,0 +1,11 @@
|
||||
incdirs = include_directories('.')
|
||||
parser_source = [
|
||||
'buffer.cpp',
|
||||
'parse.cpp'
|
||||
]
|
||||
|
||||
pe_parser_library = library('pe-parser-library',
|
||||
sources : parser_source,
|
||||
install : true
|
||||
)
|
||||
install_headers('parse.h', subdir : 'pe-parse')
|
Loading…
x
Reference in New Issue
Block a user