From 5c7ff61cfceab6256ee9738d9587af2c1c67757c Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 11 Feb 2014 23:00:38 +0000 Subject: [PATCH] [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 --- reactos/lib/3rdparty/libmpg123/CMakeLists.txt | 7 +++++-- reactos/lib/3rdparty/libmpg123/precomp.h | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 reactos/lib/3rdparty/libmpg123/precomp.h diff --git a/reactos/lib/3rdparty/libmpg123/CMakeLists.txt b/reactos/lib/3rdparty/libmpg123/CMakeLists.txt index 64940642eab..969816d38a8 100644 --- a/reactos/lib/3rdparty/libmpg123/CMakeLists.txt +++ b/reactos/lib/3rdparty/libmpg123/CMakeLists.txt @@ -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) diff --git a/reactos/lib/3rdparty/libmpg123/precomp.h b/reactos/lib/3rdparty/libmpg123/precomp.h new file mode 100644 index 00000000000..b39666e4f9c --- /dev/null +++ b/reactos/lib/3rdparty/libmpg123/precomp.h @@ -0,0 +1,6 @@ +#ifndef _LIBMPG123_PCH_ +#define _LIBMPG123_PCH_ + +#include + +#endif /* _LIBMPG123_PCH_ */