1 2 3 4 5 6 7 8 9 10 11 12
add_library(FatFs STATIC ff.c ffunicode.c diskio.h ff.h ffconf.h ) target_include_directories(FatFs PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} )