1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-16 08:52:32 +02:00

14 Commits

Author SHA1 Message Date
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
Paul Licameli
dd1ce8dd63 Move definition of CMake function addlib, unchanged 2021-05-06 09:15:22 -05:00
Paul Licameli
9fb32528d6 Generate *_API compiler definitions for modules...
... So mod-foo defines FOO_API properly on the command line, for use in its
public header files; on Windows, appropriately expanding one way when compiling
the library, another way when compiling other code that uses it, so that all
will link correctly.
2021-05-06 09:15:22 -05:00
Paul Licameli
5844b2090a Generate a picture of module dependencies at configure time 2021-05-06 09:15:22 -05:00
Paul Licameli
1f6efefdf6 Fix math constants on Windows, such as M_PI, and min and max 2021-05-06 09:15:22 -05:00
Paul Licameli
fe8659f435 Separate CMake function for pervasive C++ flags, reuse it in modules 2021-05-06 09:15:22 -05:00
Paul Licameli
3943d1479f Each module defines an interface target that other modules may use...
... Solving some problems of linking modules dependent on other modules in
Unix
2021-05-06 09:15:22 -05:00
Paul Licameli
ee344aa6c9 Modules expose transitive link dependencies...
... which will simplify CMakeLists when modules depend on other modules
2021-05-06 09:15:22 -05:00
Paul Licameli
ca7d96f20a Transitive link dependencies via Audacity simplify module CMakeLists 2021-05-06 09:15:22 -05:00
Paul Licameli
938bbeb4f9 cmake function audacity_module abstracts common module setup steps...
... But leaving the wxDEBUG definition in each.  It should not be in the reused
function.
2021-05-06 09:15:22 -05:00
luzpaz
7a3bdcf3f2
Fix typos (user facing and non-user facing) (#727)
Found via `codespell v2.1.dev0`  
`codespell -q 3 -S *.po,./lib-src -L parm,parms,toke`
2021-01-24 09:46:08 +00:00
Paul Licameli
04a0eb4370 Fix comments 2020-06-14 13:44:52 -04:00
Leland Lucius
4b1d5c376d Bug 2400 - Mac: Zoomed in, playback meters slow to respond. 2020-05-10 02:36:28 -05:00
Leland Lucius
caab2a56c9 Remove gettext download for Mac in CMake build
And added a python version that will be used on all platforms
when a suitable msgfmt isn't installed.  (As long as python
is installed.)

Extracted all the Audacity specific functions from main cmake
list and moved them to their own module.

Rearrange the main cmake module a bit and misc. cleanup.
2020-02-29 01:49:55 -06:00