Hi Sebastian,

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 %).

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 %)

On Tue, Nov 14, 2017 at 12:39 AM, Sebastian Gniazdowski <psprint@zdharma.org> wrote:
Hello 
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: 

https://docs.hunter.sh/en/latest/overview/what-is-it.html 

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. 

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. 

--
Sebastian Gniazdowski
psprint /at/ zdharma.org

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake