reactos/drivers/storage/class/cdrom/CMakeLists.txt
Sylvain Petreolle c702cc0d5a [CMAKE]
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances.
Thanks to Amine for regexxer tool discovery ;)


svn path=/branches/cmake-bringup/; revision=48804
2010-09-18 15:22:08 +00:00

16 lines
375 B
CMake

include_directories(..)
add_library(cdrom SHARED cdrom.c findscsi.c cdrom.rc)
set_target_properties(cdrom PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(cdrom
-lclass2
-lscsiport
-lntoskrnl
-lhal)
add_dependencies(cdrom psdk bugcodes)