4e0a7a1bf175a3d1e40ca832d3f4549a5aabb378
[reactos.git] / dll / directx / devenum / CMakeLists.txt
1
2 set_unicode()
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(devenum ${CMAKE_CURRENT_SOURCE_DIR}/devenum.spec ${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
9
10 add_library(devenum SHARED
11 createdevenum.c
12 devenum_main.c
13 factory.c
14 mediacatenum.c
15 parsedisplayname.c
16 devenum.rc)
17
18 set_module_type(devenum win32dll)
19
20 target_link_libraries(devenum
21 ${CMAKE_CURRENT_BINARY_DIR}/devenum.def
22 strmiids
23 uuid
24 wine)
25
26 add_importlibs(devenum
27 advapi32
28 ole32
29 oleaut32
30 winmm
31 user32
32 avicap32
33 kernel32
34 ntdll)
35
36 add_dependencies(devenum devenum_def)
37 add_cab_target(devenum 1)