<div dir="ltr"><div><div>Hi Sebastian,<br><br></div>Particularly I've used CMake "scripts" in some "build configurations" at our CI server as a truly cross-platform scripting language for generic tasks like download archive, check sha/md5, unpack it, do some file operations... it works perfectly for Linux and Windows (it is why I chose CMake %).<br><br></div>BTW, also I use it to talk to some REST API a little, but found lack of setting arbitrary HTTP method... :( for simple requests it is fine, but really soon it is not enough existed methods of `file` command... it is why I'm thinking about to extend it (curl library used by CMake can do all that I need)... but need to discuss first, cus I think `file` command is not a suitable candidate for such kind of extension... (casting Brad King into the thread %)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 12:39 AM, Sebastian Gniazdowski <span dir="ltr"><<a href="mailto:psprint@zdharma.org" target="_blank">psprint@zdharma.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello <br>
CMake has so many powerful features that I always suspected, that it can be used for tasks normally handled by Bash or sh. I've found following package manager written in CMake: <br>
<br>
<a href="https://docs.hunter.sh/en/latest/overview/what-is-it.html" rel="noreferrer" target="_blank">https://docs.hunter.sh/en/<wbr>latest/overview/what-is-it.<wbr>html</a> <br>
<br>
So I think this project confirms CMake's potential for handling general scripting tasks. However, it's hard to get some inspiration from Hunter, it's just a large collection of CMake packages focused on one specialized goal. <br>
<br>
But maybe someone used CMake for less specialized scripting tasks and would share? I'm writing Zsh plugin manager, Zplugin, and I want to integrate with CMake somehow, to get some swiss army knife features. <br>
<br>
--<br>
Sebastian Gniazdowski<br>
psprint /at/ <a href="http://zdharma.org" rel="noreferrer" target="_blank">zdharma.org</a><br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a></blockquote></div><br></div>