示例#1
0
        public void WriteLibraries()
        {
            NFXOptions options = project.CompilerOptions;

            WriteComment(" SWC Include Libraries ");
            WriteList("includeLibraries", options.IncludeLibraries);
            WriteComment(" SWC Libraries ");
            WriteList("libraryPaths", options.LibraryPaths);
            WriteComment(" External Libraries ");
            WriteList("externalLibraryPaths", options.ExternalLibraryPaths);
        }
示例#2
0
        public void WriteBuildOptions()
        {
            WriteComment(" Build options ");
            WriteStartElement("build");

            NFXOptions options = project.CompilerOptions;

            WriteOption("customSDK", options.CustomSDK);

            WriteEndElement();
        }
示例#3
0
        public void ReadBuildOptions()
        {
            NFXOptions options = project.CompilerOptions;

            ReadStartElement("build");
            while (Name == "option")
            {
                MoveToFirstAttribute();
                switch (Name)
                {
                case "customSDK": options.CustomSDK = Value; break;
                }
                Read();
            }
            ReadEndElement();
        }