-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure repo after transfer from Nick T
This is one big old messy commit restructuring the repo to account for the new react-juce-examples repo. This includes various documentation fixes and updates.
- Loading branch information
jmarler
committed
Oct 31, 2023
1 parent
0693801
commit 9888465
Showing
1,037 changed files
with
4,652 additions
and
498,504 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
project(reactjuce VERSION 0.1.0) | ||
|
||
# Change this option to ON if you want to build the AudioPluginHost for example | ||
# (practical to debug the plugin processor directly from your IDE) | ||
option(JUCE_BUILD_EXTRAS "Build JUCE Extras" OFF) | ||
|
||
|
||
# Change this option to set the JS Interpreter/Engine you wish to run React-JUCE against. | ||
set(REACTJUCE_JS_LIBRARY DUKTAPE CACHE STRING "The JS Engine to use: either HERMES or DUKTAPE") | ||
|
||
|
||
add_subdirectory(ext/juce) | ||
|
||
# Adding any custom modules you might have: | ||
juce_add_module(react_juce) | ||
|
||
# Setup the JS engine/interpreter to use. | ||
if (REACTJUCE_JS_LIBRARY STREQUAL "HERMES") | ||
add_subdirectory(react_juce/hermes) | ||
|
||
target_compile_definitions( | ||
react_juce | ||
INTERFACE | ||
REACTJUCE_USE_HERMES=1 | ||
) | ||
|
||
#TODO: We should be able to remove this include bloc once the following PR is merged | ||
# over at hermes upstream: https://github.com/facebook/hermes/pull/454 | ||
target_include_directories( | ||
react_juce | ||
INTERFACE | ||
react_juce/hermes/API/ | ||
react_juce/hermes/public/ | ||
) | ||
|
||
target_link_libraries( | ||
react_juce | ||
INTERFACE | ||
hermesapi | ||
) | ||
elseif (REACTJUCE_JS_LIBRARY STREQUAL "QUICKJS") | ||
#TODO: Add QuickJS cmake settings/includes here. | ||
elseif (REACTJUCE_JS_LIBRARY STREQUAL "DUKTAPE") | ||
target_compile_definitions( | ||
react_juce | ||
INTERFACE | ||
REACTJUCE_USE_DUKTAPE=1 | ||
) | ||
endif() | ||
add_subdirectory(react_juce/hermes) | ||
|
||
# If you want to create new projects, you can init them in the examples folder | ||
# and add them here with the add_subdirectory command | ||
add_subdirectory(examples/GainPlugin) | ||
target_link_libraries( | ||
react_juce | ||
INTERFACE | ||
hermesapi | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
# Introduction | ||
|
||
React-JUCE is a hybrid JavaScript/C++ framework that enables a [React.js](https://reactjs.org/) frontend for a [JUCE](http://juce.com/) application or plugin. It provides an embedded, ECMAScript-compliant JavaScript engine via [Duktape](http://duktape.org/), native hooks for rendering the React component tree via `juce::Component` instances, and a flexbox layout engine via [Yoga](https://yogalayout.com/). | ||
React-JUCE is a hybrid JavaScript/C++ framework that enables a | ||
[React.js](https://reactjs.org/) frontend for a [JUCE](http://juce.com/) | ||
application or plugin. | ||
|
||
For more information, see the introductory blog post here: [React-JUCE: A JUCE Rendering Backend for React.js](https://nickwritesablog.com/blueprint-a-juce-rendering-backend-for-react-js) | ||
For more information, see the introductory blog post here: | ||
[React-JUCE: A JUCE Rendering Backend for React.js](https://nickwritesablog.com/blueprint-a-juce-rendering-backend-for-react-js) | ||
|
||
## Examples | ||
|
||
React-JUCE is a young project, but already it provides the framework on which the entire user interface for [Creative Intent's Remnant](https://www.creativeintent.co/product/remnant) plugin is built. | ||
React-JUCE is a young project, but already it provides the framework on which | ||
the entire user interface for [Creative Intent's Remnant](https://www.creativeintent.co/product/remnant) plugin is built. | ||
|
||
![Creative Intent Remnant: Screenshot](_media/RemnantScreenShot.jpg) | ||
|
||
Besides that, you can check out the example code in the `examples/` directory. See the "Documentation" section | ||
below for building and running the demo plugin. If you have a project written with React-JUCE that you want to share, get in touch! I would | ||
love to showcase your work. | ||
Besides that, you can check out a selection of example plugins over at [react-juce-examples](https://github.com/JoshMarler/react-juce-examples) | ||
|
||
## Contributing | ||
If you have a project written with React-JUCE that you want to share, get in touch! We would love to showcase your work. | ||
|
||
Yes, please! I would be very happy to welcome your involvement. Take a look at the [open issues](https://github.com/nick-thompson/react-juce/issues) | ||
or the [project tracker](https://github.com/nick-thompson/react-juce/projects/1) to see if there's outstanding work that you might | ||
be able to get started. Or feel free to propose an idea or offer feedback by [opening an issue](https://github.com/nick-thompson/react-juce/issues/new) as well. | ||
## Contributing | ||
|
||
I don't have a formal style guide at the moment, so please try to match the present formatting in any code contributions. | ||
Yes, please! We would be very happy to welcome your involvement. Take a look at the [open issues](https://github.com/JoshMarler/react-juce/issues) | ||
or the [project tracker](https://github.com/JoshMarler/react-juce/projects/1) to see if there's outstanding work that you might | ||
be able to get started. Or feel free to propose an idea or offer feedback by [opening an issue](https://github.com/JoshMarler/react-juce/issues/new) as well. | ||
|
||
## License | ||
|
||
See [LICENSE.md](https://github.com/nick-thompson/react-juce/blob/master/LICENSE.md) | ||
See [LICENSE.md](https://github.com/JoshMarler/react-juce/blob/master/LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.