github.com/atrn/dcc@v0.0.0-20220806184050-4470d2553272/runningmode.go (about) 1 // DO NOT EDIT. 2 // 3 // Generated: Fri Apr 19 02:39:20 2019 4 // From: runningmode.enum 5 // By: andy 6 // 7 8 package main 9 10 type RunningMode int 11 12 const ( 13 RunningMode_Zero_ RunningMode = iota 14 ModeNotSpecified 15 CompileAndLink 16 CompileSourceFiles 17 CompileAndMakeLib 18 CompileAndMakeDLL 19 CompileAndMakePlugin 20 ) 21 22 func (v RunningMode) String() string { 23 switch v { 24 case RunningMode_Zero_: 25 return "*!!!* UNINITIALIZED RunningMode VALUE *!!!*" 26 case ModeNotSpecified: 27 return "ModeNotSpecified" 28 case CompileAndLink: 29 return "CompileAndLink" 30 case CompileSourceFiles: 31 return "CompileSourceFiles" 32 case CompileAndMakeLib: 33 return "CompileAndMakeLib" 34 case CompileAndMakeDLL: 35 return "CompileAndMakeDLL" 36 case CompileAndMakePlugin: 37 return "CompileAndMakePlugin" 38 default: 39 return "*!* INVALID RunningMode VALUE *!*" 40 } 41 }