Fix Release 2 build: restore test wiring lost in merge, use Ninja in DEB packaging
The full-module import merge (097e5b488) replaced the validated Release 2
test wiring with the full-tree CMake files, leaving 5 targets referenced by
new_docker_build_release2.sh / README undefined:
- Restore LogViewLogger library in TetraIF/LogView/CMakeLists.txt
(pre-merge file defined both LogViewLogger lib and LogView exe)
- Re-add ADD_SUBDIRECTORY(unit-test) in TetraIF/CMakeLists.txt
(coprtcnv_unit_test, logview_unit_test, prtcnv_unit_test)
- Add CommonUnitTestsPlaceholder to Lts/Common/CMakeLists.txt (MockCoordTrans)
Driver (new_docker_build_release2.sh):
- Pass -DBUILD_TESTING=ON: TetraIF/unit-test is gated on BUILD_TESTING
- Default GUEZ_MODE=ON: the DEB step expanded ${GUEZ_MODE} in-container
where it was unset, producing -DGUEZ_MODE= (false in CMake)
rpmbuild/make_rpm_ubuntu26_release2.py:
- Use the Ninja generator (cmake -G Ninja / dh_auto_configure -GNinja):
with CMake 4.2.3 in the legatus-qt6:1.0 image the Unix Makefiles
generator emits no rule for AUTOMOC <target>_autogen/mocs_compilation.cpp
("No rule to make target") and every Qt target fails; Ninja handles
automoc correctly (verified: ninja -n of all 39 Release 2 targets passes)
- Add ninja-build to debian Build-Depends
Verified inside legatus-qt6:1.0 (mount /repo, BUILD_RTI=ON, BUILD_TESTING=ON,
Ninja): cmake configure exit 0 and ninja -n of the full Release 2 target
list (GROUP1/3/5/6, 39 targets) exit 0.
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
1 parent
df8b739e80
commit
56064ca293
5 files changed
+28
-6
No files matched your search
@@ -4,11 +4,21 @@
|
||||
# $Author$
|
||||
#
|
||||
ADD_SUBDIRECTORY(Console)
|
||||
|
||||
# Create a separate library for logger functionality that can be linked by other targets
|
||||
NGL_ADD_LIBRARY(LogViewLogger AAR SV STATIC
|
||||
logger.cpp
|
||||
logger.h
|
||||
)
|
||||
NGL_TARGET_LINK_LIBRARIES(LogViewLogger
|
||||
NGLLogger
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(LogViewLogger PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
SET(my_SRCS
|
||||
IntegerCalculator.cpp
|
||||
IntegerCalculator.hpp
|
||||
logger.cpp
|
||||
logger.h
|
||||
LogViewBooleanEdit.cpp
|
||||
LogViewBooleanEdit.hpp
|
||||
LogViewDateTimeEdit.cpp
|
||||
@@ -79,6 +89,7 @@ if(QT6_GUI_AVAILABLE)
|
||||
NGLLogger
|
||||
nglapplication
|
||||
ngltools
|
||||
LogViewLogger
|
||||
)
|
||||
endif()
|
||||
NGL_INSTALL_TARGET(LogView)
|
||||
|
||||
Reference in new issue
Block a user