[CMAKE]
[reactos.git] / drivers / storage / ide / atapi / CMakeLists.txt
index de8dec7..73c2c8a 100644 (file)
@@ -1,12 +1,9 @@
 
-
-
 add_library(atapi SHARED atapi.c atapi.rc)
 
-set_target_properties(atapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
+target_link_libraries(atapi libcntpr)
 
-target_link_libraries(atapi
-    -lscsiport
-    libcntpr)
+set_module_type(atapi kernelmodedriver)
+add_importlibs(atapi scsiport)
 
-add_dependencies(atapi psdk bugcodes)
+add_cd_file(TARGET atapi DESTINATION reactos/system32/drivers NO_CAB FOR all)