Restore in-scope files missing from the merge and scope-aware CMakeLists
The merge from story/release-validation-scope only carried files that existed at the common base or on that branch. In-scope files added on story/release-2-cleanup after the base (per-module unit-test dirs, the Release 2 driver and rpmbuild script) were missing, breaking ADD_SUBDIRECTORY(unit-test) references. - Restore the 33 missing in-scope files from story/release-2-cleanup. - Lts/Common/CMakeLists.txt and LtsUtilsGui/CMakeLists.txt: take the story/release-2-cleanup versions (the validation versions still reference out-of-scope subdirectories: httq, LtsRestClient, LtsWebSocket, ConnectDialog, StyleManager).
This commit is contained in:
1 parent
cfe15c72c4
commit
262fd226f9
35 files changed
+6856
-16
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Unit tests for the CodeGen module.
|
||||
# One test executable per module, each registered with ctest.
|
||||
#
|
||||
if (NOT BUILD_TESTING)
|
||||
return()
|
||||
endif()
|
||||
|
||||
# --- CodeGen: string helpers, data classes and Grantlee template-context
|
||||
# --- wrappers (pure logic; the KTextTemplate engine is covered by
|
||||
# --- GrantleeParserSmoke)
|
||||
if (TARGET codegen_grantlee)
|
||||
ADD_EXECUTABLE(codegen_unit_test codegen_unit_test.cpp)
|
||||
TARGET_LINK_LIBRARIES(codegen_unit_test
|
||||
codegen_grantlee
|
||||
Qt6::Core
|
||||
Qt6::Test
|
||||
)
|
||||
ADD_TEST(NAME codegen_unit_test COMMAND $<TARGET_FILE:codegen_unit_test>)
|
||||
endif()
|
||||
Reference in new issue
Block a user