reactos/dll/win32/fmifs/CMakeLists.txt

25 lines
559 B
CMake

spec2def(fmifs.dll fmifs.spec ADD_IMPORTLIB)
list(APPEND SOURCE
chkdsk.c
compress.c
diskcopy.c
extend.c
format.c
init.c
media.c
query.c
precomp.h)
add_library(fmifs SHARED
${SOURCE}
fmifs.rc
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
add_importlibs(fmifs kernel32 ntdll)
add_pch(fmifs precomp.h SOURCE)
add_dependencies(fmifs psdk)
add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)