reactos/lib/3rdparty/fullfat/CMakeLists.txt
Amine Khaldi 18a81d5d1e [SHELL-EXPERIMENTS]
* Sync up to trunk head (r64124).

svn path=/branches/shell-experiments/; revision=64126
2014-09-12 19:21:19 +00:00

25 lines
505 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fullfat)
add_definitions(-D__NTDRIVER__)
list(APPEND SOURCE
ff_blk.c
ff_crc.c
ff_dir.c
ff_error.c
ff_fat.c
ff_file.c
ff_hash.c
ff_ioman.c
ff_memory.c
ff_safety.c
ff_string.c
ff_time.c)
add_library(fullfat ${SOURCE})
add_dependencies(fullfat bugcodes)
if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
add_target_compile_flags(fullfat "-Wno-unused-but-set-variable")
endif()