aboutsummaryrefslogtreecommitdiff
path: root/src/tee/CMakeLists.txt
blob: b8a32fe982e6d919c5974f22674787e529378707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
add_executable(tee tee.c)

# tee has to be in the same directory as the nvim executable
set_target_properties(tee PROPERTIES
  RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)

if(WIN32)
  install(TARGETS tee
    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
  )
endif()