d81456d92d797c85d298cf0dbec064c935289d15
[reactos.git] / dll / directx / qedit / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x600)
7 add_definitions(-D_DLL -D__USE_CRTIMP)
8 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
9
10 spec2def(qedit ${CMAKE_CURRENT_SOURCE_DIR}/qedit.spec ${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
11
12 add_library(qedit SHARED
13 main.c
14 mediadet.c
15 regsvr.c
16 samplegrabber.c)
17
18 set_module_type(qedit win32dll)
19
20 target_link_libraries(qedit
21 ${CMAKE_CURRENT_BINARY_DIR}/qedit.def
22 strmiids
23 uuid
24 wine)
25
26 add_importlibs(qedit
27 msvcrt
28 advapi32
29 ole32
30 oleaut32
31 kernel32
32 ntdll)
33
34 add_dependencies(qedit qedit_def dxsdk)
35 add_cab_target(qedit 1)