[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:
Amine Khaldi 2014-02-11 23:00:38 +00:00
parent 4e1f904ae5
commit 5c7ff61cfc
2 changed files with 11 additions and 2 deletions

View file

@ -13,7 +13,7 @@ add_definitions(
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
add_library(libmpg123
list(APPEND SOURCE
compat.c
dct64.c
dct64_i386.c
@ -38,7 +38,10 @@ add_library(libmpg123
synth_8bit.c
synth_real.c
synth_s32.c
tabinit.c)
tabinit.c
precomp.h)
add_library(libmpg123 ${SOURCE})
add_dependencies(libmpg123 psdk)
add_pch(libmpg123 precomp.h SOURCE)
allow_warnings(libmpg123)

View file

@ -0,0 +1,6 @@
#ifndef _LIBMPG123_PCH_
#define _LIBMPG123_PCH_
#include <mpg123lib_intern.h>
#endif /* _LIBMPG123_PCH_ */