mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Add more libs for Audacity to CMake
This commit is contained in:
parent
c3a440e561
commit
a6bbfc400f
@ -23,7 +23,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
|
||||
add_subdirectory( "lib-src" )
|
||||
add_subdirectory( "src" )
|
||||
#add_subdirectory( "src" )
|
||||
|
||||
# Uncomment what follows for symbol values.
|
||||
#[[
|
||||
|
File diff suppressed because it is too large
Load Diff
23
lib-src/FileDialog/CMakeLists.txt
Normal file
23
lib-src/FileDialog/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
#directory lib-src/FileDialog
|
||||
|
||||
|
||||
set( SOURCES
|
||||
${LIB_SRC_DIRECTORY}FileDialog/FileDialog.cpp
|
||||
#${LIB_SRC_DIRECTORY}FileDialog/gtk/FileDialogPrivate.cpp #not on windows.
|
||||
${LIB_SRC_DIRECTORY}FileDialog/win/FileDialogPrivate.cpp
|
||||
)
|
||||
|
||||
|
||||
project (FileDialog)
|
||||
add_library( FileDialog STATIC ${SOURCES})
|
||||
find_package(wxWidgets REQUIRED COMPONENTS net core base)
|
||||
include( ${wxWidgets_USE_FILE} )
|
||||
target_include_directories( FileDialog PRIVATE
|
||||
#${wxWidgets_INCLUDE_DIRS}
|
||||
${top_dir}/FileDialog
|
||||
${top_dir}/FileDialog/win
|
||||
)
|
||||
add_definitions( -DWXUSINGDLL -DWIN32 -D_LIB
|
||||
#${wxWidgets_DEFINITIONS}
|
||||
)
|
||||
target_link_libraries(FileDialog ${wxWidgets_LIBRARIES})
|
@ -1,7 +1,7 @@
|
||||
#directory src
|
||||
project (Audacity)
|
||||
find_package(wxWidgets REQUIRED COMPONENTS net core base)
|
||||
|
||||
include(${wxWidgets_USE_FILE})
|
||||
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS On)
|
||||
|
||||
@ -50,7 +50,7 @@ include_directories(${top_dir}/lib-src/lame)
|
||||
# add_definitions(-include AudacityHeaders.h)
|
||||
#endif()
|
||||
|
||||
include(${wxWidgets_USE_FILE})
|
||||
|
||||
|
||||
|
||||
# Consider moving many of these # defines to Audacity.h.
|
||||
|
Loading…
x
Reference in New Issue
Block a user