floooh / fips

High-level build system for distributed, multi-platform C/C++ projects.
MIT License
468 stars 82 forks source link

Added 'cache' verb that open CMakeCache with the default text editor #250

Closed fLindahl closed 4 years ago

fLindahl commented 4 years ago

I often find myself needing to open the CMakeCache, either to double-check variables, or just to modify something. Using the 'config' keyword works, but sometimes I don't really need to go through the cmake gui.

I added a simple verb that just opens the cmake cache file.

I understand if this is a bit redundant, but maybe someone will find it useful.

floooh commented 4 years ago

Hi, I'll give it a try and think about it a bit. I've actually started to remove verbs from fips which I didn't think should belong into the core repository, and moved them into the new fips-utils repo:

https://github.com/fips-libs/fips-utils

However your feature looks more like it should belong into core.

floooh commented 4 years ago

Ok, I only tested on Windows and macOS so far (not on Linux). The feature seems quite useful, thanks for the PR :)

thoughton commented 4 years ago

For the record, I just tested this on Ubuntu and it works great there too.