Mercurial > vim-unreal
view compiler/ugenprojfiles.vim @ 11:06af9916ba7c default tip
Generate compilation database for clang by default
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 29 Aug 2023 13:07:20 -0700 |
parents | ba03cac1b1c6 |
children |
line wrap: on
line source
" Compiler file for generating Unreal Engine project files " Compiler: Unreal Generate Project Files " Maintainer: Ludovic Chabant <https://ludovic.chabant.com> if exists("current_compiler") finish endif let current_compiler = "ugenprojfiles" let s:keepcpo = &cpo let s:prgpath = unreal#get_script_path("Engine/Build/BatchFiles/GenerateProjectFiles") call unreal#trace("Setting makeprg to: ".s:prgpath) execute "CompilerSet makeprg=".fnameescape(s:prgpath) CompilerSet errorformat& let &cpo = s:keepcpo unlet s:keepcpo