mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
26 lines
751 B
CMake
26 lines
751 B
CMake
#[[
|
|
A small library defining various constants and utilities
|
|
|
|
No dependencies on wxWidgets. Very few if any symbols with linkage.
|
|
|
|
One very important utility is finally() as defined in The C++ Programming
|
|
Language, fourth edition, for describing ad-hoc RAII actions.
|
|
|
|
Historically, MemoryX.h began as a wrapper of C++11 <memory>, which by itself
|
|
did not yet provide std::make_unique. That explains the name.
|
|
|
|
Audacity now uses C++14, and yet, need arose for other anticipations of
|
|
future standards, such as with optional. It also provides other pervasively
|
|
used utilities that don't correspond to things in the standard.
|
|
|
|
]]#
|
|
|
|
set( SOURCES
|
|
MemoryX.cpp
|
|
MemoryX.h
|
|
ModuleConstants.h
|
|
)
|
|
audacity_library( lib-utility "${SOURCES}" ""
|
|
"" ""
|
|
)
|