[APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resour...
[reactos.git] / reactos / drivers / storage / classpnp / CMakeLists.txt
1
2 include_directories(../inc)
3 spec2def(classpnp.sys classpnp.spec ADD_IMPORTLIB)
4
5 add_definitions(
6 -DCLASS_GLOBAL_BREAK_ON_LOST_IRPS=0
7 -DCLASS_GLOBAL_SECONDS_TO_WAIT_FOR_SYNCHRONOUS_SRB=100
8 -DCLASS_GLOBAL_USE_DELAYED_RETRY=1
9 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT=0
10 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
11 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512)
12
13 list(APPEND SOURCE
14 autorun.c
15 class.c
16 classwmi.c
17 clntirp.c
18 create.c
19 data.c
20 debug.c
21 dictlib.c
22 lock.c
23 obsolete.c
24 power.c
25 retry.c
26 utils.c
27 xferpkt.c
28 classp.h)
29
30 add_library(classpnp SHARED
31 ${SOURCE}
32 guid.c
33 class.rc
34 ${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
35
36 add_pch(classpnp classp.h SOURCE)
37 target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
38 set_module_type(classpnp kernelmodedriver)
39 add_importlibs(classpnp hal ntoskrnl)
40 add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)