mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16:12 +00:00
009c8dffb4
API usage has been adjusted. There are now also cmake config files directly installed by Rizin itself, so we don't need to keep a custom FindRizin.cmake file in Cutter. This remove that file and just uses `find_package(Rizin COMPONENTS Core)`, which will use the cmake files installed on the system.
20 lines
326 B
Bash
Executable File
20 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
|
|
|
cd "$SCRIPTPATH/.."
|
|
|
|
if [[ ! -d jsdec ]]; then
|
|
git clone https://github.com/rizinorg/jsdec.git --depth 2 --branch master
|
|
fi
|
|
|
|
cd jsdec
|
|
rm -rf build
|
|
mkdir build && cd build
|
|
meson --buildtype=release -Djsc_folder="../" "$@" ../p
|
|
ninja
|
|
ninja install
|
|
|