mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

CExplorerBand should be
implemented in shdocvw.dll.
894ad4f17d/modules/rostests/apitests/com/shdocvw.c (L37)
JIRA issue: CORE-19698
- Move CExplorerBand code
from browseui to shdocvw.
- Delete IDS_FOLDERSLABEL
resource string from browseui.
- Add IDS_FOLDERSLABEL
resource string to shdocvw.
- Adapt code to these changes.
- Add sdk/include/reactos/
shdocvw_undoc.h.
- Implement IEILIsEqual function.
43 lines
1.3 KiB
CMake
43 lines
1.3 KiB
CMake
|
|
add_definitions(
|
|
-D_SHDOCVW_)
|
|
|
|
spec2def(shdocvw.dll shdocvw.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
shdocvw_main.c
|
|
shlinstobj.c
|
|
precomp.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c)
|
|
|
|
add_typelib(res/shdocvw_v1.idl)
|
|
set_source_files_properties(shdocvw.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shdocvw_v1.tlb)
|
|
|
|
add_library(shdocvw MODULE
|
|
${SOURCE}
|
|
shdocvw.rc
|
|
$<TARGET_OBJECTS:shdocvw_sublib>
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
|
|
|
|
target_include_directories(shdocvw BEFORE PRIVATE
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
)
|
|
|
|
set_module_type(shdocvw win32dll UNICODE)
|
|
target_link_libraries(shdocvw uuid wine)
|
|
add_delay_importlibs(shdocvw shell32 user32 gdi32 ole32 oleaut32 ieframe)
|
|
add_importlibs(shdocvw shlwapi advapi32 msvcrt comctl32 kernel32 ntdll)
|
|
add_dependencies(shdocvw stdole2)
|
|
add_pch(shdocvw precomp.h SOURCE)
|
|
add_cd_file(TARGET shdocvw DESTINATION reactos/system32 FOR all)
|
|
|
|
add_library(shdocvw_sublib OBJECT
|
|
CExplorerBand.cpp
|
|
CFavBand.cpp
|
|
mrulist.cpp
|
|
objects.cpp
|
|
utility.cpp)
|
|
target_link_libraries(shdocvw_sublib PRIVATE atl_classes)
|
|
target_compile_definitions(shdocvw_sublib PRIVATE $<TARGET_PROPERTY:shdocvw,COMPILE_DEFINITIONS>)
|
|
target_compile_options(shdocvw_sublib PRIVATE $<TARGET_PROPERTY:shdocvw,COMPILE_OPTIONS>)
|
|
add_dependencies(shdocvw_sublib psdk)
|