diff options
| author | ruki <[email protected]> | 2019-01-17 00:50:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-16 23:03:06 +0800 |
| commit | 8aca38678b43b9fbf96964ae6fd104ea9e5000a3 (patch) | |
| tree | c187d3d8a0a01231208b9b547385361f1be771b8 /xmake/plugins/project/makefile/makefile.lua | |
| parent | 150e39c909434f0caa63ab453b92257bddde8794 (diff) | |
add add_headerfiles and mark add_headers/set_headerdir as deprecated
Diffstat (limited to 'xmake/plugins/project/makefile/makefile.lua')
| -rw-r--r-- | xmake/plugins/project/makefile/makefile.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/project/makefile/makefile.lua b/xmake/plugins/project/makefile/makefile.lua index c57447f07..9e2f2a51d 100644 --- a/xmake/plugins/project/makefile/makefile.lua +++ b/xmake/plugins/project/makefile/makefile.lua @@ -343,7 +343,7 @@ function _make_target(makefile, target, targetflags) _mkdir(makefile, path.directory(targetfile)) makefile:writef("\t@%s > %s 2>&1\n", command, _logfile()) - -- make header directories + -- TODO make header directories (deprecated) local dstheaderdirs = {} local srcheaders, dstheaders = target:headerfiles() for _, dstheader in ipairs(dstheaders) do @@ -481,8 +481,8 @@ function _clean_target(makefile, target) -- remove the object files _remove(makefile, target:objectfiles()) - -- remove the header files - local _, dstheaders = target:headerfiles() + -- TODO remove the header files (deprecated) + local _, dstheaders = target:headers() _remove(makefile, dstheaders) end |
