let &t_te.="\e[0 q"
" make
-function! s:Msvc(build)
+function! s:CmakeMsvc()
let &errorformat="%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f|%l| %m"
- let &makeprg='cd ' . a:build. '; cmake '
- exe 'AsyncRun mkdir -p ' . fnameescape(a:build)
+ let &makeprg='cmake '
endfunction
-command! -bang -nargs=1 -complete=file Msvc call s:Msvc(<f-args>)
+command! -bang -nargs=0 -complete=file CmakeMsvc call s:CmakeMsvc(<f-args>)
function! s:Doxygen()
set errorformat+=%f:%l:\ %m
endfunction
command! -bang -nargs=0 -complete=file Iar call s:Iar(<f-args>)
+call s:CmakeMsvc()
" grep
" file:line:coloumn:message