Author: akhaldi
Date: Tue Feb 11 11:12:10 2014
New Revision: 62116
URL:
http://svn.reactos.org/svn/reactos?rev=62116&view=rev
Log:
[3RDPARTYDLLS]
* Prepare the CMake scripts for PCH.
CORE-7716
Modified:
trunk/reactos/dll/3rdparty/libpng/CMakeLists.txt
trunk/reactos/dll/3rdparty/libtiff/CMakeLists.txt
trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt
Modified: trunk/reactos/dll/3rdparty/libpng/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libpng/CMakeL…
==============================================================================
--- trunk/reactos/dll/3rdparty/libpng/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/libpng/CMakeLists.txt [iso-8859-1] Tue Feb 11 11:12:10
2014
@@ -9,7 +9,7 @@
${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
-add_library(libpng SHARED
+list(APPEND SOURCE
png.c
pngerror.c
pngget.c
@@ -24,10 +24,12 @@
pngwio.c
pngwrite.c
pngwtran.c
- pngwutil.c)
+ pngwutil.c
+ pngpriv.h)
+add_library(libpng SHARED ${SOURCE})
set_module_type(libpng win32dll)
target_link_libraries(libpng zlib)
add_importlibs(libpng msvcrt kernel32 ntdll)
-add_dependencies(libpng psdk)
+add_pch(libpng pngpriv.h SOURCE)
add_cd_file(TARGET libpng DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/3rdparty/libtiff/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libtiff/CMake…
==============================================================================
--- trunk/reactos/dll/3rdparty/libtiff/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/libtiff/CMakeLists.txt [iso-8859-1] Tue Feb 11 11:12:10
2014
@@ -10,7 +10,7 @@
${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
-add_library(libtiff SHARED
+list(APPEND SOURCE
mkg3states.c
tif_aux.c
tif_close.c
@@ -48,12 +48,15 @@
tif_warning.c
tif_win32.c
tif_write.c
- tif_zip.c)
+ tif_zip.c
+ precomp.h)
+add_library(libtiff SHARED ${SOURCE})
set_module_type(libtiff win32dll)
target_link_libraries(libtiff zlib getopt)
add_importlibs(libtiff user32 msvcrt kernel32 ntdll)
add_dependencies(libtiff psdk)
+add_pch(libtiff precomp.h SOURCE)
add_cd_file(TARGET libtiff DESTINATION reactos/system32 FOR all)
if(NOT MSVC)
Modified: trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libxslt/CMake…
==============================================================================
--- trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt [iso-8859-1] Tue Feb 11 11:12:10
2014
@@ -13,7 +13,7 @@
-D_WINSOCKAPI_
-DLIBXML_STATIC)
-add_library(libxslt SHARED
+list(APPEND SOURCE
attributes.c
attrvt.c
documents.c
@@ -32,18 +32,19 @@
variables.c
xslt.c
xsltlocale.c
- xsltutils.c)
+ xsltutils.c
+ precomp.h)
+add_library(libxslt SHARED ${SOURCE})
set_module_type(libxslt win32dll)
target_link_libraries(libxslt libxml2)
add_importlibs(libxslt msvcrt ws2_32 kernel32)
-
if(MSVC)
add_importlibs(libxslt ntdll)
endif()
add_dependencies(libxslt psdk)
-add_pch(libxslt libxslt.h)
+add_pch(libxslt precomp.h SOURCE)
add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
if(NOT MSVC)