From f52f581ed74eb22899c92bb5128588712b36cf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Kardos?= Date: Mon, 11 Mar 2024 19:51:39 +0100 Subject: [PATCH] delete unused support code (#17) --- support/update-conan-profile.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 support/update-conan-profile.py diff --git a/support/update-conan-profile.py b/support/update-conan-profile.py deleted file mode 100644 index bf5e0d9..0000000 --- a/support/update-conan-profile.py +++ /dev/null @@ -1,18 +0,0 @@ -import pathlib -import sys -import re - -path = pathlib.Path(sys.argv[1]) -build_type = sys.argv[2] -c_compiler = sys.argv[3] -cxx_compiler = sys.argv[4] -cxx_standard = sys.argv[5] - -text = path.read_text() -text = re.sub("build_type=.*", f"build_type={build_type}", text) -text = re.sub("compiler.cppstd=.*", f"compiler.cppstd={cxx_standard}", text) -text = text + "\n[conf]" -text = text + f"\ntools.build:compiler_executables={{\"cpp\": \"{cxx_compiler}\", \"c\": \"{ c_compiler }\"}}" -text = text + "\ntools.cmake.cmaketoolchain:generator=Ninja" -path.unlink() -path.write_text(text) \ No newline at end of file