Skip to content

Commit

Permalink
Merge pull request #133 from ImJimmi/projucer
Browse files Browse the repository at this point in the history
Add Projucer projects
  • Loading branch information
ImJimmi authored Dec 28, 2023
2 parents ae85c77 + 6a431b5 commit 6af097f
Show file tree
Hide file tree
Showing 13 changed files with 314 additions and 69 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.DS_Store
.vscode/c_cpp_properties.json
.vscode/settings.json
build/
Builds/
JuceLibraryCode/

# Prerequisites
*.d
Expand Down
4 changes: 2 additions & 2 deletions jive_core/values/jive_Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace jive
replaceDynamicObjectsWithJiveObjects(*dynamicObject->getProperties().getVarPointerAt(i));

Object::ReferenceCountedPointer object = new Object{ std::move(*dynamicObject) };
value = object;
value = object.get();
}

if (auto* array = value.getArray())
Expand Down Expand Up @@ -156,7 +156,7 @@ namespace juce

var VariantConverter<jive::Object::ReferenceCountedPointer>::toVar(jive::Object::ReferenceCountedPointer object)
{
return var{ object };
return var{ object.get() };
}
} // namespace juce

Expand Down
46 changes: 46 additions & 0 deletions runners/benchmarking/benchmarking.jucer
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>

<JUCERPROJECT id="LyqIG8" name="benchmarking" projectType="consoleapp" useAppConfig="0"
addUsingNamespaceToJuceHeader="0" jucerFormatVersion="1">
<MAINGROUP id="ppVvqg" name="benchmarking">
<GROUP id="{3CC12253-DF8A-5841-2811-DF17B79DF067}" name="source">
<FILE id="vIh4x6" name="Benchmark.h" compile="0" resource="0" file="source/Benchmark.h"/>
<FILE id="RdeMXK" name="FlexStressTest.h" compile="0" resource="0"
file="source/FlexStressTest.h"/>
<FILE id="jF5yW7" name="main.cpp" compile="1" resource="0" file="source/main.cpp"/>
<FILE id="DiCyo0" name="MinimumViewBenchmark.h" compile="0" resource="0"
file="source/MinimumViewBenchmark.h"/>
</GROUP>
</MAINGROUP>
<JUCEOPTIONS JUCE_STRICT_REFCOUNTEDPOINTER="1"/>
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" extraLinkerFlags="-Wl,-ld_classic">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" targetName="benchmarking"/>
<CONFIGURATION isDebug="0" name="Release" targetName="benchmarking"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_data_structures" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_events" path="../libraries/JUCE/modules"/>
<MODULEPATH id="jive_layouts" path="../../../JIVE"/>
<MODULEPATH id="jive_components" path="../../../JIVE"/>
<MODULEPATH id="jive_core" path="../../../JIVE"/>
<MODULEPATH id="juce_gui_basics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_graphics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="jive_style_sheets" path="../../../JIVE"/>
</MODULEPATHS>
</XCODE_MAC>
</EXPORTFORMATS>
<MODULES>
<MODULE id="jive_components" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="jive_core" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="jive_layouts" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_style_sheets" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_core" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_events" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
</MODULES>
</JUCERPROJECT>
5 changes: 0 additions & 5 deletions runners/demo-runner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
add_library(jive-demo INTERFACE)

