reactos/drivers/storage/ide/pciidex/CMakeLists.txt
Amine Khaldi 72864bcd6c [CMAKE]
- Add ksuser, npfs, ntfs, ks, parallel, serenum, serial, pciide, pciidex, usbdriver, usbd, framebuf, framebuf_new and portcls to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48951
2010-10-01 00:15:10 +00:00

18 lines
513 B
CMake

spec2def(pciidex ${CMAKE_CURRENT_SOURCE_DIR}/pciidex.spec ${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
add_library(pciidex SHARED
fdo.c
miniport.c
misc.c
pciidex.c
pdo.c
pciidex.rc)
set_target_properties(pciidex PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(pciidex
${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
add_importlibs(pciidex ntoskrnl)
add_dependencies(pciidex pciidex_def psdk bugcodes)