mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
b7e466a220
Livecd: Add drivers. svn path=/branches/cmake-bringup/; revision=49222
34 lines
No EOL
768 B
CMake
34 lines
No EOL
768 B
CMake
include_directories(inc)
|
|
|
|
list(APPEND SOURCE
|
|
src/volinfo.c
|
|
src/create.c
|
|
src/write.c
|
|
src/metadata.c
|
|
src/fastio.c
|
|
src/dircntrl.c
|
|
src/DiskIO.c
|
|
src/fsctrl.c
|
|
src/devcntrl.c
|
|
src/flush.c
|
|
src/ext2init.c
|
|
src/io.c
|
|
src/close.c
|
|
src/fileinfo.c
|
|
src/read.c
|
|
src/cleanup.c
|
|
src/misc.c
|
|
src/shutdown.c)
|
|
|
|
add_library(ext2fs SHARED ${SOURCE})
|
|
|
|
set_target_properties(ext2fs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
|
|
target_link_libraries(ext2fs
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(ext2fs psdk bugcodes)
|
|
add_minicd_target(ext2fs reactos ext2.sys)
|
|
add_livecd_target(ext2fs reactos/system32/drivers ext2.sys) |