0
|
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/Rebuild")
|
|
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
|