xref: /reactos/dll/win32/fmifs/CMakeLists.txt (revision c2c66aff)
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    precomp.h)
14
15add_library(fmifs SHARED
16    ${SOURCE}
17    fmifs.rc
18    ${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
19    ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
20
21set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
22add_importlibs(fmifs kernel32 ntdll)
23add_pch(fmifs precomp.h SOURCE)
24add_dependencies(fmifs psdk)
25add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)
26