mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +00:00
[CMAKE]
- Improve more drivers. svn path=/branches/cmake-bringup/; revision=49469
This commit is contained in:
parent
bbecbe25fc
commit
a7fe68d16b
31 changed files with 107 additions and 176 deletions
|
@ -1,6 +1,4 @@
|
|||
|
||||
|
||||
|
||||
list(APPEND SOURCE
|
||||
blockdev.c
|
||||
cleanup.c
|
||||
|
@ -27,13 +25,10 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(fastfat SHARED ${CMAKE_CURRENT_BINARY_DIR}/fastfat_vfat.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(fastfat PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(fastfat
|
||||
-lntoskrnl
|
||||
-lhal)
|
||||
set_module_type(fastfat kernelmodedriver)
|
||||
add_importlibs(fastfat ntoskrnl hal)
|
||||
|
||||
add_pch(fastfat ${CMAKE_CURRENT_SOURCE_DIR}/vfat.h ${SOURCE})
|
||||
add_dependencies(fastfat psdk bugcodes)
|
||||
|
||||
add_minicd_target(fastfat reactos fastfat.sys)
|
||||
add_livecd_target(fastfat reactos/system32/drivers)
|
||||
add_livecd_target(fastfat reactos/system32/drivers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue