reactos/lib/3rdparty/libmpg123/CMakeLists.txt
Hermès Bélusca-Maïto 8a3822c4ea Sync with trunk r63647.
svn path=/branches/condrv_restructure/; revision=63648
2014-06-27 18:05:20 +00:00

51 lines
880 B
CMake

add_definitions(
-DOPT_I386
-DREAL_IS_FLOAT
-DNOXFERMEM
-DHAVE_CONFIG_H
-DEOVERFLOW=75
-Dlseek=_lseek
-Dread=_read
-Dstrdup=_strdup
-D_CRT_NONSTDC_NO_DEPRECATE
-D_DLL -D__USE_CRTIMP)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
list(APPEND SOURCE
compat.c
dct64.c
dct64_i386.c
equalizer.c
feature.c
format.c
frame.c
icy.c
icy2utf8.c
id3.c
index.c
layer1.c
layer2.c
layer3.c
libmpg123.c
ntom.c
optimize.c
parse.c
readers.c
stringbuf.c
synth.c
synth_8bit.c
synth_real.c
synth_s32.c
tabinit.c
precomp.h)
add_library(libmpg123 ${SOURCE})
add_dependencies(libmpg123 psdk)
add_pch(libmpg123 precomp.h SOURCE)
if(NOT MSVC)
add_target_compile_flags(libmpg123 "-Wno-unused-but-set-variable")
endif()