lamyj / odil

Odil is a C++11 library for the DICOM standard
Other
85 stars 21 forks source link

make uninstall #79

Closed ferdymercury closed 3 years ago

ferdymercury commented 3 years ago

Just a minor feature suggestion. Having a make uninstall command could be helpful, see:

https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake

lamyj commented 3 years ago

Why on earth would you want to uninstall Odil !?! Joke aside, done in 5ab26b9, following Kitware's advice to the letter. Note that it will leave behind empty directories (it does not seem possible to know whether CMake created them or not) and files generated after the installation (e.g. bytecode Python files, same remark about creation).

ferdymercury commented 3 years ago

hahah indeed, no one would want to such a thing.

But Odil is even cooler now that he can ;)

(Yes, I have the problem too in my projects that the folders are left behind. But at least they will not take as much space as the binaries.)

Thanks for the amazing support!