Skip to content

Commit

Permalink
MinGW: Remove support
Browse files Browse the repository at this point in the history
  • Loading branch information
reuk committed Jun 27, 2024
1 parent 8a4ec20 commit 9112911
Show file tree
Hide file tree
Showing 89 changed files with 342 additions and 1,699 deletions.
23 changes: 23 additions & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

# develop

## Change

Support for the MinGW toolchain has been removed.

**Possible Issues**

MinGW can no longer be used to build JUCE.

**Workaround**

On Windows, use an alternative compiler such as Clang or MSVC.

Cross-compiling for Windows from Linux is not supported, and there is no
workaround for this use case.

**Rationale**

The MinGW provides a poor user experience, with very long build times and
missing features. The high maintenance cost, both in terms of developer time,
and continuous integration bandwidth (both of which could provide more value
elsewhere), means that continued support for MinGW is difficult to justify.


## Change

The GUI Editor has been removed from the Projucer.
Expand Down
11 changes: 1 addition & 10 deletions docs/JUCE Module Format.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ will be used and the cpp ignored. (And vice-versa for other platforms, of course
Precompiled libraries can be included in a module by placing them in a libs/ subdirectory.
The following directories are automatically added to the library search paths, and libraries
placed in these directories can be linked with projects via the OSXLibs, iOSLibs,
windowsLibs, linuxLibs and mingwLibs keywords in the module declaration (see the following
section).
windowsLibs, and linuxLibs keywords in the module declaration (see the following section).

- OS X
- libs/MacOSX - to support multiple architectures, you may place libraries built as universal
Expand All @@ -115,9 +114,6 @@ section).
- libs/Linux/{arch}, where {arch} is the architecture you are targeting with the compiler. Some
common examples of {arch} are "x86_64", "i386" and "armv6".

- MinGW
- libs/MinGW/{arch}, where {arch} can take the same values as Linux.

- iOS
- libs/iOS - to support multiple architectures, you may place libraries built as universal
binaries at this location. For backwards compatibility, the Projucer will also include the
Expand Down Expand Up @@ -206,10 +202,6 @@ Possible values:
- (Optional) A list (space or comma-separated) of static or dynamic libs that should be linked in a
linux build (these are passed to the linker via the -l flag)

- mingwLibs
- (Optional) A list (space or comma-separated) of static libs that should be linked in a
win32 mingw build (these are passed to the linker via the -l flag)

- OSXLibs
- (Optional) A list (space or comma-separated) of static or dynamic libs that should be linked in an
OS X build (these are passed to the linker via the -l flag)
Expand Down Expand Up @@ -238,7 +230,6 @@ Here's an example block:
OSXFrameworks: CoreAudio CoreMIDI DiscRecording
iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation
linuxLibs: asound
mingwLibs: winmm

END_JUCE_MODULE_DECLARATION

3 changes: 1 addition & 2 deletions examples/Assets/juce_module_info
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@

