mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:35:42 +00:00
[3RDPARTYDLLS]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62116
This commit is contained in:
parent
613eec0d36
commit
26da1ec606
3 changed files with 15 additions and 9 deletions
8
reactos/dll/3rdparty/libpng/CMakeLists.txt
vendored
8
reactos/dll/3rdparty/libpng/CMakeLists.txt
vendored
|
@ -9,7 +9,7 @@ include_directories(
|
|||
${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 @@ add_library(libpng SHARED
|
|||
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)
|
||||
|
|
7
reactos/dll/3rdparty/libtiff/CMakeLists.txt
vendored
7
reactos/dll/3rdparty/libtiff/CMakeLists.txt
vendored
|
@ -10,7 +10,7 @@ include_directories(
|
|||
${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 @@ add_library(libtiff SHARED
|
|||
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)
|
||||
|
|
9
reactos/dll/3rdparty/libxslt/CMakeLists.txt
vendored
9
reactos/dll/3rdparty/libxslt/CMakeLists.txt
vendored
|
@ -13,7 +13,7 @@ add_definitions(
|
|||
-D_WINSOCKAPI_
|
||||
-DLIBXML_STATIC)
|
||||
|
||||
add_library(libxslt SHARED
|
||||
list(APPEND SOURCE
|
||||
attributes.c
|
||||
attrvt.c
|
||||
documents.c
|
||||
|
@ -32,18 +32,19 @@ add_library(libxslt SHARED
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue