xref: /reactos/dll/win32/fmifs/CMakeLists.txt (revision 8a978a17)
1
2spec2def(fmifs.dll fmifs.spec ADD_IMPORTLIB)
3
4list(APPEND SOURCE
5    chkdsk.c
6    compress.c
7    diskcopy.c
8    extend.c
9    format.c
10    init.c
11    media.c
12    query.c)
13
14list(APPEND PCH_SKIP_SOURCE
15    ${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c)
16
17add_library(fmifs MODULE
18    ${SOURCE}
19    ${PCH_SKIP_SOURCE}
20    fmifs.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
22
23set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
24add_importlibs(fmifs kernel32 ntdll)
25add_pch(fmifs precomp.h "${PCH_SKIP_SOURCE}")
26add_dependencies(fmifs psdk)
27add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)
28