1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00
audacity/cmake-proxies
Paul Licameli ec3d2424a5 addlib supplies absolute path to add_subdirectory...
... not assuming that it is invoked from cmake-proxies/CMakeLists.txt

This will allow modules to use lib-src libraries, and even for a module to be
the sole user of one of them.

So addlib lines may be moved out of cmake-proxies/CMakeLists.txt, when no
longer needed to build the reduced executable without the modules.
2021-05-06 09:15:22 -05:00
..
2020-02-12 01:05:51 -06:00
2020-05-26 13:36:07 -05:00
2020-02-23 03:57:31 -06:00
2021-02-01 10:12:06 -06:00
2020-09-23 22:47:19 -05:00
2020-05-26 13:36:07 -05:00
2020-02-19 10:53:50 -06:00
2020-07-25 03:40:15 -05:00

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.