mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-23 17:25:54 +01:00
New utility library
This commit is contained in:
25
libraries/lib-utility/CMakeLists.txt
Normal file
25
libraries/lib-utility/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
#[[
|
||||
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}" ""
|
||||
"" ""
|
||||
)
|
||||
Reference in New Issue
Block a user