1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 17:13:37 +02:00

Compile all libs and link (Debug only so far) using CMake

This commit is contained in:
James Crook
2018-04-01 15:51:11 +01:00
parent 47e826546a
commit 03945e8057
21 changed files with 509 additions and 388 deletions

View File

@@ -23,11 +23,16 @@ ${LIB_SRC_DIRECTORY}libid3tag/util.c
${LIB_SRC_DIRECTORY}libid3tag/version.c
)
# This defines the #define on both Windows and Linux.
add_definitions( )
add_library( ${TARGET} MODULE ${SOURCES})
add_definitions(
-D_LIB
)
add_library( ${TARGET} STATIC ${SOURCES})
find_package(wxWidgets REQUIRED COMPONENTS net core base)
#include( ${wxWidgets_USE_FILE} )
target_include_directories( ${TARGET} PRIVATE
${wxWidgets_ROOT_DIR}/src/zlib
)
target_link_libraries( ${TARGET} )