[CMAKE]
[reactos.git] / drivers / bus / isapnp / CMakeLists.txt
index a9e4e08..509ba18 100644 (file)
@@ -1,6 +1,4 @@
 
-
-
 add_library(isapnp SHARED
     isapnp.c
     pdo.c
@@ -8,10 +6,8 @@ add_library(isapnp SHARED
     hardware.c
     isapnp.rc)
 
-set_target_properties(isapnp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
-
-target_link_libraries(isapnp
-    -lntoskrnl
-    -lhal)
+set_module_type(isapnp kernelmodedriver)
+add_importlibs(isapnp ntoskrnl hal)
 
-add_dependencies(isapnp psdk bugcodes)
+add_minicd_target(isapnp reactos isapnp.sys)
+add_livecd_target(isapnp reactos/system32/drivers)