ZaStoGram_desktop/Telegram/cmake/test_iv_editor_table_grid.cmake
John Preston 963855d517 Pin editor table-grid spans and limits with headless tests
Task: 2026/11/02/pin-editor-table-grid-spans-and-limits
2026-11-03 14:14:36 +04:00

36 lines
1.1 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_executable(test_iv_editor_table_grid)
init_non_host_target(test_iv_editor_table_grid "(tests)")
target_precompile_headers(test_iv_editor_table_grid PRIVATE ${src_loc}/iv/iv_pch.h)
nice_target_sources(test_iv_editor_table_grid ${src_loc}
PRIVATE
iv/editor/iv_editor_page_table_grid.cpp
iv/editor/iv_editor_page_table_grid.h
tests/test_iv_editor_table_grid.cpp
)
target_include_directories(test_iv_editor_table_grid
PRIVATE
${src_loc}
${CMAKE_CURRENT_BINARY_DIR}/gen
)
add_dependencies(test_iv_editor_table_grid td_scheme_scheme)
target_link_libraries(test_iv_editor_table_grid
PRIVATE
desktop-app::lib_webview
desktop-app::lib_tl
)
set_target_properties(test_iv_editor_table_grid PROPERTIES
EXCLUDE_FROM_ALL TRUE
EXCLUDE_FROM_DEFAULT_BUILD TRUE
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
)