Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PBXProject.SetCompileFlagsForFile

Declaration

public void SetCompileFlagsForFile(string targetGuid, string fileGuid, List<string> compileFlags);

Parameters

targetGuid The GUID of the target, such as the one returned by GetUnityFrameworkTargetGuid.
fileGuid The GUID of the file.
compileFlags The list of compile flags or null if the flags should be unset.

Description

Sets the compilation flags for the given file in the given target.