reactos/dll/win32/msxml3/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

80 lines
1.3 KiB
CMake

ADD_TYPELIB(msxml3_v1 msxml3_v1.idl)
add_dependencies(msxml3_v1 stdole2)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x601)
add_definitions(
-D__WINESRC__
-D_WINE
-DLIBXML_STATIC
-D_DLL
-D__USE_CRTIMP)
if(MSVC)
add_definitions(/FIwine/typeof.h)
endif(MSVC)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(msxml3 ${CMAKE_CURRENT_SOURCE_DIR}/msxml3.spec ${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
add_library(msxml3 SHARED
attribute.c
comment.c
domdoc.c
element.c
factory.c
main.c
httprequest.c
node.c
nodelist.c
nodemap.c
parseerror.c
pi.c
queryresult.c
regsvr.c
schema.c
text.c
uuid.c
xmldoc.c
xmlelem.c
saxreader.c
bsc.c
cdata.c
dispex.c
docfrag.c
domimpl.c
entityref.c
version.rc)
set_module_type(msxml3 win32dll)
target_link_libraries(msxml3
${CMAKE_CURRENT_BINARY_DIR}/msxml3.def
libxml2
uuid
wine
wineldr)
add_importlibs(msxml3
msvcrt
urlmon
wininet
ws2_32
comctl32
shell32
shlwapi
cabinet
oleaut32
ole32
version
user32
gdi32
advapi32
kernel32
ntdll)
add_dependencies(msxml3 msxml3_v1 msxml3_def)
add_cab_target(msxml3 1)