[CMAKE]
[reactos.git] / reactos / lib / 3rdparty / fullfat / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fullfat)
3 add_definitions(-D__NTDRIVER__)
4
5 list(APPEND SOURCE
6 ff_blk.c
7 ff_crc.c
8 ff_dir.c
9 ff_error.c
10 ff_fat.c
11 ff_file.c
12 ff_hash.c
13 ff_ioman.c
14 ff_memory.c
15 ff_safety.c
16 ff_string.c
17 ff_time.c)
18
19 add_library(fullfat ${SOURCE})
20 add_dependencies(fullfat bugcodes xdk)
21
22 if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
23 add_target_compile_flags(fullfat "-Wno-unused-but-set-variable")
24 endif()