mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 01:31:34 +00:00
fd5ef6b1c1
- 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
54 lines
935 B
CMake
54 lines
935 B
CMake
|
|
ADD_TYPELIB(shdocvw_v1 shdocvw_v1.idl)
|
|
add_dependencies(shdocvw_v1 stdole2)
|
|
|
|
add_definitions(-D_SHDOCVW_)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(shdocvw ${CMAKE_CURRENT_SOURCE_DIR}/shdocvw.spec ${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
|
|
|
|
add_library(shdocvw SHARED
|
|
classinfo.c
|
|
client.c
|
|
dochost.c
|
|
events.c
|
|
factory.c
|
|
frame.c
|
|
ie.c
|
|
iexplore.c
|
|
intshcut.c
|
|
navigate.c
|
|
oleobject.c
|
|
persist.c
|
|
shdocvw_main.c
|
|
shlinstobj.c
|
|
taskbarlist.c
|
|
urlhist.c
|
|
view.c
|
|
webbrowser.c
|
|
shdocvw.rc)
|
|
|
|
set_module_type(shdocvw win32dll)
|
|
|
|
target_link_libraries(shdocvw
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(shdocvw
|
|
ole32
|
|
oleaut32
|
|
shlwapi
|
|
shell32
|
|
user32
|
|
advapi32
|
|
gdi32
|
|
version
|
|
urlmon
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(shdocvw shdocvw_v1 shdocvw_def)
|
|
add_cab_target(shdocvw 1)
|