File: CMakeLists.txt

package info (click to toggle)
audacity 3.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 106,704 kB
  • sloc: cpp: 277,038; ansic: 73,623; lisp: 7,761; python: 3,305; sh: 2,715; perl: 821; xml: 275; makefile: 119
file content (28 lines) | stat: -rw-r--r-- 874 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#[[
This library defines a facade interface, BasicUI::Services, for a few basic
interactions with the user, such as showing simple dialog boxes, and for
enqueuing actions to the event loop, and yielding to to the event dispatcher.

The interface makes no mention of classes in wxWidgets.  Using this library
instead of making direct use of wxWidgets enlarges the parts of the program
that are toolkit neutral.

There is a global pointer to an instance of Services, and the main program is
expected, at startup, to create a static instance of a subclass of Services and
set the pointer.  If it does not, then calls to the non-member functions in
namespace BasicUI are no-ops.
]]#

set( SOURCES
   BasicUI.cpp
   BasicUI.h
   BasicUIPoint.h
)
set( LIBRARIES
   lib-strings-interface
   PRIVATE
   wxBase
)
audacity_library( lib-basic-ui "${SOURCES}" "${LIBRARIES}"
   "" ""
)