Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Common/CommonUnitTestsPlaceholder/mocks/CMakeLists.txt
T
berrux-dev c12287471c Restore CommonUnitTestsPlaceholder (defines the MockCoordTrans target)
MockCoordTrans is a Release 2 GROUP3 target: a header-only static
library defined in Lts/Common/CommonUnitTestsPlaceholder/mocks. As a
header-only lib it has no source file as a ninja edge input, so the
build-closure keep set did not pull its dir in and the prune removed
its CMakeLists (ninja: unknown target MockCoordTrans). Restore the dir
and its add_subdirectory; the smoke tests inside stay behind their
default-OFF options.
2026-11-14 00:05:54 +01:00

6 lines
260 B
CMake

add_library(MockCoordTrans STATIC MockCoordTrans.h)
target_include_directories(MockCoordTrans PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# Export header-only semantics by providing an interface target
add_library(MockCoordTrans::MockCoordTrans ALIAS MockCoordTrans)