diff options
| author | ruki <[email protected]> | 2020-04-21 23:45:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-21 16:33:40 +0800 |
| commit | b043d9eb23c8086aa4f70b060e4041c2971c8bcc (patch) | |
| tree | 8b7f489ccde3dc45c4da98ef43d8c44718dfc755 /core/src/xmake/xmake.lua | |
| parent | a45fd8ca3b63a8fe9c21fdc9a87e71c01054422e (diff) | |
improve headerfiles in core/xmake.lua
Diffstat (limited to 'core/src/xmake/xmake.lua')
| -rw-r--r-- | core/src/xmake/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua index 36f8131e1..df9bbe11d 100644 --- a/core/src/xmake/xmake.lua +++ b/core/src/xmake/xmake.lua @@ -21,6 +21,11 @@ target("xmake") add_includedirs("..", {interface = true}) add_includedirs("$(buildir)/$(plat)/$(arch)/$(mode)", {public = true}) + -- add header files + add_headerfiles("../(xmake/*.h)") + add_headerfiles("../(xmake/prefix/*.h)") + add_headerfiles("$(buildir)/$(plat)/$(arch)/$(mode)/xmake.config.h", {prefixdir = "xmake"}) + -- add the common source files add_files("**.c|winos/*.c") if is_plat("windows", "msys", "cygwin") then |
