1 2 3 4add_library(isapnp SHARED 5 isapnp.c 6 pdo.c 7 fdo.c 8 hardware.c 9 isapnp.rc) 10 11set_target_properties(isapnp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys") 12 13target_link_libraries(isapnp 14 -lntoskrnl 15 -lhal) 16 17add_dependencies(isapnp psdk bugcodes) 18