C# Class CSScriptCompilers.CPPCompiler

C++ compiler. This class is capable of compiling (with MSBuild) dynamically created VS C++ project based on cpp file(s)
Inheritance: ICodeCompiler
Exibir arquivo Open project: oleg-shilo/cs-script Class Usage Examples

Private Properties

Property Type Description
CompileAssemblyFromFileBatchImpl System.CodeDom.Compiler.CompilerResults
RunApp string

Public Methods

Method Description
CompileAssemblyFromDom ( CompilerParameters options, CodeCompileUnit compilationUnit ) : CompilerResults
CompileAssemblyFromDomBatch ( CompilerParameters options, CodeCompileUnit compilationUnits ) : CompilerResults
CompileAssemblyFromFile ( CompilerParameters options, string fileName ) : CompilerResults
CompileAssemblyFromFileBatch ( CompilerParameters options, string fileNames ) : CompilerResults
CompileAssemblyFromSource ( CompilerParameters options, string source ) : CompilerResults
CompileAssemblyFromSourceBatch ( CompilerParameters options, string sources ) : CompilerResults
GetCLREntryPointName ( string asm ) : string

Private Methods

Method Description
CompileAssemblyFromFileBatchImpl ( CompilerParameters options, string fileNames ) : CompilerResults
RunApp ( string app, string args ) : string

Method Details

CompileAssemblyFromDom() public method

public CompileAssemblyFromDom ( CompilerParameters options, CodeCompileUnit compilationUnit ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
compilationUnit System.CodeDom.CodeCompileUnit
return System.CodeDom.Compiler.CompilerResults

CompileAssemblyFromDomBatch() public method

public CompileAssemblyFromDomBatch ( CompilerParameters options, CodeCompileUnit compilationUnits ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
compilationUnits System.CodeDom.CodeCompileUnit
return System.CodeDom.Compiler.CompilerResults

CompileAssemblyFromFile() public method

public CompileAssemblyFromFile ( CompilerParameters options, string fileName ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
fileName string
return System.CodeDom.Compiler.CompilerResults

CompileAssemblyFromFileBatch() public method

public CompileAssemblyFromFileBatch ( CompilerParameters options, string fileNames ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
fileNames string
return System.CodeDom.Compiler.CompilerResults

CompileAssemblyFromSource() public method

public CompileAssemblyFromSource ( CompilerParameters options, string source ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
source string
return System.CodeDom.Compiler.CompilerResults

CompileAssemblyFromSourceBatch() public method

public CompileAssemblyFromSourceBatch ( CompilerParameters options, string sources ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
sources string
return System.CodeDom.Compiler.CompilerResults

GetCLREntryPointName() public static method

public static GetCLREntryPointName ( string asm ) : string
asm string
return string