Paul Licameli
5a362c308c
Correct the placement of extension modules in the Windows build tree
2021-05-18 20:51:55 -04:00
Paul Licameli
42bddca151
Fix transitive dependencies via interface libaries
2021-05-18 00:21:48 -04:00
Paul Licameli
7cf78c15dc
non-Win, non-Debug builds: strip module file symbols to save space...
...
... This only strips the symbols that do not have external linkage
2021-05-18 00:16:44 -04:00
Paul Licameli
dfbf3d25c1
Support for our own libraries, distinct from modules
2021-05-18 00:12:44 -04:00
Paul Licameli
b52192c4c4
Fix builds with precompiled headers, which broke at 794f4e5
2021-05-12 13:02:29 -05:00
Paul Licameli
d51f505cd9
Define Audacity version constants in CMake not Audacity.h
2021-05-10 00:05:23 -05:00
Paul Licameli
794f4e5877
Inclusion of the correct config header on command line using CMake
2021-05-10 00:05:23 -05:00
Paul Licameli
229b82a502
Move definitions of safenew, PROHIBITED, _DEBUG into CMake
2021-05-10 00:05:23 -05:00
Paul Licameli
29a657bc77
CMake function addlib can be called multiply for the same library
2021-05-06 09:15:22 -05:00
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