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