Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building FRUT with JUCE 7.0.3 #750

Merged
merged 4 commits into from
Dec 13, 2022
Merged

Support building FRUT with JUCE 7.0.3 #750

merged 4 commits into from
Dec 13, 2022

Commits on Dec 9, 2022

  1. Handle JUCE 7.0.3 requiring C++17

    From the documentation of CMAKE_CXX_STANDARD_REQUIRED:
    
      If this property is OFF or unset, the CXX_STANDARD target property is
      treated as optional and may “decay” to a previous standard if the
      requested is not available.
    
    This means that we keep supporting building FRUT with older versions of
    JUCE, that require C++11 or C++14.
    McMartin committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    d2a221c View commit details
    Browse the repository at this point in the history
  2. Refactor _FRUT_set_cxx_language_standard_properties to match history

    In juce-framework/JUCE@2e81e8a0d, which was
    released in JUCE 5.1.0, the per-exporter and per-configuration settings
    related to the C++ language standard were replaced by a per-project
    setting (`JUCER_CXX_LANGUAGE_STANDARD`).
    
    This commit refactors `_FRUT_set_cxx_language_standard_properties` to
    match what happened in that JUCE commit and to handle these settings
    based on JUCER_VERSION instead of whether JUCER_CXX_LANGUAGE_STANDARD is
    defined.
    McMartin committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    5505f9b View commit details
    Browse the repository at this point in the history
  3. Set the default C++ standard to C++17

    This matches what was done in
    juce-framework/JUCE@b3a4d54a7, which was
    released in JUCE 7.0.3.
    McMartin committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    5a6cd71 View commit details
    Browse the repository at this point in the history
  4. Replace JUCE 7.0.2 by 7.0.3 in generated/ and on CI

    7.0.3 is the latest version of JUCE.
    McMartin committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    e3298a4 View commit details
    Browse the repository at this point in the history