I have successfully built and installed amalgamator in my /usr/bin using latest tip. I can run amalgamator on the juce directory, and it says nothing changed. So I have the one big .cpp and .h.
The problem is that XCode 4 doesn’t handle the huge file so I want to make an amalgamation that has the 4 individual .cpp.
I see in juce/amalgamation there is those 4 files but when I try to run amalgamator on that I get an error “The template file doesn’t exist!”
How do I produce an amalgamation broken up into 4 .cpp ?
Thats what I"m doing. First I preprocess each of juce_amalgamated#.cpp using
/usr/bin/cpp -P juce_amalgamated1.cpp j1.cpp
Now I run amalgamator on that file but its not doing any substitutions, I believe it is related to this comment in the amalgamator help “It’ll only do this for files that are within the same parent directory as the target file.”
I"m doing this all from the juce/Juce Amalgamation directory