2021-07-17 13:08:43 +03:00
|
|
|
set(UTILITIES nfs-cat nfs-ls)
|
2017-09-30 00:07:22 +03:00
|
|
|
|
|
|
|
if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
|
2021-07-17 13:08:43 +03:00
|
|
|
list(APPEND UTILITIES nfs-cp nfs-stat)
|
2017-09-30 00:07:22 +03:00
|
|
|
endif()
|
|
|
|
|
2019-09-12 23:07:35 +03:00
|
|
|
foreach(TARGET ${UTILITIES})
|
2017-09-30 00:07:22 +03:00
|
|
|
add_executable(${TARGET} ${TARGET}.c)
|
2019-10-11 21:29:52 +03:00
|
|
|
target_link_libraries(${TARGET} nfs nfs_mount)
|
2017-09-30 00:07:22 +03:00
|
|
|
endforeach()
|