Skip to content

Conversation

jasjuang
Copy link
Contributor

After sudo make install, it is quite cumbersome to remove the installed files manually, especially if CMAKE_INSTALL_PREFIX changed to something like /usr/local. This change allows the user to simply type sudo make uninstall to remove all installed files

CMakeLists.txt Outdated
# ---[ Export configs generation
caffe_generate_export_configs()

# uninstall target

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could try to conform with their style of # ---[ uninstall target. Also, the entire block should be placed in line 88.

@SergioRAgostinho
Copy link

Bumping this with the suggested changes. The uninstall target is really important when doing system wide installations.

@jasjuang
Copy link
Contributor Author

updated with @SergioRAgostinho suggestions

@jasjuang
Copy link
Contributor Author

It's being almost a year... imo this is a really important feature, can someone review it and merge it?

@shelhamer
Copy link
Member

Thanks for CMake build improvement!

@shelhamer shelhamer changed the title add in sudo make uninstall for cmake add in make uninstall for cmake Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants