diff options
| author | ruki <[email protected]> | 2023-11-14 23:20:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-14 23:20:28 +0800 |
| commit | f070b5c9e770199d6fd5de9f696b4894238c6b58 (patch) | |
| tree | b74e1d129be1183e0bb484c874f07d2d4fe84ce2 /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 661940b67e586377a362dd956b699244aa3165ec (diff) | |
add icon file
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index fd0f6ff2c..4b8df1b22 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -897,6 +897,8 @@ function _get_command_string(cmd, outputdir) end elseif kind == "rm" then return string.format("${CMAKE_COMMAND} -E rm -rf %s", _get_relative_unix_path_to_cmake(cmd.filepath, outputdir)) + elseif kind == "rmdir" then + return string.format("${CMAKE_COMMAND} -E rm -rf %s", _get_relative_unix_path_to_cmake(cmd.dir, outputdir)) elseif kind == "mv" then return string.format("${CMAKE_COMMAND} -E rename %s %s", _get_relative_unix_path_to_cmake(cmd.srcpath, outputdir), _get_relative_unix_path_to_cmake(cmd.dstpath, outputdir)) |
