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