mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 00:49:33 +02:00
Restore the wxDEBUG_LEVEL defines for the module builds. It is currently required (see explanation in CMakeLists.txt) Add explanantion of why wxWidgets_USE_REL_AND_DBG=NO is needed for the Github Windows build. Further restrict the disabling dynamic loading for Windows and Mac of the Lame and FFmpeg libs. Some corrections need to be made in ExportMP3.cpp (and probably some for FFmpeg as well). And don't build mod-nyq-bench or mod-null by default until they can be fixed. (They fail to build.)
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.