public void BuildNative() { using (Log.StartAnimation("Building " + _target + ( _backend.BuildType == BuildType.Executable ? " app" : " lib"))) { if (!_target.Build(_compiler.Shell, _file, _options.NativeArguments)) { Log.Error(Source.Unknown, ErrorCode.E0200, _target + " build failed"); } else { _file.TouchProduct(); } } }
public void BuildNative() { using (Log.StartAnimation("Building " + _target.ToString().ToLower() + ( _backend.BuildType == BuildType.Executable && !_env.IsDefined("LIBRARY") ? " app" : " library"))) { if (!_target.Build(_compiler.Shell, _file, _options.NativeArguments)) { Log.Error(Source.Unknown, ErrorCode.E0200, _target + " build failed"); } else { _file.TouchProduct(); } } }