dasmithii / Kit

project manager for c/c++
MIT License
65 stars 6 forks source link

Added command line options and bugfixes #15

Closed samuelmanzer closed 10 years ago

samuelmanzer commented 10 years ago

Hey! Love this project.

Added argparse to allow for a '--verbose' option, which helped me find a linking bug by exposing exactly what 'make' was actually doing. Also added a '--save-cmake' option to leave CMakeLists.txt intact so that the user can manually run 'make' if tinkering with options is necessary. Finally, fixed a bug wherein running 'kit remove' with no module name would delete '.' and thus nuke the source tree. Tested all commands and to the best of my knowledge they all work.

dasmithii commented 10 years ago

Thank you!

On a few occasions, I've found myself manually executing build/bin/<project_name> to see output that Kit had suppressed. Verbose mode should help a lot here.

In the same light, I've edited the source code of Kit a few times, commenting out rm CMakeLists.txt line, re-installing via setup tools, and running everything again just to detect simple issues. The option for saving that file makes a lot of sense. Frankly, I should have done something about it earlier.

The kit remove bug fix is great too. Thanks again