2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(devenum.dll devenum.spec)
|
|
|
|
|
|
|
|
add_library(devenum SHARED
|
|
|
|
createdevenum.c
|
|
|
|
devenum_main.c
|
|
|
|
factory.c
|
|
|
|
mediacatenum.c
|
|
|
|
parsedisplayname.c
|
|
|
|
devenum.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(devenum win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
target_link_libraries(devenum
|
|
|
|
strmiids
|
|
|
|
uuid
|
|
|
|
wine)
|
|
|
|
|
|
|
|
add_importlibs(devenum
|
|
|
|
advapi32
|
|
|
|
ole32
|
|
|
|
oleaut32
|
|
|
|
winmm
|
|
|
|
user32
|
|
|
|
avicap32
|
|
|
|
msvcrt
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2011-07-28 15:06:24 +00:00
|
|
|
add_pch(devenum devenum_private.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|