[CMAKE]
[reactos.git] / drivers / ksfilter / ks / CMakeLists.txt
1
2 add_definitions(-DBUILDING_KS)
3 add_definitions(-D_COMDDK_)
4
5 add_library(ks SHARED
6 api.c
7 allocators.c
8 bag.c
9 device.c
10 deviceinterface.c
11 driver.c
12 clocks.c
13 connectivity.c
14 event.c
15 filter.c
16 filterfactory.c
17 image.c
18 irp.c
19 methods.c
20 misc.c
21 pin.c
22 property.c
23 topology.c
24 unknown.c
25 worker.c
26 kcom.c
27 ks.rc)
28
29 set_target_properties(ks PROPERTIES SUFFIX ".sys")
30 set_entrypoint(ks 0)
31 set_subsystem(ks native)
32 set_image_base(ks 0x00010000)
33
34 target_link_libraries(ks
35 ${CMAKE_CURRENT_SOURCE_DIR}/ks.def
36 pseh)
37
38 add_importlibs(ks ntoskrnl hal msvcrt)
39 add_dependencies(ks psdk bugcodes)