Fantom

 

abstract class

build::BuildCs

sys::Obj
  build::BuildScript
    build::BuildCs

BuildCs is the base class for build scripts used to manage building C# source code into a .NET exe or dll.

Slots

cleanSource

@Target
Void clean()

Delete all intermediate and target files

compileSource

@Target
Void compile()

Compile C# source into exe or dll

dumpEnvSource

override Void dumpEnv()

Dump script environment for debug.

fullSource

@Target
Void full()

Run clean, compile

libsSource

Uri[] libs := Uri[,]

List of libraries to link to.

outputSource

Uri? output

Required output file created by the compiler.

skipSource

Bool skip := "win32"

Should we skip compiling .NET code? Default only runs C# compiler if running on Windows.

srcDirsSource

Uri[]? srcDirs

Required list of directories to compile. All C# source files in each directory will be compiled.

targetTypeSource

Str? targetType

Required output type. Possible values are exe, winexe, library or module.