[CMAKE]
[reactos.git] / drivers / storage / class / disk / CMakeLists.txt
1
2
3
4 include_directories(..)
5
6 add_library(disk SHARED disk.c disk.rc)
7
8 set_target_properties(disk PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
9
10 target_link_libraries(disk
11 -lclass2
12 -lscsiport
13 -lntoskrnl
14 -lhal)
15
16 add_dependencies(disk psdk bugcodes)
17 add_minicd_target(disk reactos disk.sys)
18 add_livecd_target(disk reactos/system32/drivers)