mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
57e6b06921
* Use imported CMake target for CURL * Use imported CMake target for fmtlib * Use imported CMake target for WideInteger * Use imported CMake target for FastFloat * Use imported CMake target for UtfCpp * Use imported CMake target for Threads * Use imported CMake target for Iconv * Use imported CMake target for crypto backend * Use imported CMake target for GTK * Use imported CMake target for Qt * Use imported CMake target for deflate * Use imported CMake target for libevent * Use imported CMake target for natpmp * Use imported CMake target for miniupnpc * Use imported CMake target for dht * Use imported CMake target for psl * Use imported CMake target for libutp * Use imported CMake target for libb64 * Use include directories from libtransmission target
25 lines
512 B
CMake
25 lines
512 B
CMake
add_executable(${TR_NAME}-cli)
|
|
|
|
target_sources(${TR_NAME}-cli
|
|
PRIVATE
|
|
cli.cc)
|
|
|
|
target_link_libraries(${TR_NAME}-cli
|
|
PRIVATE
|
|
${TR_NAME}
|
|
fmt::fmt-header-only)
|
|
|
|
tr_win32_app_info(${TR_NAME}-cli
|
|
"Transmission Utility ('cli', obsolete)"
|
|
"${TR_NAME}-cli"
|
|
"${TR_NAME}-cli.exe")
|
|
|
|
install(
|
|
TARGETS ${TR_NAME}-cli
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
if(INSTALL_DOC)
|
|
install(
|
|
FILES ${TR_NAME}-cli.1
|
|
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
|
endif()
|