Closed Archie3d closed 3 years ago
@reuk, This seems to be the fix for the issue. If confirmed, this can be closed then. https://github.com/juce-framework/JUCE/commit/c7d082e770d9286210efd5104d414b6a5dd24b68
Sorry, I missed this issue when you posted it initially, but the same issue was reported on the forum. I believe the commit you linked should resolve the issue, so I'll close this thread.
Hi, Using latest JUCE (6.0.7+) with CMake on Windows. The project I am maintaining contains a lot of resource files. When configuring the project with CMake (for ninja) the custom command for the resources compilation generated by
function(juce_add_binary_data target)
(fromJUCEUtils.cmake
) results in a very long command line (>32k characters) that fails to execute on Windows:I'd propose to modify the
juceaide
tool to optionally accept--files=
argument that takes a file containing the list of all resource files to be compiled (as an alternative to passing them on the command line) for thebinarydata
command:with an equivalent change in
JUCEUtils.cmake
function(juce_add_binary_data target)
:I can make a PR for this if the solution is acceptable. Thanks!