Re: [CMake] Remove folders created by install

2019-02-20 Thread Eric Noulard
There are some possible solutions and reference here: https://stackoverflow.com/questions/41471620/cmake-support-make-uninstall Le sam. 16 févr. 2019 à 15:48, Felix Crazzolara a écrit : > Hi everyone > > For my smaller projects I'd like to have 'uninstall' functionality. To > remove installed fi

Re: [CMake] Remove folders created by install

2019-02-19 Thread Kuba Ober
Use something to read the manifest, extract paths from it, remove the duplicates, then iterate them, and remove the ones that are empty. It’d be a bad idea probably to remove ones that are not empty. Cheers, Kuba > 16 feb. 2019 kl. 09:47 skrev Felix Crazzolara : > > Hi everyone > > For my sma

[CMake] Remove folders created by install

2019-02-16 Thread Felix Crazzolara
Hi everyone For my smaller projects I'd like to have 'uninstall' functionality. To remove installed files I can call: xargs rm < build/install_manifest.txt Unfortunately this won't delete any folders generated by the installation. Is there a different file that keeps track of the created di