[CMAKE]
[reactos.git] / dll / directx / ksproxy / CMakeLists.txt
1
2 spec2def(ksproxy.ax ksproxy.spec)
3
4 add_library(ksproxy SHARED
5 allocator.cpp
6 basicaudio.cpp
7 classfactory.cpp
8 clockforward.cpp
9 cvpconfig.cpp
10 cvpvbiconfig.cpp
11 datatype.cpp
12 enum_mediatypes.cpp
13 enumpins.cpp
14 input_pin.cpp
15 interface.cpp
16 ksproxy.cpp
17 ksproxy.rc
18 mediasample.cpp
19 node.cpp
20 output_pin.cpp
21 proxy.cpp
22 qualityforward.cpp
23 ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
24
25 set_entrypoint(ksproxy 0)
26 set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
27 if(MSVC)
28 set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "/GR-")
29 else()
30 set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
31 endif(MSVC)
32
33
34 target_link_libraries(ksproxy strmiids)
35
36 add_importlibs(ksproxy
37 advapi32
38 ole32
39 setupapi
40 msvcrt
41 ksuser
42 ntdll)
43
44 add_dependencies(ksproxy psdk buildno_header)