cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 forks source link

uninstall script does not remove public header files #566

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

For example, uninstall-basis does not remove the header files installed from the include directory of the BASIS source tree.

schuhschuh commented 8 years ago

Trying it again, everything was removed as it should be, except the empty bin directory.

schuhschuh commented 8 years ago

When running

"/vol/biomedic/users/as12312/bin/cmake" -P "/homes/as12312/opt/tmp/install/lib/cmake/basis/BASISUninstall.cmake"

directly, i.e., the code executed by uninstall-basis, all directories are removed. It seems the bin directory only remains because it is the directory of the uninstaller script itself.

schuhschuh commented 8 years ago

Executing the cmake process using the exec function solves the issue (on Unix).