CreateStaticLibrary() public method

Creates the static library.
public CreateStaticLibrary ( String dataFile, bool needZeroEnd ) : void
dataFile String /// Data file. ///
needZeroEnd bool /// Need zero end. ///
return void
Ejemplo n.º 1
0
        private Dictionary <string, string> CreateBundle(DataLibraryCreator creator, string assembly, bool isText)
        {
            Dictionary <String, String> bundle = new Dictionary <String, String>();

            // Create the static library for the assembly
            creator.Compress = this.Compress && !isText;
            creator.CreateStaticLibrary(assembly, isText);
            bundle[KEY_FILE]        = assembly;
            bundle[KEY_NAME]        = Path.GetFileName(assembly);
            bundle[KEY_SYMBOL]      = creator.SymbolName;
            bundle[KEY_LIBRARY]     = creator.OutputFile;
            bundle[KEY_INPUT_SIZE]  = creator.InputSize.ToString();
            bundle[KEY_OUTPUT_SIZE] = creator.OutputSize.ToString();

            return(bundle);
        }
Ejemplo n.º 2
0
        private Dictionary<string, string> CreateBundle(DataLibraryCreator creator, string assembly, bool isText)
        {
            Dictionary<String, String> bundle = new Dictionary<String, String>();

            // Create the static library for the assembly
            creator.Compress = this.Compress && !isText;
            creator.CreateStaticLibrary(assembly, isText);
            bundle[KEY_FILE] = assembly;
            bundle[KEY_NAME] = Path.GetFileName(assembly);
            bundle[KEY_SYMBOL] = creator.SymbolName;
            bundle[KEY_LIBRARY] = creator.OutputFile;
            bundle[KEY_INPUT_SIZE] = creator.InputSize.ToString();
            bundle[KEY_OUTPUT_SIZE] = creator.OutputSize.ToString();

            return bundle;
        }