1c2c66affSColin Finck 2c2c66affSColin Finckremove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502) 3c2c66affSColin Finckadd_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600) 4c2c66affSColin Finck 5c2c66affSColin Finckadd_definitions(-D__WINESRC__) 6c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7c2c66affSColin Finckspec2def(devenum.dll devenum.spec) 8c2c66affSColin Finck 9c2c66affSColin Fincklist(APPEND SOURCE 10c2c66affSColin Finck createdevenum.c 11c2c66affSColin Finck devenum_main.c 12c2c66affSColin Finck mediacatenum.c 13c2c66affSColin Finck parsedisplayname.c 14dbcbc1cdSAmine Khaldi precomp.h) 15c2c66affSColin Finck 1623373acbSJérôme Gardouadd_library(devenum MODULE 17c2c66affSColin Finck ${SOURCE} 18c2c66affSColin Finck devenum.rc 19c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/devenum.def) 20c2c66affSColin Finck 21c2c66affSColin Finckset_source_files_properties(devenum.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devenum_classes.rgs) 22c2c66affSColin Finckset_module_type(devenum win32dll UNICODE) 23c2c66affSColin Fincktarget_link_libraries(devenum strmiids uuid wine) 24c2c66affSColin Finckadd_delay_importlibs(devenum msvfw32) 25*c1585bb8SAmine Khaldiadd_importlibs(devenum advapi32 advapi32_vista ole32 oleaut32 winmm user32 avicap32 msacm32 dsound msdmo msvcrt kernel32 ntdll) 26*c1585bb8SAmine Khaldiadd_dependencies(devenum wineheaders) 27dbcbc1cdSAmine Khaldiadd_pch(devenum precomp.h SOURCE) 28c2c66affSColin Finckadd_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all) 29