e637c2eba2
* Prefix mp3Decoder with cAp_ (for cAudioPlugin) so it gets auto loaded
28 lines
798 B
CMake
28 lines
798 B
CMake
#-------------------------------------------------------------------
|
|
# This file is part of the CMake build system for cAudio
|
|
#-------------------------------------------------------------------
|
|
|
|
############################################################
|
|
# cAp_mp3Decoder library
|
|
############################################################
|
|
|
|
PROJECT(cAp_mp3Decoder)
|
|
|
|
if(WIN32)
|
|
if(${CAUDIO_STATIC})
|
|
ADD_DEFINITIONS(-DCAUDIO_STATIC_LIB)
|
|
endif()
|
|
endif()
|
|
|
|
include_directories (include ${CAUDIO_INCLUDE_DIR} )
|
|
include(mp3Decoder_src_files.cmake)
|
|
add_library(cAp_mp3Decoder ${CAUDIO_LIB_TYPE} ${file_root})
|
|
|
|
target_link_libraries(cAp_mp3Decoder cAudio)
|
|
add_dependencies(cAp_mp3Decoder cAudio)
|
|
|
|
if(${CAUDIO_STATIC})
|
|
ADD_DEFINITIONS(-DCAUDIO_STATIC_LIB)
|
|
endif()
|
|
|
|
install_all_targets(cAp_mp3Decoder) |