1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
3
4list(APPEND SOURCE
5    allocsup.c
6    cachesup.c
7    cddata.c
8    cdinit.c
9    cdprocssrc.c
10    cleanup.c
11    close.c
12    create.c
13    devctrl.c
14    deviosup.c
15    dirctrl.c
16    dirsup.c
17    fileinfo.c
18    filobsup.c
19    fsctrl.c
20    fspdisp.c
21    lockctrl.c
22    namesup.c
23    pathsup.c
24    pnp.c
25    prefxsup.c
26    read.c
27    resrcsup.c
28    shutdown.c
29    strucsup.c
30    verfysup.c
31    volinfo.c
32    workque.c
33    write.c)
34
35add_library(cdfs MODULE ${SOURCE} cdfs.rc)
36set_module_type(cdfs kernelmodedriver)
37target_link_libraries(cdfs ${PSEH_LIB} memcmp)
38add_importlibs(cdfs ntoskrnl hal)
39set_property(TARGET cdfs PROPERTY C_STANDARD 90)
40add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
41add_registry_inf(cdfs_reg.inf)
42