shithub: lwext4

ref: f5be9f5ec391ee19a442c5db5f1ebb6660ce685d
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)

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