From 344a31af1c92d0f9f249cbe6a9e7cb3ca933deb4 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 27 May 2026 22:44:05 +0800 Subject: add has flags for filc --- xmake/modules/core/tools/filcc/features.lua | 22 ++++++++++++++++++++++ xmake/modules/core/tools/filcc/has_flags.lua | 22 ++++++++++++++++++++++ xmake/modules/core/tools/filxx/features.lua | 22 ++++++++++++++++++++++ xmake/modules/core/tools/filxx/has_flags.lua | 22 ++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 xmake/modules/core/tools/filcc/features.lua create mode 100644 xmake/modules/core/tools/filcc/has_flags.lua create mode 100644 xmake/modules/core/tools/filxx/features.lua create mode 100644 xmake/modules/core/tools/filxx/has_flags.lua diff --git a/xmake/modules/core/tools/filcc/features.lua b/xmake/modules/core/tools/filcc/features.lua new file mode 100644 index 000000000..9b6cbb26f --- /dev/null +++ b/xmake/modules/core/tools/filcc/features.lua @@ -0,0 +1,22 @@ +--!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, Xmake Open Source Community. +-- +-- @file features.lua +-- + +-- imports +inherit("core.tools.clang.features") + diff --git a/xmake/modules/core/tools/filcc/has_flags.lua b/xmake/modules/core/tools/filcc/has_flags.lua new file mode 100644 index 000000000..d96924ab9 --- /dev/null +++ b/xmake/modules/core/tools/filcc/has_flags.lua @@ -0,0 +1,22 @@ +--!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, Xmake Open Source Community. +-- +-- @file has_flags.lua +-- + +-- imports +inherit("core.tools.clang.has_flags") + diff --git a/xmake/modules/core/tools/filxx/features.lua b/xmake/modules/core/tools/filxx/features.lua new file mode 100644 index 000000000..9b6cbb26f --- /dev/null +++ b/xmake/modules/core/tools/filxx/features.lua @@ -0,0 +1,22 @@ +--!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, Xmake Open Source Community. +-- +-- @file features.lua +-- + +-- imports +inherit("core.tools.clang.features") + diff --git a/xmake/modules/core/tools/filxx/has_flags.lua b/xmake/modules/core/tools/filxx/has_flags.lua new file mode 100644 index 000000000..d96924ab9 --- /dev/null +++ b/xmake/modules/core/tools/filxx/has_flags.lua @@ -0,0 +1,22 @@ +--!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, Xmake Open Source Community. +-- +-- @file has_flags.lua +-- + +-- imports +inherit("core.tools.clang.has_flags") + -- cgit v1.3.1