2023-01-01 19:49:48 +00:00
|
|
|
add_executable(${TR_NAME}-cli)
|
2014-12-01 19:55:22 +00:00
|
|
|
|
2023-01-01 19:49:48 +00:00
|
|
|
target_sources(${TR_NAME}-cli
|
|
|
|
PRIVATE
|
|
|
|
cli.cc)
|
2014-12-01 19:55:22 +00:00
|
|
|
|
2023-01-01 19:49:48 +00:00
|
|
|
target_link_libraries(${TR_NAME}-cli
|
|
|
|
PRIVATE
|
2023-01-02 16:23:51 +00:00
|
|
|
${TR_NAME}
|
|
|
|
fmt::fmt-header-only)
|
2023-01-01 19:49:48 +00:00
|
|
|
|
|
|
|
tr_win32_app_info(${TR_NAME}-cli
|
2015-04-14 22:46:40 +00:00
|
|
|
"Transmission Utility ('cli', obsolete)"
|
|
|
|
"${TR_NAME}-cli"
|
|
|
|
"${TR_NAME}-cli.exe")
|
|
|
|
|
2023-01-01 19:49:48 +00:00
|
|
|
install(
|
|
|
|
TARGETS ${TR_NAME}-cli
|
|
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
2014-12-01 19:55:22 +00:00
|
|
|
|
|
|
|
if(INSTALL_DOC)
|
2023-01-01 19:49:48 +00:00
|
|
|
install(
|
|
|
|
FILES ${TR_NAME}-cli.1
|
|
|
|
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
2014-12-01 19:55:22 +00:00
|
|
|
endif()
|