"OSXFrameworks": "Cocoa IOKit",
"iOSFrameworks": "Foundation",
"LinuxLibs": "rt dl pthread",
"mingwLibs": "uuid wsock32 wininet version ole32 ws2_32 oleaut32 imm32 comdlg32 shlwapi rpcrt4 winmm"
"LinuxLibs": "rt dl pthread"
}
4 changes: 0 additions & 4 deletions examples/DemoRunner/Builds/Android/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,6 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down Expand Up @@ -2512,7 +2511,6 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_video/native/juce_CameraDevice_ios.h"
"../../../../../modules/juce_video/native/juce_CameraDevice_mac.h"
"../../../../../modules/juce_video/native/juce_CameraDevice_windows.h"
"../../../../../modules/juce_video/native/juce_ComTypes_windows.h"
"../../../../../modules/juce_video/native/juce_Video_android.h"
"../../../../../modules/juce_video/native/juce_Video_mac.h"
"../../../../../modules/juce_video/native/juce_Video_windows.h"
Expand Down Expand Up @@ -4718,7 +4716,6 @@ set_source_files_properties(
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down Expand Up @@ -5010,7 +5007,6 @@ set_source_files_properties(
"../../../../../modules/juce_video/native/juce_CameraDevice_ios.h"
"../../../../../modules/juce_video/native/juce_CameraDevice_mac.h"
"../../../../../modules/juce_video/native/juce_CameraDevice_windows.h"
"../../../../../modules/juce_video/native/juce_ComTypes_windows.h"
"../../../../../modules/juce_video/native/juce_Video_android.h"
"../../../../../modules/juce_video/native/juce_Video_mac.h"
"../../../../../modules/juce_video/native/juce_Video_windows.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@

"OSXFrameworks": "Cocoa IOKit",
"iOSFrameworks": "Foundation",
"LinuxLibs": "rt dl pthread",
"mingwLibs": "uuid wsock32 wininet version ole32 ws2_32 oleaut32 imm32 comdlg32 shlwapi rpcrt4 winmm"
"LinuxLibs": "rt dl pthread"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4381,7 +4381,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\mouse\juce_TooltipClient.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityElement_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridItemProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridProvider_windows.h"/>
Expand Down Expand Up @@ -4528,7 +4527,6 @@
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_ios.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_ComTypes_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_android.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_windows.h"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7767,9 +7767,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
Expand Down Expand Up @@ -8208,9 +8205,6 @@
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_windows.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_ComTypes_windows.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_android.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4381,7 +4381,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\mouse\juce_TooltipClient.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityElement_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridItemProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridProvider_windows.h"/>
Expand Down Expand Up @@ -4528,7 +4527,6 @@
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_ios.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_ComTypes_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_android.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_windows.h"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7767,9 +7767,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
Expand Down Expand Up @@ -8208,9 +8205,6 @@
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_CameraDevice_windows.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_ComTypes_windows.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_video\native\juce_Video_android.h">
<Filter>JUCE Modules\juce_video\native</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions extras/AudioPerformanceTest/Builds/Android/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,6 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down Expand Up @@ -4162,7 +4161,6 @@ set_source_files_properties(
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3852,7 +3852,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\mouse\juce_TooltipClient.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityElement_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridItemProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridProvider_windows.h"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6822,9 +6822,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions extras/AudioPluginHost/Builds/Android/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,6 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down Expand Up @@ -4445,7 +4444,6 @@ set_source_files_properties(
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h"
"../../../../../modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@

"OSXFrameworks": "Cocoa IOKit",
"iOSFrameworks": "Foundation",
"LinuxLibs": "rt dl pthread",
"mingwLibs": "uuid wsock32 wininet version ole32 ws2_32 oleaut32 imm32 comdlg32 shlwapi rpcrt4 winmm"
"LinuxLibs": "rt dl pthread"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4085,7 +4085,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\mouse\juce_TooltipClient.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityElement_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridItemProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridProvider_windows.h"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7257,9 +7257,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4085,7 +4085,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\mouse\juce_TooltipClient.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityElement_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridItemProvider_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAGridProvider_windows.h"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7257,9 +7257,6 @@
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_AccessibilityTextHelpers.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_ComInterfaces_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_gui_basics\native\accessibility\juce_UIAExpandCollapseProvider_windows.h">
<Filter>JUCE Modules\juce_gui_basics\native\accessibility</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions extras/Build/CMake/JUCEModuleSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,6 @@ function(_juce_add_module_staticlib_paths module_target module_path)
set(subfolder "$<IF:$<STREQUAL:${runtime_lib},MultiThreaded>,MT,${subfolder}>")
target_link_directories(${module_target} INTERFACE
"${module_path}/libs/VisualStudio${CMAKE_MATCH_1}/${arch}/${subfolder}")
elseif(MSYS OR MINGW)
_juce_add_library_path(${module_target} "${module_path}/libs/MinGW/${JUCE_TARGET_ARCHITECTURE}")
endif()
elseif(CMAKE_SYSTEM_NAME STREQUAL "Android")
_juce_add_library_path(${module_target} "${module_path}/libs/Android/${CMAKE_ANDROID_ARCH_ABI}")
Expand Down
Loading

0 comments on commit 9112911

Please sign in to comment.