mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Previously lib-src that we controlled had their cmake files with them. This is clearer. Also added place holders for help and locale. Also enabled libvorbis and soundtouch and disabled portburn.
20 lines
582 B
CMake
20 lines
582 B
CMake
#directory cmake-proxies/mod-script-pipe
|
|
set( TARGET mod-script-pipe )
|
|
set( TARGET_SOURCE ${LIB_SRC_DIRECTORY}${TARGET} )
|
|
project( ${TARGET} )
|
|
find_package(wxWidgets REQUIRED COMPONENTS net core base)
|
|
include(${wxWidgets_USE_FILE})
|
|
|
|
set( SOURCES
|
|
${TARGET_SOURCE}/PipeServer.cpp
|
|
${TARGET_SOURCE}/ScripterCallback.cpp
|
|
)
|
|
# This defines the #define on both Windows and Linux.
|
|
add_definitions( -DBUILDING_SCRIPT_PIPE )
|
|
add_library( ${TARGET} MODULE ${SOURCES})
|
|
|
|
target_include_directories( ${TARGET} PRIVATE
|
|
${top_dir}/win
|
|
)
|
|
|
|
target_link_libraries( ${TARGET} ${wxWidgets_LIBRARIES}) |