3731a32c6f08107f440a360fb8b2f0fb4126cb3f
[reactos.git] / dll / directx / ksproxy / CMakeLists.txt
1
2 spec2def(ksproxy ${CMAKE_CURRENT_SOURCE_DIR}/ksproxy.spec ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
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
24 set_entrypoint(ksproxy 0)
25 set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
26 if(MSVC)
27 set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "/GR-")
28 else()
29 set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
30 endif(MSVC)
31
32
33 target_link_libraries(ksproxy ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def strmiids)
34
35 add_importlibs(ksproxy
36 advapi32
37 ole32
38 setupapi
39 msvcrt
40 ksuser
41 ntdll)
42
43 add_dependencies(ksproxy ksproxy_def psdk buildno_header)