CMakeLists.txt (275B)
1 add_executable(tee tee.c) 2 3 # tee has to be in the same directory as the nvim executable 4 set_target_properties(tee PROPERTIES 5 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" 6 ) 7 8 if(WIN32) 9 install(TARGETS tee 10 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" 11 ) 12 endif()