- Update to r53061
[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
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(devenum.dll devenum.spec)
10
11 add_library(devenum SHARED
12 createdevenum.c
13 devenum_main.c
14 factory.c
15 mediacatenum.c
16 parsedisplayname.c
17 devenum.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
19
20 set_module_type(devenum win32dll)
21
22 target_link_libraries(devenum
23 strmiids
24 uuid
25 wine)
26
27 add_importlibs(devenum
28 advapi32
29 ole32
30 oleaut32
31 winmm
32 user32
33 avicap32
34 msvcrt
35 kernel32
36 ntdll)
37
38 add_pch(devenum devenum_private.h)
39 add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)