[CMAKE]
[reactos.git] / drivers / filesystems / fastfat / CMakeLists.txt
1
2
3
4 list(APPEND SOURCE
5 blockdev.c
6 cleanup.c
7 close.c
8 create.c
9 dir.c
10 direntry.c
11 dirwr.c
12 ea.c
13 fat.c
14 fastio.c
15 fcb.c
16 finfo.c
17 flush.c
18 fsctl.c
19 iface.c
20 misc.c
21 rw.c
22 shutdown.c
23 string.c
24 volume.c
25 vfatfs.rc)
26
27 add_library(fastfat SHARED ${CMAKE_CURRENT_BINARY_DIR}/fastfat_vfat.h.gch ${SOURCE})
28
29 set_target_properties(fastfat PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
30
31 target_link_libraries(fastfat
32 -lntoskrnl
33 -lhal)
34
35 add_pch(fastfat ${CMAKE_CURRENT_SOURCE_DIR}/vfat.h ${SOURCE})
36 add_dependencies(fastfat psdk bugcodes)