Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Common/LtsCommandLineParser/Makefile
T
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00

300 lines
13 KiB
Makefile

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.2
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running tests..."
/usr/bin/ctest $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Devel\" \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# The main all target
all: cmake_check_build_system
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(CMAKE_COMMAND) -E cmake_progress_start /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/CMakeFiles /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Common/LtsCommandLineParser//CMakeFiles/progress.marks
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/all
$(CMAKE_COMMAND) -E cmake_progress_start /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/rule:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/rule
.PHONY : Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/rule
# Convenience name for target.
LtsCommandLineParser: Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/rule
.PHONY : LtsCommandLineParser
# fast build rule for target.
LtsCommandLineParser/fast:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build
.PHONY : LtsCommandLineParser/fast
# Convenience name for target.
Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/rule:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/rule
.PHONY : Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/rule
# Convenience name for target.
LtsCommandLineParser_autogen_timestamp_deps: Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/rule
.PHONY : LtsCommandLineParser_autogen_timestamp_deps
# fast build rule for target.
LtsCommandLineParser_autogen_timestamp_deps/fast:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen_timestamp_deps.dir/build
.PHONY : LtsCommandLineParser_autogen_timestamp_deps/fast
# Convenience name for target.
Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/rule:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/rule
.PHONY : Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/rule
# Convenience name for target.
LtsCommandLineParser_autogen: Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/rule
.PHONY : LtsCommandLineParser_autogen
# fast build rule for target.
LtsCommandLineParser_autogen/fast:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser_autogen.dir/build
.PHONY : LtsCommandLineParser_autogen/fast
LtsCommandLineParser.o: LtsCommandLineParser.cpp.o
.PHONY : LtsCommandLineParser.o
# target to build an object file
LtsCommandLineParser.cpp.o:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser.cpp.o
.PHONY : LtsCommandLineParser.cpp.o
LtsCommandLineParser.i: LtsCommandLineParser.cpp.i
.PHONY : LtsCommandLineParser.i
# target to preprocess a source file
LtsCommandLineParser.cpp.i:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser.cpp.i
.PHONY : LtsCommandLineParser.cpp.i
LtsCommandLineParser.s: LtsCommandLineParser.cpp.s
.PHONY : LtsCommandLineParser.s
# target to generate assembly for a file
LtsCommandLineParser.cpp.s:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser.cpp.s
.PHONY : LtsCommandLineParser.cpp.s
LtsCommandLineParser_autogen/mocs_compilation.o: LtsCommandLineParser_autogen/mocs_compilation.cpp.o
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.o
# target to build an object file
LtsCommandLineParser_autogen/mocs_compilation.cpp.o:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser_autogen/mocs_compilation.cpp.o
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.cpp.o
LtsCommandLineParser_autogen/mocs_compilation.i: LtsCommandLineParser_autogen/mocs_compilation.cpp.i
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.i
# target to preprocess a source file
LtsCommandLineParser_autogen/mocs_compilation.cpp.i:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser_autogen/mocs_compilation.cpp.i
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.cpp.i
LtsCommandLineParser_autogen/mocs_compilation.s: LtsCommandLineParser_autogen/mocs_compilation.cpp.s
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.s
# target to generate assembly for a file
LtsCommandLineParser_autogen/mocs_compilation.cpp.s:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(MAKE) $(MAKESILENT) -f Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/build.make Lts/Common/LtsCommandLineParser/CMakeFiles/LtsCommandLineParser.dir/LtsCommandLineParser_autogen/mocs_compilation.cpp.s
.PHONY : LtsCommandLineParser_autogen/mocs_compilation.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... test"
@echo "... LtsCommandLineParser_autogen"
@echo "... LtsCommandLineParser_autogen_timestamp_deps"
@echo "... LtsCommandLineParser"
@echo "... LtsCommandLineParser.o"
@echo "... LtsCommandLineParser.i"
@echo "... LtsCommandLineParser.s"
@echo "... LtsCommandLineParser_autogen/mocs_compilation.o"
@echo "... LtsCommandLineParser_autogen/mocs_compilation.i"
@echo "... LtsCommandLineParser_autogen/mocs_compilation.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system