diff options
| author | ruki <[email protected]> | 2025-09-07 08:24:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-07 08:24:32 +0800 |
| commit | b0bcb8b825b7538ad3523ce5b2cf8f4328fce6b8 (patch) | |
| tree | 4e9454166ef8d61f684b6672498a2fa106c1890f /xmake/modules/core/tools/gcc.lua | |
| parent | 85c59645d59cfab5f61b5f75160b676621544890 (diff) | |
| parent | aa523879502d51a0f6d131c34825ed478cc59442 (diff) | |
Merge pull request #6779 from xmake-io/embeddirs
add #embed and embedirs support #6762
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index ed8bebdbc..e27fb3401 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -661,6 +661,11 @@ function nf_includedir(self, dir) return {"-I" .. path.translate(dir)} end +-- make the embeddir flag +function nf_embeddir(self, dir) + return {"--embed-dir=" .. path.translate(dir)} +end + -- make the sysincludedir flag function nf_sysincludedir(self, dir) return {"-isystem", path.translate(dir)} |
