reactos/dll/3rdparty/libxslt/CMakeLists.txt
Jérôme Gardou 1d2b1c4a24 [CMAKE]
- Get rid of buildno_header target, builno.h is generated at configure time.

svn path=/branches/cmake-bringup/; revision=51220
2011-04-01 17:34:49 +00:00

47 lines
733 B
CMake

add_definitions(
-DHAVE_CONFIG_H
-DWIN32
-D_WINDOWS
-D_MBCS
-DHAVE_STAT
-DHAVE_WIN32_THREADS
-D_REENTRANT
-D_WINSOCKAPI_
-DLIBXML_STATIC
-D_DLL -D__USE_CRTIMP)
add_library(libxslt SHARED
attributes.c
attrvt.c
documents.c
extensions.c
extra.c
functions.c
imports.c
keys.c
namespaces.c
numbers.c
pattern.c
preproc.c
security.c
templates.c
transform.c
variables.c
xslt.c
xsltlocale.c
xsltutils.c)
set_entrypoint(libxslt 0)
target_link_libraries(libxslt libxml2)
add_importlibs(libxslt msvcrt ws2_32 kernel32)
if(MSVC)
add_importlibs(libxslt ntdll)
endif()
add_dependencies(libxslt psdk)
add_cab_target(libxslt 1)