mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
cmake-proxies/expat/CMakeLists.txt seems to make more problems than it solves. But the native one appears doing its job well on multiple platforms. Tested on Windows, OSX, Linux and FreeBSD. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Author: Vitaliy Kirsanov <krokoziabla@yandex-team.ru> # Date: Thu Mar 14 19:03:29 2019 +0300 # # On branch tmp # Your branch is up to date with 'my/tmp'. # # Changes to be committed: # modified: cmake-proxies/CMakeLists.txt # deleted: cmake-proxies/expat/CMakeLists.txt # modified: lib-src/expat/CMakeLists.txt # # Changes not staged for commit: # modified: lib-src/expat/CMakeLists.txt #
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.