annotate runtime/compiler/xbuild.vim @ 13622:825841608429 v8.0.1683

patch 8.0.1683: Python upgrade breaks Vim when defining PYTHON_HOME commit https://github.com/vim/vim/commit/0424958bde3d3e74c721ba39ab4d5a4744897393 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 10 13:29:34 2018 +0200 patch 8.0.1683: Python upgrade breaks Vim when defining PYTHON_HOME Problem: Python upgrade breaks Vim when defining PYTHON_HOME. Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki Inada, closes #2787)
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Apr 2018 13:30:08 +0200
parents eb6ab7e78925
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Compiler: Mono C#
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Chiel ten Brinke (ctje92@gmail.com)
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Last Change: 2013 May 13
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 finish
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 endif
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 let current_compiler = "xbuild"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 let s:keepcpo= &cpo
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 set cpo&vim
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 command -nargs=* CompilerSet setlocal <args>
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 endif
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 let &cpo = s:keepcpo
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 unlet s:keepcpo