Detailed Description

Holds settings about a precompiled "module" - that's just a group of source files compiled together under one name.

Public Member Functions

 Module (string name)
 Creates a settings object for a given module name. More...
 
void Revert ()
 Reverts the precompilation of this module. More...
 
void Compile ()
 Recompiles this module. More...
 
SourceFileSet GetFileSet ()
 The full set of source files in this module. More...
 
void WriteSettings ()
 Write out the settings. More...
 
void LoadSettings ()
 Loads the settings for this module. More...
 

Public Attributes

const string Target ="Assets/Precompiled/"
 
string Name
 The name of the module. More...
 
bool EditorMode
 Was this compiled in editor mode? More...
 
List< string > SourceFolders =new List<string>()
 The set of source directories. More...
 

Properties

bool Precompiled [get]
 True if the DLL exists. More...
 
bool Exists [get]
 Does this module exist? More...
 
string SettingsPath [get]
 Path to the settings file. More...
 
string DllPath [get]
 The path to the DLL. More...
 

Private Attributes

int DllExists_ =-1
 True if the DLL exists. More...
 

Constructor & Destructor Documentation

Pico.Module.Module ( string  name)
inline

Creates a settings object for a given module name.

Member Function Documentation

void Pico.Module.Compile ( )
inline

Recompiles this module.

SourceFileSet Pico.Module.GetFileSet ( )
inline

The full set of source files in this module.

void Pico.Module.LoadSettings ( )
inline

Loads the settings for this module.

void Pico.Module.Revert ( )
inline

Reverts the precompilation of this module.

void Pico.Module.WriteSettings ( )
inline

Write out the settings.

Member Data Documentation

int Pico.Module.DllExists_ =-1
private

True if the DLL exists.

bool Pico.Module.EditorMode

Was this compiled in editor mode?

string Pico.Module.Name

The name of the module.

List<string> Pico.Module.SourceFolders =new List<string>()

The set of source directories.

const string Pico.Module.Target ="Assets/Precompiled/"

Property Documentation

string Pico.Module.DllPath
get

The path to the DLL.

bool Pico.Module.Exists
get

Does this module exist?

bool Pico.Module.Precompiled
get

True if the DLL exists.

string Pico.Module.SettingsPath
get

Path to the settings file.