1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-09 06:06:24 +01:00

Fix the Github CMake build

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.)
This commit is contained in:
Leland Lucius
2020-02-23 16:32:36 -06:00
parent 25d0871e55
commit f3ce60ae7a
5 changed files with 47 additions and 7 deletions

View File

@@ -136,6 +136,14 @@ jobs:
export WXWIN="${WXWIN//\\//}"
# Configure Audacity
#
# The wxWidgets_USE_REL_AND_DBG is needed because,
# on Github, we only build the Release version of
# wxWidgets and the FindwxWidgets CMake module
# defaults to looking for both. If either of them
# isn't found, then it doesn't provides the required
# library information. This is only a concern for
# Windows.
cmake -S . \
-B build \
-G "${{matrix.config.generator}}" \