2011-05-16 13:12:07 +00:00
|
|
|
|
2015-11-24 10:48:09 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
|
|
|
|
|
2013-10-01 22:07:54 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(devenum.dll devenum.spec)
|
|
|
|
|
2013-10-01 22:07:54 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
createdevenum.c
|
|
|
|
devenum_main.c
|
|
|
|
mediacatenum.c
|
|
|
|
parsedisplayname.c
|
2018-03-08 12:30:52 +00:00
|
|
|
precomp.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(devenum MODULE
|
2014-02-09 23:29:31 +00:00
|
|
|
${SOURCE}
|
|
|
|
devenum.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
|
|
|
|
2013-10-01 22:07:54 +00:00
|
|
|
set_source_files_properties(devenum.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devenum_classes.rgs)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(devenum win32dll UNICODE)
|
2013-05-19 13:43:47 +00:00
|
|
|
target_link_libraries(devenum strmiids uuid wine)
|
2014-04-19 19:30:15 +00:00
|
|
|
add_delay_importlibs(devenum msvfw32)
|
2019-10-20 17:56:05 +00:00
|
|
|
add_importlibs(devenum advapi32 advapi32_vista ole32 oleaut32 winmm user32 avicap32 msacm32 dsound msdmo msvcrt kernel32 ntdll)
|
|
|
|
add_dependencies(devenum wineheaders)
|
2018-03-08 12:30:52 +00:00
|
|
|
add_pch(devenum precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|