Open J-Dunn opened 2 years ago
Yes, this would be appreciated
Most distributions are packaging coin and you can install and uninstall coin via the package manager of the distribution. But it seems you are building your coin from source. When configuring you can add -DCMAKE_INSTALL_PREFIX=/opt/local/coin3d
to your cmake command line and coin will install in the given directory, not in the standard locations. When installing you can override this choice with DESTDIR
option to make, e.g. make DESTDIR=/opt/local/mycoin install
. Then uninstallation is simply deleting the installation directory. To make sure your programs find coin in nonstandard places you need to add it to your CMake command line via -DCMAKE_PREFIX_PATH=/opt/local/mycoin
option.
could someone add an uninstall target ?
If I want to clean the installed files I have run make install and then manually go through the list to clean. This should not be necessary. If it's any help to anyone here is what I needed to do on my system.
This really ought to cleaned up properly by makefiles. Thanks.