[CMAKE]
[reactos.git] / drivers / storage / ide / atapi / CMakeLists.txt
index 8a7f781..73c2c8a 100644 (file)
@@ -1,14 +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_minicd_target(atapi reactos atapi.sys)
-add_livecd_target(atapi reactos/system32/drivers)
\ No newline at end of file
+add_cd_file(TARGET atapi DESTINATION reactos/system32/drivers NO_CAB FOR all)