diff options
| author | OpportunityLiu <[email protected]> | 2019-07-13 09:32:30 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-14 00:04:52 +0800 |
| commit | 515a9c3f542ef1b104a3af9a2398335e2d10fe7c (patch) | |
| tree | 43cce985ab728cc7e4290b369cb000a8762fbff5 /xmake/plugins/project/vstudio/vs.lua | |
| parent | 6061930a5c24f9b1ba717a9a39dafda02e8a802a (diff) | |
support call xmake from msbuild
Diffstat (limited to 'xmake/plugins/project/vstudio/vs.lua')
| -rw-r--r-- | xmake/plugins/project/vstudio/vs.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/vs.lua b/xmake/plugins/project/vstudio/vs.lua new file mode 100644 index 000000000..a50180a23 --- /dev/null +++ b/xmake/plugins/project/vstudio/vs.lua @@ -0,0 +1,35 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015 - 2019, TBOOX Open Source Group. +-- +-- @author ruki +-- @file vs.lua +-- + +-- imports +import("impl.vs200x") +import("impl.vsinfo") + +-- make factory +function make(version) + + -- get vs version info + local info = vsinfo(version) + + -- make + return function(outputdir) + vs200x.make(outputdir, info) + end +end |
