mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fix an issue with per-file compiler flags not being respected
This commit is contained in:
parent
f2de0f12b0
commit
b0bd31b3c2
8 changed files with 36 additions and 12 deletions
|
|
@ -3213,7 +3213,7 @@ private:
|
|||
xcodeTarget = getTargetOfType (project.getTargetTypeFromFilePath (projectItem.getFile(), false));
|
||||
|
||||
return addFile (FileOptions().withRelativePath (path)
|
||||
.withCompilerFlags (compilerFlagSchemesMap[projectItem.getCompilerFlagSchemeString()].get())
|
||||
.withCompilerFlags (getCompilerFlagsForProjectItem (projectItem))
|
||||
.withCompilationEnabled (projectItem.shouldBeCompiled())
|
||||
.withAddToBinaryResourcesEnabled (projectItem.shouldBeAddedToBinaryResources())
|
||||
.withAddToXcodeResourcesEnabled (projectItem.shouldBeAddedToXcodeResources())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue