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