diff compiler/uclean.vim @ 0:ba03cac1b1c6

Initial commit.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 24 Sep 2020 23:04:57 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/uclean.vim	Thu Sep 24 23:04:57 2020 -0700
@@ -0,0 +1,20 @@
+" Compiler file for building Unreal Engine projects
+" Compiler: Unreal Build
+" Maintainer: Ludovic Chabant <https://ludovic.chabant.com>
+
+if exists("current_compiler")
+    finish
+endif
+let current_compiler = "ubuild"
+
+let s:keepcpo = &cpo
+
+let s:prgpath = unreal#get_script_path("Engine/Build/BatchFiles/Clean")
+call unreal#trace("Setting makeprg to: ".s:prgpath)
+execute "CompilerSet makeprg=".fnameescape(s:prgpath)
+
+CompilerSet errorformat&
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
+