Finally got eCAL to build, including all dependencies.

This commit is contained in:
Stephan Menzel
2025-06-25 17:49:34 +02:00
parent 62747bab18
commit ab11f36e72
22 changed files with 605 additions and 59 deletions
+3
View File
@@ -50,3 +50,6 @@ def cmake_build_install(local_directory, package_info: PackageInfo, cmake_args:
return install_prefix
def assemble_prefix_path(packages: list[PackageInfo]) -> str:
paths = [str(pkg.install_location()) for pkg in packages]
return ";".join(paths)
-1
View File
@@ -74,7 +74,6 @@ def switch_shared_libs(shared: bool) -> None:
if k == "BUILD_SHARED_LIBS:BOOL":
cmake_global_flags[i] = ("BUILD_SHARED_LIBS:BOOL", "ON") if shared else ("BUILD_SHARED_LIBS:BOOL", "OFF")
@contextmanager
def temporarily_set_shared():
"""Create a scope in which we build dynamic"""
+8
View File
@@ -42,6 +42,14 @@ def sanitize_tag(git_tag: str) -> str:
return git_tag[5:]
if x := re.match(R"^v(\d+[._]\d+[._]\d+)$", git_tag):
return x.group(1).replace("_", ".")
# pcapplusplus uses this
if x := re.match(R"^v(\d+[.]\d+)$", git_tag):
return f"{x.group(1)}.0"
# temporarily for the ecal RC. This should be stable by the time we finish this
if x := re.match(R"^v(\d+\.\d+\.\d+)-rc\.\d$", git_tag):
return x.group(1)
return git_tag