mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 09:09:47 +02:00
* [CMAKE] Portaudio: do not activate OSS on Windows I had a strange error when building the local portaudio library with MinGW under msys2. The error was caused by the file sys/soundcard.h that was found somewhere in the path, because use_pa_oss is always activated regardless the platform. So, in my opinion it is better to not activate this option if the platform is Windows. Afterall, it is useless in this case. * [CMAKE] Portaudio: move also remaining OSS code
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. We don't need the proxies for our own 'lib_src' such as mod-script-pipe and FileDialog, where we 'own' the CMakeList.txt file.