diff options
| author | ruki <[email protected]> | 2019-06-08 21:38:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-08 23:05:38 +0800 |
| commit | 0ed447c7d5cf6002d21d1779b2605a982e4e3ec2 (patch) | |
| tree | bb809439b36b09de292a9d8f0407b142a882d15f /xmake/rules/cuda/env/xmake.lua | |
| parent | 754f2510e5d521097ac15a15f6ec5912bc30358d (diff) | |
impor device-link rule
Diffstat (limited to 'xmake/rules/cuda/env/xmake.lua')
| -rw-r--r-- | xmake/rules/cuda/env/xmake.lua | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/xmake/rules/cuda/env/xmake.lua b/xmake/rules/cuda/env/xmake.lua deleted file mode 100644 index 713695e69..000000000 --- a/xmake/rules/cuda/env/xmake.lua +++ /dev/null @@ -1,31 +0,0 @@ ---!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 xmake.lua --- - --- define rule: environment -rule("cuda.env") - - -- before load - before_load(function (target) - import("detect.sdks.find_cuda") - if not target:data("cuda") then - target:data_set("cuda", assert(find_cuda(), "Cuda SDK not found!")) - end - end) - |
