Git Product home page Git Product logo

cfillion / reaimgui Goto Github PK

View Code? Open in Web Editor NEW
51.0 4.0 9.0 3.65 MB

ReaScript binding and REAPER backend for the Dear ImGui toolkit.

Home Page: https://forum.cockos.com/showthread.php?t=250419

License: GNU Lesser General Public License v3.0

C++ 86.36% Objective-C++ 7.27% Ruby 3.73% Lua 0.16% HLSL 0.09% Metal 0.13% Shell 0.02% C 0.04% Meson 1.99% PHP 0.21%
reaper reaper-plugin imgui binding dear-imgui reascript

reaimgui's Introduction

ReaImGui: ReaScript binding for Dear ImGui

Build status

This REAPER extension is distributed via ReaPack through the default ReaTeam Extensions repository.

https://forum.cockos.com/showthread.php?t=250419

Build from source

Prerequisites

Software requirements:

  • Meson (1.1 or newer)
  • C++20 compiler* (C++17 is supported for Linux and macOS builds)
  • PHP (optional, for preprocessing of gfx2imgui.lua)

(* The C++ compiler must be ABI-compatible with MSVC on Windows)

Library requirements:

By default these will be picked up from the system or downloaded if missing.

Additional system dependencies on Linux:

Compile and install

Fetch the repository including submodules:

$ git clone --recursive --shallow-submodules https://github.com/cfillion/reaimgui.git

Build ReaImGui using Meson:

$ meson setup build
$ cd build
$ ninja

The change the installation directory to a portable install:

$ meson configure -Dresource_path=~/path/to/your/portable/install/

Downgrade to C++17 if compiling on macOS with Xcode older than 14:

$ meson configure -Dcpp_std=c++17

Run the test suite using:

$ meson test

Install ReaImGui into your REAPER resource path using:

$ meson install --tags runtime

Cross-compilation

Linux

QEMU is used to run compiled binaries for binding generation and tests.

meson setup build/i686    --cross-file cross/i686-linux-gnu.ini
meson setup build/armv7l  --cross-file cross/arm-linux-gnueabihf.ini
meson setup build/aarch64 --cross-file cross/aarch64-linux-gnu.ini

macOS

macOS 10.14 (or older) and Xcode 9 are required for producing 32-bit builds. Xcode 12 is required to compile for ARM64.

export MACOSX_DEPLOYMENT_TARGET=10.9
meson setup build/i386 --cross-file cross/i386-darwin.ini

export MACOSX_DEPLOYMENT_TARGET=11.0
meson setup build/arm64 --cross-file cross/arm64-darwin.ini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.