Commit Graph

17 Commits

Author SHA1 Message Date
radare
869b698c1c
Enable capstone5 at configure time option ##disasm
* Add --with-capstone5 configure flag
* Add use_capstone5 meson option
2019-05-07 12:47:27 +02:00
lzutao
f18838fff5 Improve the meson scripts ##build
* meson: Update to 0.47

Use a fallback version when sys/version.py failed.

* meson: Remove redundant calls to get_option

No need to join prefix with other project directories.

* meson: Check for explicit_memset

* meson: Use install_man to install manpages

Also, let install zsh completion files.

* meson: Install shlr/www only if use_webui built option is true

* Add use_webui build option

Rationale: Debian doesn't install shlr/www by default, give them an option
to enable/disable its installation.

* meson: Ensure python3 and no hard-code version

* meson: Ensure R2_DATDIR, R2_INCDIR, R2_LIBDIR be absolute path

* meson: WWWROOT be absolute path
2018-12-06 15:17:25 +01:00
Riccardo Schirone
752f37db4c Fixes for the --without-debugger compilations ##build
* io_ptrace: do not include io_ptrace if DEBUGGER is not defined
* meson: add `debugger` option to not use any debugger
2018-11-27 15:46:35 +01:00
Riccardo Schirone
6080edf13b
Fix r_log when used for r_assert (#11971)
- Split r_log in r_vlog/r_log and make r_assert_log use r_vlog because it
needs to provide a va_list.
- Rename _r_internal_logging to r_log because that's a R_API function
and it needs a good name
- Make R2_CHECKS_LEVEL dependent on 'buildtype' option
- Make R_LOGLVL_WARN the default log level when in debug mode (default)
- introduce ASSERT_STDOUT macro to print assert failures to stdout
- use ASSERT_STDOUT in the Travis env with asan
- use list of callbacks in RLog instead of just one.
2018-10-29 11:48:12 +01:00
Florian Märkl
c05c85aa9f Reimplement TCP Server with libuv and add configure/meson flags (#11403) 2018-09-17 12:07:00 +02:00
Riccardo Schirone
ab4dbd509f r_assert: create functions to handle preconditions (#11286) 2018-09-16 23:24:57 +02:00
Riccardo Schirone
4b2e1359ab
shlr/meson: use source path to store capstone directory (#10993)
* shlr/meson: use an option to chose whether to use builddir or not
2018-08-10 10:31:17 +02:00
Riccardo Schirone
54176f1bbc
Openssl meson (#10909)
* meson: allow to build with openssl
* use MD4 from openssl
* meson: use MD5 from openssl too
* meson: use SHA* functions from ssl library
* libr/hash: fix makefile when using openssl
2018-08-10 10:17:48 +02:00
Riccardo Schirone
1b129f4862 Make xxhash dependency optional in acr and meson (#10901) 2018-08-06 15:18:50 +02:00
Riccardo Schirone
c932d1abff
meson fixes (#10743)
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Paul I
cad927a591 Meson: add rule for tags.r2 (#10215) 2018-05-28 23:25:48 +02:00
Jörg Thalheim
9656ba12aa meson: make git executable optional (#10092)
This is useful for reproducible offline builds
2018-05-16 08:32:26 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
Paul I
4f7687287f Meson: Some little fixes (#9783)
* fix shlr libraries names
* fix missing headers for Windows dist
* fix missing format files for Windows dist
* add <static_runtime> option
* add argument with list of additional meson options for sys/meson.py
2018-03-30 23:35:12 +02:00
Paul I
2782a1890e Some sys/meson.py cleanup (#9258) 2018-01-28 18:16:38 +01:00
pancake
8307a31249 Add dummy meson_options.txt 2017-05-09 23:54:02 +02:00