mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30:06 +02:00
It now uses VACUUM INTO instead of the SQLite backup API in hopes that the copies will be smaller. And VACUUM INTO is "supposed" to be faster, but time will tell. It's easy to put the backup API usage back in. This also fixes a bit I missed with redoing the orphan block handling that was reported by Paul. And finally, it renames the AutoRecovery.cpp/.h files and AutoSaveFile class to ProjectSerializer since the AutoSaveFile class is being used for regular project documents now and it doesn't write to a file anymore. If anyone has a better idea for a name other than ProjectSerializer feel free to change it. I hate naming things.
CMake requires that its CMakeList.txt files follow the directory structure of the projects. However, for Audacity this would cause collision with existing CMakeList.txt files that e.g. expat and libsoxr already provide. Our solution is to have this proxy directory for lib-src to hold our version of the CMakeList.txt files. We did try bundling several libraries under one CMakeList.txt without using subdirectories. However, we were then fighting CMake too much - and did not have a clean separation of information between sub projects.