mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
eef22cc036
- In advapi32_vista compile the code from advapi32/reg/reg.c - Export RegCopyTreeW from advapi32_vista
23 lines
757 B
CMake
23 lines
757 B
CMake
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
|
|
|
|
add_definitions(-D_ADVAPI32_ -D_ADVAPI32_VISTA_)
|
|
spec2def(advapi32_vista.dll advapi32_vista.spec ADD_IMPORTLIB)
|
|
|
|
include_directories(
|
|
../advapi32
|
|
${CMAKE_CURRENT_BINARY_DIR}/../advapi32
|
|
)
|
|
|
|
list(APPEND SOURCE
|
|
DllMain.c
|
|
../advapi32/reg/reg.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/advapi32_vista.def)
|
|
|
|
add_library(advapi32_vista MODULE ${SOURCE})
|
|
set_module_type(advapi32_vista win32dll ENTRYPOINT DllMain 12)
|
|
target_link_libraries(advapi32_vista wine ${PSEH_LIB})
|
|
add_importlibs(advapi32_vista advapi32 kernel32 ntdll)
|
|
add_dependencies(advapi32_vista psdk advapi32)
|
|
add_cd_file(TARGET advapi32_vista DESTINATION reactos/system32 FOR all)
|