diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectSaver.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectSaver.h index 6a5afa73a2..9a42be3cdd 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectSaver.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectSaver.h @@ -433,7 +433,7 @@ private: void writeBinaryDataFiles() { - binaryDataCpp = generatedCodeFolder.getChildFile ("BinaryData.cpp"); + binaryDataCpp = project.getBinaryDataCppFile(); ResourceFile resourceFile (project); diff --git a/extras/Introjucer/Source/Project/jucer_Project.h b/extras/Introjucer/Source/Project/jucer_Project.h index c40dff08c6..981434d25b 100644 --- a/extras/Introjucer/Source/Project/jucer_Project.h +++ b/extras/Introjucer/Source/Project/jucer_Project.h @@ -98,8 +98,9 @@ public: StringPairArray getPreprocessorDefs() const; //============================================================================== - File getAppIncludeFile() const { return getGeneratedCodeFolder().getChildFile (getJuceSourceHFilename()); } File getGeneratedCodeFolder() const { return getFile().getSiblingFile ("JuceLibraryCode"); } + File getAppIncludeFile() const { return getGeneratedCodeFolder().getChildFile (getJuceSourceHFilename()); } + File getBinaryDataCppFile() const { return getGeneratedCodeFolder().getChildFile ("BinaryData.cpp"); } //============================================================================== String getAmalgamatedHeaderFileName() const { return "juce_amalgamated.h"; }