summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/utils/target_utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-29 21:15:03 +0800
committerruki <[email protected]>2025-06-29 21:15:03 +0800
commitd70d59b889e9080ee124d56e07d266c230dbc1f9 (patch)
tree45d1b0d8802fe125bebee2a54e7529f6fe00f9aa /xmake/plugins/project/utils/target_utils.lua
parentc982716c0c6d1de9f641d37edd9104de261dbf06 (diff)
fix target utils
Diffstat (limited to 'xmake/plugins/project/utils/target_utils.lua')
-rw-r--r--xmake/plugins/project/utils/target_utils.lua33
1 files changed, 0 insertions, 33 deletions
diff --git a/xmake/plugins/project/utils/target_utils.lua b/xmake/plugins/project/utils/target_utils.lua
deleted file mode 100644
index 734ad3dee..000000000
--- a/xmake/plugins/project/utils/target_utils.lua
+++ /dev/null
@@ -1,33 +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-present, TBOOX Open Source Group.
---
--- @author ruki
--- @file target_utils.lua
---
-
--- imports
-import("core.project.project")
-import("core.base.option")
-
--- get project targets
-function get_project_targets()
- local selected_target = option.get("target")
- if selected_target then
- -- return table.wrap(project.target(selected_target))
- return { project.target(selected_target) }
- end
- return project.targets()
-end