[CMAKE]
[reactos.git] / drivers / storage / class / cdrom / CMakeLists.txt
1
2
3
4 include_directories(..)
5
6 add_library(cdrom SHARED cdrom.c findscsi.c cdrom.rc)
7
8 set_target_properties(cdrom 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(cdrom
11 -lclass2
12 -lscsiport
13 -lntoskrnl
14 -lhal)
15
16 add_dependencies(cdrom psdk bugcodes)
17 add_minicd_target(cdrom reactos cdrom.sys)
18 add_livecd_target(cdrom reactos/system32/drivers)