reactos/dll/win32/avifil32/CMakeLists.txt
2013-06-16 22:01:41 +00:00

26 lines
696 B
CMake

remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
add_library(avifil32 SHARED
acmstream.c
api.c
avifile.c
editstream.c
extrachunk.c
factory.c
getframe.c
icmstream.c
tmpfile.c
wavfile.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
set_module_type(avifil32 win32dll)
target_link_libraries(avifil32 uuid wine)
add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)