reactos/dll/win32/avrt/CMakeLists.txt
Joe Mason d234dc2d52
[AVRT] Import Audio/Video Runtime module from Wine 9.7 (#6826)
Enhance compatibility with future programs, including browsers.
AVRT is an acronym for "Audio/Video Multimedia Realtime Runtime" and is NT6.
2024-05-07 15:40:27 +03:00

15 lines
459 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
add_definitions(-D__WINESRC__)
spec2def(avrt.dll avrt.spec)
list(APPEND SOURCE
main.c
${CMAKE_CURRENT_BINARY_DIR}/avrt_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/avrt.def)
add_library(avrt MODULE ${SOURCE})
set_module_type(avrt win32dll)
target_link_libraries(avrt wine)
add_importlibs(avrt user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET avrt DESTINATION reactos/system32 FOR all)