shithub: lwext4

ref: 9668eacad96304fd50a6d5bf8cda00ba915108a0
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)