shithub: lwext4

ref: 76109834c47842299cadf371c4906bdabe8ccd8c
dir: /fs_test/CMakeLists.txt/

View raw version
#fs_test executables
add_executable(lwext4_server lwext4_server.c)
target_link_libraries(lwext4_server lwext4)
target_link_libraries(lwext4_server blockdev)
if(WIN32)
target_link_libraries(lwext4_server ws2_32)
endif(WIN32)
add_executable(lwext4_client lwext4_client.c)
target_link_libraries(lwext4_client lwext4)
if(WIN32)
target_link_libraries(lwext4_client ws2_32)
endif(WIN32)

aux_source_directory(common COMMON_SRC)
add_executable(lwext4_generic lwext4_generic.c ${COMMON_SRC})
target_link_libraries(lwext4_generic blockdev)
target_link_libraries(lwext4_generic lwext4)

add_executable(lwext4_mkfs lwext4_mkfs.c)
target_link_libraries(lwext4_mkfs blockdev)
target_link_libraries(lwext4_mkfs lwext4)