juce_add_binary_data(jive-demo-resources
HEADER_NAME "binary_data.h"
NAMESPACE "binary_data"

SOURCES
resources/icons/back-small.svg
resources/icons/build-large.svg
resources/icons/build-small.svg
resources/icons/code-large.svg
resources/icons/code-small.svg
resources/icons/layout-large.svg
resources/icons/layout-small.svg
resources/icons/next-small.svg
resources/icons/palette-large.svg
resources/icons/palette-small.svg
resources/rubik-mono-one.ttf
resources/rubik.ttf
resources/source-code-pro.ttf
Expand Down
100 changes: 100 additions & 0 deletions runners/demo-runner/demo-app.jucer
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>

<JUCERPROJECT id="zMxPxd" name="demo-app" projectType="guiapp" useAppConfig="0"
addUsingNamespaceToJuceHeader="0" jucerFormatVersion="1" headerPath="../../source/"
defines="JIVE_GUI_ITEMS_HAVE_STYLE_SHEETS=1&#10;JUCE_APPLICATION_NAME=&quot;jive-demo&quot;&#10;JUCE_APPLICATION_VERSION=&quot;0.0.0&quot;"
includeBinaryInJuceHeader="0" companyName="JIVE" companyWebsite="github.com/ImJimmi/JIVE"
binaryDataNamespace="binary_data">
<MAINGROUP id="ZWHZUu" name="demo-app">
<GROUP id="{17432EEE-718B-0A18-5C50-20A4659E5FBB}" name="resources">
<GROUP id="{4CD0BE4F-7AD4-9281-9ED6-0CB64C157468}" name="icons">
<FILE id="U1Hqjv" name="back-small.svg" compile="0" resource="1" file="resources/icons/back-small.svg"/>
<FILE id="aFbjjW" name="build-large.svg" compile="0" resource="1" file="resources/icons/build-large.svg"/>
<FILE id="dLodsS" name="code-large.svg" compile="0" resource="1" file="resources/icons/code-large.svg"/>
<FILE id="nZzQ90" name="layout-large.svg" compile="0" resource="1"
file="resources/icons/layout-large.svg"/>
<FILE id="ubYwpi" name="next-small.svg" compile="0" resource="1" file="resources/icons/next-small.svg"/>
<FILE id="V8HUP7" name="palette-large.svg" compile="0" resource="1"
file="resources/icons/palette-large.svg"/>
</GROUP>
<FILE id="ju4d01" name="README.md" compile="0" resource="1" file="resources/README.md"/>
<FILE id="nhBqiD" name="rubik-mono-one.ttf" compile="0" resource="1"
file="resources/rubik-mono-one.ttf"/>
<FILE id="EqkfeT" name="rubik.ttf" compile="0" resource="1" file="resources/rubik.ttf"/>
<FILE id="K3BOM8" name="source-code-pro.ttf" compile="0" resource="1"
file="resources/source-code-pro.ttf"/>
</GROUP>
<GROUP id="{05E6FF1C-C776-D0ED-B955-02E1AF9CBCCC}" name="source">
<GROUP id="{37A596CF-4142-B177-F521-70609490BB69}" name="jive_demo">
<GROUP id="{10293FBA-1B70-303C-0E30-6882610918C0}" name="gui">
<GROUP id="{3CC800BC-A841-DAE4-820F-CC067A7FE81D}" name="pages">
<FILE id="fgljV5" name="ArchitecturePage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/ArchitecturePage.h"/>
<FILE id="RwNofN" name="CodeExamplePage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/CodeExamplePage.h"/>
<FILE id="aJqEcZ" name="DevelopmentPage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/DevelopmentPage.h"/>
<FILE id="H8giG2" name="HomePage.h" compile="0" resource="0" file="source/jive_demo/gui/pages/HomePage.h"/>
<FILE id="CcqZxg" name="LayoutsPage.h" compile="0" resource="0" file="source/jive_demo/gui/pages/LayoutsPage.h"/>
<FILE id="dBZzqh" name="Pages.h" compile="0" resource="0" file="source/jive_demo/gui/pages/Pages.h"/>
<FILE id="x8mCAK" name="PageWithNavigation.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/PageWithNavigation.h"/>
<FILE id="dbs7IR" name="StyleSheetsPage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/StyleSheetsPage.h"/>
</GROUP>
<GROUP id="{36B36018-40FF-001C-6D34-9C2F1FD6669A}" name="tokens">
<FILE id="s86R4B" name="Colours.h" compile="0" resource="0" file="source/jive_demo/gui/tokens/Colours.h"/>
<FILE id="mOHE51" name="Typography.h" compile="0" resource="0" file="source/jive_demo/gui/tokens/Typography.h"/>
</GROUP>
<GROUP id="{F36B9186-8BA0-A07C-658D-6921D99B614D}" name="views">
<FILE id="ImUt70" name="DemoCallToAction.h" compile="0" resource="0"
file="source/jive_demo/gui/views/DemoCallToAction.h"/>
<FILE id="WFhy9o" name="Icons.h" compile="0" resource="0" file="source/jive_demo/gui/views/Icons.h"/>
<FILE id="p4eXJd" name="PageHeader.h" compile="0" resource="0" file="source/jive_demo/gui/views/PageHeader.h"/>
<FILE id="a4JmPN" name="PageLink.h" compile="0" resource="0" file="source/jive_demo/gui/views/PageLink.h"/>
<FILE id="tuQpl2" name="Subtitle.h" compile="0" resource="0" file="source/jive_demo/gui/views/Subtitle.h"/>
<FILE id="DxLCVw" name="Title.h" compile="0" resource="0" file="source/jive_demo/gui/views/Title.h"/>
</GROUP>
<FILE id="BC2LKk" name="Layouts.h" compile="0" resource="0" file="source/jive_demo/gui/Layouts.h"/>
<FILE id="T0iaBc" name="WindowPresenter.h" compile="0" resource="0"
file="source/jive_demo/gui/WindowPresenter.h"/>
<FILE id="PYhPeO" name="WindowState.h" compile="0" resource="0" file="source/jive_demo/gui/WindowState.h"/>
</GROUP>
<FILE id="F9abVo" name="Application.h" compile="0" resource="0" file="source/jive_demo/Application.h"/>
<FILE id="DxRpZG" name="DemoState.h" compile="0" resource="0" file="source/jive_demo/DemoState.h"/>
</GROUP>
<FILE id="ujFNtq" name="main.cpp" compile="1" resource="0" file="source/main.cpp"/>
</GROUP>
</MAINGROUP>
<JUCEOPTIONS JUCE_STRICT_REFCOUNTEDPOINTER="1"/>
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" extraLinkerFlags="-Wl,-ld_classic">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" targetName="demo-app"/>
<CONFIGURATION isDebug="0" name="Release" targetName="demo-app"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_data_structures" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_events" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_graphics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_gui_basics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="jive_components" path="../../../JIVE"/>
<MODULEPATH id="jive_core" path="../../../JIVE"/>
<MODULEPATH id="jive_layouts" path="../../../JIVE"/>
<MODULEPATH id="jive_style_sheets" path="../../../JIVE"/>
</MODULEPATHS>
</XCODE_MAC>
</EXPORTFORMATS>
<MODULES>
<MODULE id="jive_components" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_core" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_layouts" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_style_sheets" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_core" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_events" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
</MODULES>
</JUCERPROJECT>
114 changes: 114 additions & 0 deletions runners/demo-runner/demo-plugin.jucer
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="UTF-8"?>

<JUCERPROJECT id="qFoJri" name="demo-plugin" projectType="audioplug" useAppConfig="0"
addUsingNamespaceToJuceHeader="0" jucerFormatVersion="1" companyName="JIVE"
companyWebsite="github.com/ImJimmi/JIVE" pluginManufacturerCode="Jive"
pluginCode="Demo" includeBinaryInJuceHeader="0" binaryDataNamespace="binary_data"
defines="JIVE_GUI_ITEMS_HAVE_STYLE_SHEETS=1" headerPath="../../source/">
<MAINGROUP id="OjEzkk" name="demo-plugin">
<GROUP id="{5B20D864-65AF-280B-B586-1623AE5EF81F}" name="resources">
<GROUP id="{374DF238-3078-3475-2ED2-0B357D582099}" name="icons">
<FILE id="UxefyX" name="back-small.svg" compile="0" resource="1" file="resources/icons/back-small.svg"/>
<FILE id="jWA2Z2" name="build-large.svg" compile="0" resource="1" file="resources/icons/build-large.svg"/>
<FILE id="fZZvQs" name="code-large.svg" compile="0" resource="1" file="resources/icons/code-large.svg"/>
<FILE id="kerb5r" name="layout-large.svg" compile="0" resource="1"
file="resources/icons/layout-large.svg"/>
<FILE id="vnLRGU" name="next-small.svg" compile="0" resource="1" file="resources/icons/next-small.svg"/>
<FILE id="rxVxbE" name="palette-large.svg" compile="0" resource="1"
file="resources/icons/palette-large.svg"/>
</GROUP>
<FILE id="sNDS0A" name="README.md" compile="0" resource="1" file="resources/README.md"/>
<FILE id="oEdcvA" name="rubik-mono-one.ttf" compile="0" resource="1"
file="resources/rubik-mono-one.ttf"/>
<FILE id="sYcJbI" name="rubik.ttf" compile="0" resource="1" file="resources/rubik.ttf"/>
<FILE id="wA21uz" name="source-code-pro.ttf" compile="0" resource="1"
file="resources/source-code-pro.ttf"/>
</GROUP>
<GROUP id="{C1255A6B-C187-6378-9548-6DF9CDDAE45D}" name="source">
<GROUP id="{9E0DF072-3B88-F4C5-BE85-9C26A0264D82}" name="jive_demo">
<GROUP id="{F0570634-2C79-6E1D-81AF-CF283FFDAAED}" name="gui">
<GROUP id="{74E108DC-F0A9-DD42-F3BD-00A65AC1C122}" name="pages">
<FILE id="wOfR8t" name="ArchitecturePage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/ArchitecturePage.h"/>
<FILE id="WRNPoQ" name="CodeExamplePage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/CodeExamplePage.h"/>
<FILE id="m5qCH9" name="DevelopmentPage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/DevelopmentPage.h"/>
<FILE id="LPXQoG" name="HomePage.h" compile="0" resource="0" file="source/jive_demo/gui/pages/HomePage.h"/>
<FILE id="PmIt7q" name="LayoutsPage.h" compile="0" resource="0" file="source/jive_demo/gui/pages/LayoutsPage.h"/>
<FILE id="O3uAhE" name="Pages.h" compile="0" resource="0" file="source/jive_demo/gui/pages/Pages.h"/>
<FILE id="YK9l7y" name="PageWithNavigation.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/PageWithNavigation.h"/>
<FILE id="SyiOeN" name="StyleSheetsPage.h" compile="0" resource="0"
file="source/jive_demo/gui/pages/StyleSheetsPage.h"/>
</GROUP>
<GROUP id="{4EB19A9A-CE3B-5D64-A1B2-5A868DD1CB06}" name="tokens">
<FILE id="myF8ay" name="Colours.h" compile="0" resource="0" file="source/jive_demo/gui/tokens/Colours.h"/>
<FILE id="Sd4dqe" name="Typography.h" compile="0" resource="0" file="source/jive_demo/gui/tokens/Typography.h"/>
</GROUP>
<GROUP id="{A224D92A-FA42-DCFA-BDC7-3EBAA3850C88}" name="views">
<FILE id="jYyQAe" name="DemoCallToAction.h" compile="0" resource="0"
file="source/jive_demo/gui/views/DemoCallToAction.h"/>
<FILE id="clkdNK" name="Icons.h" compile="0" resource="0" file="source/jive_demo/gui/views/Icons.h"/>
<FILE id="L4nKd4" name="PageHeader.h" compile="0" resource="0" file="source/jive_demo/gui/views/PageHeader.h"/>
<FILE id="FXAr2W" name="PageLink.h" compile="0" resource="0" file="source/jive_demo/gui/views/PageLink.h"/>
<FILE id="vEseaW" name="Subtitle.h" compile="0" resource="0" file="source/jive_demo/gui/views/Subtitle.h"/>
<FILE id="lnMPfj" name="Title.h" compile="0" resource="0" file="source/jive_demo/gui/views/Title.h"/>
</GROUP>
<FILE id="P4W1Nh" name="Layouts.h" compile="0" resource="0" file="source/jive_demo/gui/Layouts.h"/>
<FILE id="geywMv" name="WindowPresenter.h" compile="0" resource="0"
file="source/jive_demo/gui/WindowPresenter.h"/>
<FILE id="jEwSYe" name="WindowState.h" compile="0" resource="0" file="source/jive_demo/gui/WindowState.h"/>
</GROUP>
<FILE id="gVgLxA" name="DemoState.h" compile="0" resource="0" file="source/jive_demo/DemoState.h"/>
<FILE id="TRrYiH" name="PluginProcessor.h" compile="0" resource="0"
file="source/jive_demo/PluginProcessor.h"/>
</GROUP>
<FILE id="oDEmKd" name="PluginFilter.cpp" compile="1" resource="0"
file="source/PluginFilter.cpp"/>
</GROUP>
</MAINGROUP>
<JUCEOPTIONS JUCE_STRICT_REFCOUNTEDPOINTER="1" JUCE_VST3_CAN_REPLACE_VST2="0"/>
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" extraLinkerFlags="-Wl,-ld_classic">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" targetName="demo-plugin"/>
<CONFIGURATION isDebug="0" name="Release" targetName="demo-plugin"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_data_structures" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_events" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_gui_basics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_graphics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_gui_extra" path="../libraries/JUCE/modules"/>
<MODULEPATH id="jive_layouts" path="../../../JIVE"/>
<MODULEPATH id="jive_components" path="../../../JIVE"/>
<MODULEPATH id="jive_core" path="../../../JIVE"/>
<MODULEPATH id="jive_style_sheets" path="../../../JIVE"/>
<MODULEPATH id="juce_audio_utils" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_audio_processors" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_audio_basics" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_audio_formats" path="../libraries/JUCE/modules"/>
<MODULEPATH id="juce_audio_devices" path="../libraries/JUCE/modules"/>
</MODULEPATHS>
</XCODE_MAC>
</EXPORTFORMATS>
<MODULES>
<MODULE id="jive_components" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_core" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_layouts" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="jive_style_sheets" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_audio_devices" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_audio_formats" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_audio_processors" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_audio_utils" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_core" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_events" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
</MODULES>
</JUCERPROJECT>
Loading

0 comments on commit 6af097f

Please sign in to comment.