mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
* refactor: add libtransmission-app * refactor: add libtransmission-app/display-modes.h * refactor: use app::SortMode, app:ShowMode in Qt client * feat: add to_variant(), to_value() in serializer * refactor: use app::SortMode in GTK client * refactor: use app::ShowMode in GTK client * refactor: make naming consistent with libtransmission-app
26 lines
528 B
CMake
26 lines
528 B
CMake
include(CheckLibraryExists)
|
|
include(CheckSymbolExists)
|
|
|
|
set(LIBNAME ${TR_NAME}-app)
|
|
|
|
add_library(${LIBNAME} STATIC)
|
|
add_library(transmission::app ALIAS ${LIBNAME})
|
|
|
|
target_sources(${LIBNAME}
|
|
PRIVATE
|
|
app.cc
|
|
app.h
|
|
converters.cc
|
|
converters.h
|
|
display-modes.h
|
|
favicon-cache.h)
|
|
|
|
target_include_directories(${LIBNAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
|
|
target_link_libraries(${LIBNAME}
|
|
PUBLIC
|
|
fmt::fmt-header-only)
|