mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:35:59 +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/libpng
|
||||||
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
||||||
|
|
||||||
add_library(libpng SHARED
|
list(APPEND SOURCE
|
||||||
png.c
|
png.c
|
||||||
pngerror.c
|
pngerror.c
|
||||||
pngget.c
|
pngget.c
|
||||||
|
@ -24,10 +24,12 @@ add_library(libpng SHARED
|
||||||
pngwio.c
|
pngwio.c
|
||||||
pngwrite.c
|
pngwrite.c
|
||||||
pngwtran.c
|
pngwtran.c
|
||||||
pngwutil.c)
|
pngwutil.c
|
||||||
|
pngpriv.h)
|
||||||
|
|
||||||
|
add_library(libpng SHARED ${SOURCE})
|
||||||
set_module_type(libpng win32dll)
|
set_module_type(libpng win32dll)
|
||||||
target_link_libraries(libpng zlib)
|
target_link_libraries(libpng zlib)
|
||||||
add_importlibs(libpng msvcrt kernel32 ntdll)
|
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)
|
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/libtiff
|
||||||
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
||||||
|
|
||||||
add_library(libtiff SHARED
|
list(APPEND SOURCE
|
||||||
mkg3states.c
|
mkg3states.c
|
||||||
tif_aux.c
|
tif_aux.c
|
||||||
tif_close.c
|
tif_close.c
|
||||||
|
@ -48,12 +48,15 @@ add_library(libtiff SHARED
|
||||||
tif_warning.c
|
tif_warning.c
|
||||||
tif_win32.c
|
tif_win32.c
|
||||||
tif_write.c
|
tif_write.c
|
||||||
tif_zip.c)
|
tif_zip.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(libtiff SHARED ${SOURCE})
|
||||||
set_module_type(libtiff win32dll)
|
set_module_type(libtiff win32dll)
|
||||||
target_link_libraries(libtiff zlib getopt)
|
target_link_libraries(libtiff zlib getopt)
|
||||||
add_importlibs(libtiff user32 msvcrt kernel32 ntdll)
|
add_importlibs(libtiff user32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(libtiff psdk)
|
add_dependencies(libtiff psdk)
|
||||||
|
add_pch(libtiff precomp.h SOURCE)
|
||||||
add_cd_file(TARGET libtiff DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET libtiff DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
if(NOT MSVC)
|
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_
|
-D_WINSOCKAPI_
|
||||||
-DLIBXML_STATIC)
|
-DLIBXML_STATIC)
|
||||||
|
|
||||||
add_library(libxslt SHARED
|
list(APPEND SOURCE
|
||||||
attributes.c
|
attributes.c
|
||||||
attrvt.c
|
attrvt.c
|
||||||
documents.c
|
documents.c
|
||||||
|
@ -32,18 +32,19 @@ add_library(libxslt SHARED
|
||||||
variables.c
|
variables.c
|
||||||
xslt.c
|
xslt.c
|
||||||
xsltlocale.c
|
xsltlocale.c
|
||||||
xsltutils.c)
|
xsltutils.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(libxslt SHARED ${SOURCE})
|
||||||
set_module_type(libxslt win32dll)
|
set_module_type(libxslt win32dll)
|
||||||
target_link_libraries(libxslt libxml2)
|
target_link_libraries(libxslt libxml2)
|
||||||
add_importlibs(libxslt msvcrt ws2_32 kernel32)
|
add_importlibs(libxslt msvcrt ws2_32 kernel32)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_importlibs(libxslt ntdll)
|
add_importlibs(libxslt ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_dependencies(libxslt psdk)
|
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)
|
add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue