#------------------------------------------------------------------- # 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 -D_CRT_SECURE_NO_WARNINGS) 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)