2010-09-04 13:36:49 +00:00
|
|
|
|
2010-09-18 15:22:08 +00:00
|
|
|
|
2010-09-04 13:36:49 +00:00
|
|
|
|
|
|
|
include_directories(..)
|
|
|
|
|
|
|
|
add_library(disk SHARED disk.c disk.rc)
|
|
|
|
|
|
|
|
set_target_properties(disk PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
|
|
|
|
target_link_libraries(disk
|
2010-09-17 20:27:01 +00:00
|
|
|
-lclass2
|
|
|
|
-lscsiport
|
|
|
|
-lntoskrnl
|
|
|
|
-lhal)
|
2010-09-04 13:36:49 +00:00
|
|
|
|
|
|
|
add_dependencies(disk psdk bugcodes)
|
2010-10-22 13:46:11 +00:00
|
|
|
add_minicd_target(disk reactos disk.sys)
|
|
|
|
add_livecd_target(disk reactos/system32/drivers)
|