mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 02:35:42 +00:00
9cc4f5ceee
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation. svn path=/branches/cmake-bringup/; revision=50574
57 lines
988 B
CMake
57 lines
988 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.dll shdocvw.spec)
|
|
|
|
list(APPEND SOURCE
|
|
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
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
|
|
|
|
add_library(shdocvw SHARED ${SOURCE})
|
|
|
|
set_module_type(shdocvw win32dll)
|
|
|
|
target_link_libraries(shdocvw uuid wine)
|
|
|
|
add_importlibs(shdocvw
|
|
comctl32
|
|
ole32
|
|
oleaut32
|
|
shlwapi
|
|
shell32
|
|
user32
|
|
advapi32
|
|
gdi32
|
|
version
|
|
urlmon
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(shdocvw shdocvw_v1)
|
|
add_cab_target(shdocvw 1)
|
|
add_importlib_target(shdocvw.spec)
|