mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-11 11:12:46 +02:00
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>
27 lines
710 B
CMake
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}" "" )
|