File: CMakeLists.txt

package info (click to toggle)
libnfs 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,648 kB
  • sloc: ansic: 39,600; sh: 1,654; makefile: 315; xml: 178
file content (10 lines) | stat: -rw-r--r-- 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
set(UTILITIES nfs-cat nfs-ls)

if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
  list(APPEND UTILITIES nfs-cp nfs-stat)
endif()

foreach(TARGET ${UTILITIES})
  add_executable(${TARGET} ${TARGET}.c)
  target_link_libraries(${TARGET} nfs nfs_mount)
endforeach()