reactos/dll/win32/shdocvw/CMakeLists.txt
Timo Kreuzer 9cc4f5ceee [CMAKE]
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
2011-01-31 14:20:53 +00:00

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)