diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52b5379d..e3e506ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: echo PLUGINVAL_PATH=$(pwd)/$PLUGINVAL_BINARY >> $GITHUB_OUTPUT - name: Configure CMake - run: cmake --preset maintainer --log-level=VERBOSE -D PLUGINVAL_PROGRAM=${{ steps.pluginval.outputs.PLUGINVAL_PATH }} -D JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 + run: cmake --preset maintainer --log-level=VERBOSE -D PLUGINVAL_PROGRAM=${{ steps.pluginval.outputs.PLUGINVAL_PATH }} - name: Build run: cmake --build --preset maintainer --config ${{ matrix.build_type }} diff --git a/Examples/APVTS_Tutorial/CMakeLists.txt b/Examples/APVTS_Tutorial/CMakeLists.txt index aeedb807..dba59902 100644 --- a/Examples/APVTS_Tutorial/CMakeLists.txt +++ b/Examples/APVTS_Tutorial/CMakeLists.txt @@ -51,6 +51,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1 FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 JUCE_VST3_CAN_REPLACE_VST2=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) foreach(FORMAT ${FORMATS}) diff --git a/Examples/EqualizerExample/CMakeLists.txt b/Examples/EqualizerExample/CMakeLists.txt index 3c9597eb..8d4013cb 100644 --- a/Examples/EqualizerExample/CMakeLists.txt +++ b/Examples/EqualizerExample/CMakeLists.txt @@ -59,6 +59,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 FOLEYS_ENABLE_BINARY_DATA=1 JUCE_VST3_CAN_REPLACE_VST2=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) foreach(FORMAT ${FORMATS}) diff --git a/Examples/ExtendingExample/CMakeLists.txt b/Examples/ExtendingExample/CMakeLists.txt index 8a1bc28c..7a0021bf 100644 --- a/Examples/ExtendingExample/CMakeLists.txt +++ b/Examples/ExtendingExample/CMakeLists.txt @@ -56,6 +56,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1 FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 JUCE_VST3_CAN_REPLACE_VST2=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) foreach(FORMAT ${FORMATS}) diff --git a/Examples/FoleysSynth/CMakeLists.txt b/Examples/FoleysSynth/CMakeLists.txt index 368f8490..ec086b01 100644 --- a/Examples/FoleysSynth/CMakeLists.txt +++ b/Examples/FoleysSynth/CMakeLists.txt @@ -64,6 +64,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1 FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 JUCE_VST3_CAN_REPLACE_VST2=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) foreach(FORMAT ${FORMATS}) diff --git a/Examples/PlayerExample/CMakeLists.txt b/Examples/PlayerExample/CMakeLists.txt index dc250460..7c2b4cf8 100644 --- a/Examples/PlayerExample/CMakeLists.txt +++ b/Examples/PlayerExample/CMakeLists.txt @@ -49,4 +49,5 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_ENABLE_BINARY_DATA=1 FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1 FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) diff --git a/Examples/SignalGenerator/CMakeLists.txt b/Examples/SignalGenerator/CMakeLists.txt index fc685594..e58497fb 100644 --- a/Examples/SignalGenerator/CMakeLists.txt +++ b/Examples/SignalGenerator/CMakeLists.txt @@ -57,6 +57,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1 FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 JUCE_VST3_CAN_REPLACE_VST2=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) foreach(FORMAT ${FORMATS}) diff --git a/Examples/Vanilla/CMakeLists.txt b/Examples/Vanilla/CMakeLists.txt index c0c61ac7..b7a4681f 100644 --- a/Examples/Vanilla/CMakeLists.txt +++ b/Examples/Vanilla/CMakeLists.txt @@ -59,6 +59,7 @@ target_compile_definitions(${PROJECT_NAME} FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0 JUCE_VST3_CAN_REPLACE_VST2=0 JUCE_USE_CURL=0 + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 JUCE_WEB_BROWSER=0) # foreach(FORMAT ${FORMATS}) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index b54d9af7..1c70bd50 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -80,6 +80,10 @@ target_link_libraries (FoleysGUIMagicTests PRIVATE Catch2::Catch2WithMain foleys::foleys_gui_magic) +target_compile_definitions(FoleysGUIMagicTests + PUBLIC + JUCE_SILENCE_XCODE_15_LINKER_WARNING=1) + catch_discover_tests ( FoleysGUIMagicTests TEST_PREFIX foleys_gui_magic.