private String getRuntimeLibrary ( final CommandLineCompilerConfiguration compilerConfig , final boolean isDebug ) { String rtl = null ; final String [ ] args = compilerConfig . getPreArguments ( ) ; for ( final String arg : args ) { if ( arg . startsWith ( "/MT" ) ) { if ( isDebug ) { rtl = "1" ; } else { rtl = "0" ; } } else if ( arg . startsWith ( "/MD" ) ) { if ( isDebug ) { rtl = "3" ; } else { rtl = "2" ; } } } return rtl ; }
Get value of RuntimeLibrary property .