mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
[LIBMPG123]
* Introduce a PCH suitable for use without altering the 3rd party code. * Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62125
This commit is contained in:
parent
4e1f904ae5
commit
5c7ff61cfc
2 changed files with 11 additions and 2 deletions
|
@ -13,7 +13,7 @@ add_definitions(
|
||||||
|
|
||||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
|
||||||
|
|
||||||
add_library(libmpg123
|
list(APPEND SOURCE
|
||||||
compat.c
|
compat.c
|
||||||
dct64.c
|
dct64.c
|
||||||
dct64_i386.c
|
dct64_i386.c
|
||||||
|
@ -38,7 +38,10 @@ add_library(libmpg123
|
||||||
synth_8bit.c
|
synth_8bit.c
|
||||||
synth_real.c
|
synth_real.c
|
||||||
synth_s32.c
|
synth_s32.c
|
||||||
tabinit.c)
|
tabinit.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(libmpg123 ${SOURCE})
|
||||||
add_dependencies(libmpg123 psdk)
|
add_dependencies(libmpg123 psdk)
|
||||||
|
add_pch(libmpg123 precomp.h SOURCE)
|
||||||
allow_warnings(libmpg123)
|
allow_warnings(libmpg123)
|
||||||
|
|
6
reactos/lib/3rdparty/libmpg123/precomp.h
vendored
Normal file
6
reactos/lib/3rdparty/libmpg123/precomp.h
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef _LIBMPG123_PCH_
|
||||||
|
#define _LIBMPG123_PCH_
|
||||||
|
|
||||||
|
#include <mpg123lib_intern.h>
|
||||||
|
|
||||||
|
#endif /* _LIBMPG123_PCH_ */
|
Loading…
Reference in a new issue