mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Projucer: Added PCH support for Xcode and Visual Studio exporters
This commit is contained in:
parent
58652ce490
commit
d677fd6264
18 changed files with 459 additions and 186 deletions
|
|
@ -313,14 +313,6 @@ Result ProjectSaver::saveProject (ProjectExporter* specifiedExporterToSave)
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
static void writeAutoGenWarningComment (OutputStream& out)
|
||||
{
|
||||
out << "/*" << newLine << newLine
|
||||
<< " IMPORTANT! This file is auto-generated each time you save your" << newLine
|
||||
<< " project - if you alter its contents, your changes may be overwritten!" << newLine
|
||||
<< newLine;
|
||||
}
|
||||
|
||||
void ProjectSaver::writePluginDefines (MemoryOutputStream& out) const
|
||||
{
|
||||
const auto pluginDefines = getAudioPluginDefines();
|
||||
|
|
@ -329,6 +321,7 @@ void ProjectSaver::writePluginDefines (MemoryOutputStream& out) const
|
|||
return;
|
||||
|
||||
writeAutoGenWarningComment (out);
|
||||
|
||||
out << "*/" << newLine << newLine
|
||||
<< "#pragma once" << newLine << newLine
|
||||
<< pluginDefines << newLine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue