diff options
| author | ruki <[email protected]> | 2023-08-01 23:38:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-08-01 23:38:33 +0800 |
| commit | 0f8899180e72c65ce48b37d30902b20f315bbdb9 (patch) | |
| tree | 44dfb352cdba81453785fb8b592b028b577a2d31 /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 589975db619ee3ff5611ea0e1887159dc89e49e4 (diff) | |
remove more codes
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 54d87a251..e4cf59e96 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -1005,21 +1005,6 @@ function _add_target_custom_commands(cmakelists, target, outputdir) _add_target_custom_commands_for_batchcmds(cmakelists, target, outputdir, "after", cmds_after) end --- TODO export target headers (deprecated) -function _export_target_headers(target) - local srcheaders, dstheaders = target:headers() - if srcheaders and dstheaders then - local i = 1 - for _, srcheader in ipairs(srcheaders) do - local dstheader = dstheaders[i] - if dstheader then - os.cp(srcheader, dstheader) - end - i = i + 1 - end - end -end - -- add target function _add_target(cmakelists, target, outputdir) @@ -1044,9 +1029,6 @@ function _add_target(cmakelists, target, outputdir) raise("unknown target kind %s", target:kind()) end - -- TODO export target headers (deprecated) - _export_target_headers(target) - -- add target dependencies _add_target_dependencies(cmakelists, target) |
