[CMAKE]
[reactos.git] / dll / win32 / fmifs / CMakeLists.txt
1
2 spec2def(fmifs ${CMAKE_CURRENT_SOURCE_DIR}/fmifs.spec ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
3
4 list(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 fmifs.rc)
14
15 add_pch(fmifs ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
16 add_library(fmifs SHARED ${CMAKE_CURRENT_BINARY_DIR}/fmifs_precomp.h.gch ${SOURCE})
17
18 set_entrypoint(fmifs InitializeFmIfs@12)
19
20 target_link_libraries(fmifs ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
21
22 add_importlibs(fmifs kernel32 ntdll)
23 add_dependencies(fmifs fmifs_def psdk buildno_header)
24 add_cab_target(fmifs 1)