Finally got eCAL to build, including all dependencies.
This commit is contained in:
@@ -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)
|
||||
@@ -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"""
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user