shithub: lwext4

ref: 5dfdaf27ae4bdfab84d4853612b21e460fbd1c75
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)