reactos/dll/win32/avifil32/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

43 lines
865 B
CMake

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