Skip to content

Commit

Permalink
Upgrade to Juce 7.1.0 / Clap 1.2.0 (#142)
Browse files Browse the repository at this point in the history
Seems to work great on my mac!
  • Loading branch information
baconpaul committed Feb 18, 2024
1 parent 0cb2e83 commit b62d684
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Expand Up @@ -10,6 +10,7 @@ cmake_minimum_required(VERSION 3.16)

# always statically link c runtime on windows
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# default to 10.11 (earlier versions will fail)
if (NOT DEFINED STOCHAS_MAC_SDK_VER)
Expand All @@ -19,10 +20,13 @@ endif()
set(CMAKE_OSX_DEPLOYMENT_TARGET ${STOCHAS_MAC_SDK_VER} CACHE STRING "Build for ${STOCHAS_MAC_SDK_VER}")

if (NOT DEFINED STOCHAS_VERSION)
set (STOCHAS_VERSION 1.3.0)
set (STOCHAS_VERSION 1.3.10)
endif()

project(Stochas VERSION ${STOCHAS_VERSION})

option(STOCHAS_COPY_AFTER_BUILD FALSE "Copy after build")

message( STATUS "Building Stochas with version ${STOCHAS_VERSION}" )
if( APPLE )
message( STATUS "Building using ${CMAKE_OSX_DEPLOYMENT_TARGET}" )
Expand Down Expand Up @@ -85,7 +89,7 @@ juce_add_plugin(stochas
NEEDS_MIDI_OUTPUT TRUE
IS_MIDI_EFFECT ${STOCHAS_IS_MIDI_EFFECT}
# EDITOR_WANTS_KEYBOARD_FOCUS TRUE/FALSE # Does the editor need keyboard focus?
# COPY_PLUGIN_AFTER_BUILD TRUE/FALSE # Should the plugin be installed to a default location after building?
COPY_PLUGIN_AFTER_BUILD ${STOCHAS_COPY_AFTER_BUILD} # Should the plugin be installed to a default location after building?
PLUGIN_MANUFACTURER_CODE AuVi # allows compatibility with older patches from AV days
PLUGIN_CODE Stoc
FORMATS VST3 ${VST2} AU Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
Expand Down
2 changes: 1 addition & 1 deletion lib/JUCE
Submodule JUCE updated 2774 files
8 changes: 5 additions & 3 deletions src/InfoDialog.cpp
Expand Up @@ -85,12 +85,14 @@ SeqInfoDialog::SeqInfoDialog(SeqGlob * glob, CptNotify *parent) :
mLblDescription->setFont(Font(14.0f, Font::plain));
mLblDescription->setMultiLine(true);
mLblDescription->setReadOnly(true);
String desc("Build time: ");
String desc;
desc += SeqImageX::infobox_txt;
desc += "\n\nBuild Time: ";
desc += Stochas::Build::BuildDate;
desc += " ";
desc += Stochas::Build::BuildTime;
desc += "\n\n";
desc += SeqImageX::infobox_txt;
desc += "\nJUCE Version: ";
desc += String(JUCE_MAJOR_VERSION) + "." + String(JUCE_MINOR_VERSION) + "." + String(JUCE_BUILDNUMBER);

mLblDescription->setText(desc, false);
//mLblDescription->setJustificationType(/*Justification::horizontallyJustified | */ Justification::top);
Expand Down

0 comments on commit b62d684

Please sign in to comment.