John, Just some further information. I rebuilt GnuCash with the -G Ninja option.
The build.ninja seems to contain a build uninstall target but it has no commands. If I run sudo ninja install it installs GnuCash (in/usr/local the prefix I set with cmake) and creates install_manifest.txt. If i copy the install target in build.ninja to the blank uninstall section and modify it as follows # Utility command for uninstall build CMakeFiles/uninstall.util: CUSTOM_COMMAND all COMMAND = cd /home/david/Applications/gnucash-3.2/build-ninja && /usr/bin/cmake -P cmake_uninstall.cmake DESC = Uninstall the project... pool = console restat = 1 build uninstall: phony CMakeFiles/uninstall and then issue sudo ninja uninstall Gnucash is correctly uninstalled except that it leaves: an empty gnucash directory in /etc; /include has an empty gnucash folder; /lib has a guncash directory with a scm/ccache/2.2 directory containing gnucash, json and qif-import folders /share has a gnucash directory with subdirectories but no files It appears the uninstall is removing all files but not necessarily the directory structure the files were in. OK unless that changes between versions. I haven't checked whether the uninstall behavior is any different for the make version but a diff on the make and ninja versions of install_manifest.txt produces no differences so I would expect that the uninstall is the same given the cmake_uninstall.cmake files were essentially the same. Getting cmake to correctly create the build.ninja uninstall target should be enough to get the ninja uninstall working as well. Cheers David ----- David Cousens -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.