Skip to content

Instantly share code, notes, and snippets.

View RFullum's full-sized avatar

Robert Fullum RFullum

View GitHub Profile
@RFullum
RFullum / FindUsedAndUnusedBinaryData.txt
Created April 18, 2023 19:52
Find all unused BinaryData in Juce app
/*
Put this somewhere in the Juce app (ie. the MainComponent ctor).
When you build in debug, it prints to console all the files in BinaryData
that aren't being used in your code.
*/
DBG(" ");
auto SourceDir = juce::File("~/ /*ABSOLUTE/PATH/TO/SOURCE/DIRECTORY/GOES/HERE*/");
@RFullum
RFullum / FindUnusedHeaders.txt
Created April 18, 2023 19:54
Find header files in Juce app that don't have an #include anywhere other than their corresponding source file
/*
Put somewhere in Juce app (ie. ctor of MainComponent) and run app. Will
print to console the name of the header files that don't have an #include
in the code other than in their corresponding .cpp file.
*/
DBG(" ");
auto sourceDir = juce::File("~/Rode/RodeCentral/rode_central/RODE Central/Source");