2013-09-30 13:32:32 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2013-09-30 13:32:32 +00:00
|
|
|
spec2def(mmdevapi.dll mmdevapi.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
audiovolume.c
|
|
|
|
devenum.c
|
|
|
|
main.c
|
2018-03-17 12:23:10 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmdevapi_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mmdevapi MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2013-12-25 15:19:53 +00:00
|
|
|
guid.c
|
2014-02-10 12:19:56 +00:00
|
|
|
mmdevapi.rc
|
2013-09-30 13:32:32 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mmdevapi.def)
|
|
|
|
|
|
|
|
set_module_type(mmdevapi win32dll)
|
|
|
|
target_link_libraries(mmdevapi uuid wine)
|
|
|
|
add_importlibs(mmdevapi ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-17 12:23:10 +00:00
|
|
|
add_pch(mmdevapi precomp.h SOURCE)
|
2015-04-08 17:10:40 +00:00
|
|
|
add_dependencies(mmdevapi dxsdk)
|
2013-09-30 13:32:32 +00:00
|
|
|
add_cd_file(TARGET mmdevapi DESTINATION reactos/system32 FOR all)
|