Pico.Precompiler Class Reference

Detailed Description

Precompiles modules/ libraries so they don't get rebuilt by Unity every time any source file changes. This can be used by any of your modules too, so do make use of this side feature to really speed up your build times!

Static Public Member Functions

static bool Build (Module module)
 Builds the given set of files into the given module using standard compiler args. More...
 
static string GetFlags (bool editor)
 Gets the Unity provided set of compiler flags. More...
 
static void AddUnityDllPaths (bool editor, StringCollection references)
 Adds the paths to the UnityEngine/Editor dlls to the given collection. More...
 

Member Function Documentation

static void Pico.Precompiler.AddUnityDllPaths ( bool  editor,
StringCollection  references 
)
inlinestatic

Adds the paths to the UnityEngine/Editor dlls to the given collection.

static bool Pico.Precompiler.Build ( Module  module)
inlinestatic

Builds the given set of files into the given module using standard compiler args.

static string Pico.Precompiler.GetFlags ( bool  editor)
inlinestatic

Gets the Unity provided set of compiler flags.