mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
35 lines
726 B
CMake
35 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)
|