2 include_directories(../inc)
5 -DCLASS_GLOBAL_BREAK_ON_LOST_IRPS=0
6 -DCLASS_GLOBAL_SECONDS_TO_WAIT_FOR_SYNCHRONOUS_SRB=100
7 -DCLASS_GLOBAL_USE_DELAYED_RETRY=1
8 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT=0
9 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
10 -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512)
12 spec2def(classpnp.sys classpnp.spec ADD_IMPORTLIB)
29 ${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
31 add_library(classpnp SHARED
35 if(ARCH STREQUAL "i386")
36 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
38 #add_target_compile_flags(classpnp "/Gz")
39 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/Gz")
41 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-w")
45 add_pch(classpnp classp.h)
46 target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
47 set_module_type(classpnp kernelmodedriver)
48 add_importlibs(classpnp hal ntoskrnl)
50 add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)