1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 07:40:23 +02:00
audacity/cmake-proxies
Carlo Bramini 22b47bf0ae
[CMAKE] LAME: fix compilation error. (#466)
If you try to build local LAME with CMake for i686, you get many error messages like this one:

C:/cygwin64/home/Carlo/audacity/lib-src/libmp3lame/vector/xmm_quantize_sub.c: In function 'init_xrpow_core_sse':
C:/cygwin64/home/Carlo/audacity/lib-src/libmp3lame/vector/xmm_quantize_sub.c:72:18: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

The solution is to add the option provided by SSE_FLAGS.
So, I replicated in this PR the same fix made for local soundtouch library.
2020-03-24 13:54:21 -05:00
..
2020-02-12 01:05:51 -06:00
2020-02-19 10:53:50 -06:00
2020-02-23 03:57:31 -06:00
2020-02-23 03:57:31 -06:00
2020-02-23 03:57:31 -06:00
2018-04-01 09:23:11 +01:00
2020-02-19 10:53:50 -06:00
2018-04-01 09:23:11 +01: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.

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.