CodeBlocks pig-config change?

All the steps you listed are now automated. See this thread: Codeblocks can't find juce header

Your app will have the same dependencies, which are only those listed in the JUCE modules you include in your project.