Files
tdesktop/Telegram/cmake/lib_stripe.cmake
allhaileris afb81b8278
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
init
2026-02-16 15:50:16 +03:00

61 lines
1.7 KiB
CMake

# This file is part of Telegram Desktop,
# the official desktop application for the Telegram messaging service.
#
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_library(lib_stripe OBJECT)
add_library(desktop-app::lib_stripe ALIAS lib_stripe)
init_target(lib_stripe)
set(stripe_src_loc ${src_loc}/payments)
target_precompile_headers(lib_stripe PRIVATE ${stripe_src_loc}/stripe/stripe_pch.h)
nice_target_sources(lib_stripe ${stripe_src_loc}
PRIVATE
stripe/stripe_address.h
stripe/stripe_api_client.cpp
stripe/stripe_api_client.h
stripe/stripe_callbacks.h
stripe/stripe_card.cpp
stripe/stripe_card.h
stripe/stripe_card_params.cpp
stripe/stripe_card_params.h
stripe/stripe_card_validator.cpp
stripe/stripe_card_validator.h
stripe/stripe_decode.cpp
stripe/stripe_decode.h
stripe/stripe_error.cpp
stripe/stripe_error.h
stripe/stripe_form_encodable.h
stripe/stripe_form_encoder.cpp
stripe/stripe_form_encoder.h
stripe/stripe_payment_configuration.h
stripe/stripe_token.cpp
stripe/stripe_token.h
smartglocal/smartglocal_api_client.cpp
smartglocal/smartglocal_api_client.h
smartglocal/smartglocal_callbacks.h
smartglocal/smartglocal_card.cpp
smartglocal/smartglocal_card.h
smartglocal/smartglocal_error.cpp
smartglocal/smartglocal_error.h
smartglocal/smartglocal_token.cpp
smartglocal/smartglocal_token.h
stripe/stripe_pch.h
)
target_include_directories(lib_stripe
PUBLIC
${stripe_src_loc}
)
target_link_libraries(lib_stripe
PUBLIC
desktop-app::lib_base
desktop-app::lib_crl
desktop-app::external_qt
)