diff options
| author | ruki <[email protected]> | 2019-01-25 00:00:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-24 18:01:01 +0800 |
| commit | fc20a39a1a046630864ff21d8156dc1e1ca99fb3 (patch) | |
| tree | 2d8d34873c4d31593b870f095122bf19933f28ee /xmake/modules/package/manager/conan/install_package.lua | |
| parent | cd683e80b5a6fc2159a97c3cde83bf824ad7294c (diff) | |
add conan install package
Diffstat (limited to 'xmake/modules/package/manager/conan/install_package.lua')
| -rw-r--r-- | xmake/modules/package/manager/conan/install_package.lua | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/conan/install_package.lua b/xmake/modules/package/manager/conan/install_package.lua new file mode 100644 index 000000000..587287e0c --- /dev/null +++ b/xmake/modules/package/manager/conan/install_package.lua @@ -0,0 +1,43 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you 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 install_package.lua +-- + +-- imports +import("core.base.option") +import("lib.detect.find_tool") + +-- install package +-- +-- @param name the package name, e.g. conan::OpenSSL/1.0.2n@conan/stable +-- @param opt the options, .e.g {verbose = true} +-- +-- @return true or false +-- +function main(name, opt) + + -- init options + opt = opt or {} + + -- ok + return true +end |
