mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 17:21:14 +00:00
fb7355f834
svn path=/branches/ntvdm/; revision=59499
36 lines
726 B
CMake
36 lines
726 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})
|
|
|
|
if(NOT MSVC)
|
|
add_compile_flags("-Wno-unused-but-set-variable")
|
|
endif()
|
|
|
|
allow_warnings(ext2fs)
|
|
target_link_libraries(ext2fs ${PSEH_LIB})
|
|
add_pch(ext2fs inc/ext2fsd.h)
|
|
set_module_type(ext2fs kernelmodedriver)
|
|
add_importlibs(ext2fs ntoskrnl hal)
|
|
add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|