Files
tenacity/modules/scripting/mod-script-pipe/CMakeLists.txt
Avery King dc4467d2bc Replace codebase with modified Audacity 3.7.1
Some of our basic changes remained, but a lot of work still needs to be
done. At least it builds though!

I have a few notes off the top of my head writing this:

- Our build system was kept and modified to work with the new codebase.
  Similarly, the codebase was modified to work with our build system.
- We don't support Audacity's full wxBase restrictions, so I just
  replaced it with wxWidgets::wxWidgets for now. (See above).
- There are still networking features, which are to be removed in the
  next commit.
- pffft was added as a library in lib-src, and I wrote a new
  CMakeLists.txt for it.
- I modified WrapAllegro.h to use our allegro.h shim instead.

Signed-off-by: Avery King <avery98@pm.me>
2025-01-04 14:54:13 -08:00

27 lines
710 B
CMake

#[[
Inter-process pipe allowing control of Audacity by sending macro commands and
receiving responses
]]
set( SOURCES
PipeServer.cpp
ScripterCallback.cpp
)
set( DEFINES
PRIVATE
BUILDING_SCRIPT_PIPE
# This is needed until the transition to cmake is complete and
# the Windows pragmas are removed from ScripterCallback.cpp.
# Without it, the wxWidgets "debug.h" will define __WXDEBUG__
# which then causes this module to emit library pragmas for the
# debug versions of wxWidgets...even if the build is for Release.
wxDEBUG_LEVEL=0
)
set( LIBRARIES
PRIVATE
Tenacity
)
tenacity_module( mod-script-pipe "${SOURCES}" "${LIBRARIES}"
"${DEFINES}" "" )