private static void OnPostprocessProject(PBXProjectWrapper project)
 {
     // Need to add "-lsqlite3" linker flag to "Other linker flags" due to
     // SQLite dependency.
     project.AddBuildProperty("OTHER_LDFLAGS", "-lsqlite3");
     project.AddBuildProperty("CLANG_ENABLE_MODULES", "YES");
 }
Exemple #2
0
    private static void OnPostprocessProject(PBXProjectWrapper project)
    {
        // Need to add SQLite and zlib dependencies.
        project.AddBuildProperty("OTHER_LDFLAGS", "-lsqlite3 -lz");
#if UNITY_2019_3_OR_NEWER
        project.AddBuildProperty("CLANG_ENABLE_MODULES", "YES", true);
#else
        project.AddBuildProperty("CLANG_ENABLE_MODULES", "YES");
#endif
    }