Cleaning CMake installed files

后端 未结 2 1755
清歌不尽
清歌不尽 2020-12-31 07:40

I have some executables/libraries being placed into the system paths using CMake\'s \"install\" keyword. Is there a built-in mechanism to do something like a \"distclean\",

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-31 08:22

    There should be file "install_manifest.txt" after executing "make install". The following command should work:

    cat install_manifest.txt | sudo xargs rm
    

提交回复
热议问题