mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
a04d7c300e
This commit reverts dll/directx/wine/* and sdk/include/reactos/wine/wined3d.h to the state of 0.4.8rls. The current state of Ddraw without this revert is totally broken, so we need this interim solution. I will happily replace it with a proper fix if someone finds one until release.
29 lines
952 B
CMake
29 lines
952 B
CMake
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(devenum.dll devenum.spec)
|
|
|
|
list(APPEND SOURCE
|
|
createdevenum.c
|
|
devenum_main.c
|
|
factory.c
|
|
mediacatenum.c
|
|
parsedisplayname.c
|
|
devenum_private.h)
|
|
|
|
add_library(devenum SHARED
|
|
${SOURCE}
|
|
devenum.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
|
|
|
set_source_files_properties(devenum.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devenum_classes.rgs)
|
|
set_module_type(devenum win32dll UNICODE)
|
|
target_link_libraries(devenum strmiids uuid wine)
|
|
add_delay_importlibs(devenum msvfw32)
|
|
add_importlibs(devenum advapi32 advapi32_vista ole32 oleaut32 winmm user32 avicap32 msacm32 msvcrt kernel32 ntdll)
|
|
add_pch(devenum devenum_private.h SOURCE)
|
|
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|