Mercurial > vim-unreal
comparison compiler/uclean.vim @ 0:ba03cac1b1c6
Initial commit.
| author | Ludovic Chabant <ludovic@chabant.com> |
|---|---|
| date | Thu, 24 Sep 2020 23:04:57 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:ba03cac1b1c6 |
|---|---|
| 1 " Compiler file for building Unreal Engine projects | |
| 2 " Compiler: Unreal Build | |
| 3 " Maintainer: Ludovic Chabant <https://ludovic.chabant.com> | |
| 4 | |
| 5 if exists("current_compiler") | |
| 6 finish | |
| 7 endif | |
| 8 let current_compiler = "ubuild" | |
| 9 | |
| 10 let s:keepcpo = &cpo | |
| 11 | |
| 12 let s:prgpath = unreal#get_script_path("Engine/Build/BatchFiles/Clean") | |
| 13 call unreal#trace("Setting makeprg to: ".s:prgpath) | |
| 14 execute "CompilerSet makeprg=".fnameescape(s:prgpath) | |
| 15 | |
| 16 CompilerSet errorformat& | |
| 17 | |
| 18 let &cpo = s:keepcpo | |
| 19 unlet s:keepcpo | |
| 20 |
