react_juce with cmake integration

Usage

1. Load react_juce

# load downloaded project
add_subdirectory(react_juce)

or...

# declare github project 
FetchContent_Declare(react_juce
        GIT_REPOSITORY https://github.com/tobq/react_juce_cmake.git
        GIT_TAG main)
# fetched / load project
FetchContent_MakeAvailable(react_juce)

2. Link to react_juce

target_link_libraries(${TARGET_NAME} PRIVATE 
    juce::juce_core
    juce::juce_graphics
    react_juce)
  • Note: you must link with juce in order to build with react_juce