From 47e13ef4f94418ce8258e991dedefb2ee45b040a Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Fri, 24 Jul 2026 10:37:47 +0200 Subject: [PATCH 1/4] CI: Remove Release build and install steps --- .github/workflows/build.yml | 2 +- conanfile.py | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9485860..cfbe212 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: sudo xcode-select -switch /Applications/Xcode_${{matrix.build-xcode-version}}.app - name: Setup python version - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.13" diff --git a/conanfile.py b/conanfile.py index bc59d6c..da115e0 100644 --- a/conanfile.py +++ b/conanfile.py @@ -139,7 +139,6 @@ def build(self): cmake = self._configure_cmake() cmake.build(build_type="RelWithDebInfo") - cmake.build(build_type="Release") def package(self): package_dir = pathlib.Path(self.build_folder, "package") @@ -157,23 +156,9 @@ def package(self): relWithDebInfo_dir, ] ) - subprocess.run( - [ - "cmake", - "--install", - self.build_folder, - "--config", - "Release", - "--prefix", - release_dir, - ] - ) self.copy(pattern="*", src=package_dir) def package_info(self): self.cpp_info.relwithdebinfo.libdirs = ["RelWithDebInfo/lib"] self.cpp_info.relwithdebinfo.bindirs = ["RelWithDebInfo/Plugins", "RelWithDebInfo"] self.cpp_info.relwithdebinfo.includedirs = ["RelWithDebInfo/include", "RelWithDebInfo"] - self.cpp_info.release.libdirs = ["Release/lib"] - self.cpp_info.release.bindirs = ["Release/Plugins", "Release"] - self.cpp_info.release.includedirs = ["Release/include", "Release"] From 20a0f7895de6adbbd1b4dc6c90e14f3281551994 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Fri, 24 Jul 2026 10:48:11 +0200 Subject: [PATCH 2/4] Map configs --- conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conanfile.py b/conanfile.py index da115e0..3169cf9 100644 --- a/conanfile.py +++ b/conanfile.py @@ -126,6 +126,9 @@ def generate(self): tc.variables["CMAKE_PROJECT_INCLUDE"] = vcpkg_tc.as_posix() + tc.variables["CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO"] = "Release" + tc.variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "Release" + tc.generate() def _configure_cmake(self): From c7bc1d6b6936facdf0f3886ddb6fcb747cba7487 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Fri, 24 Jul 2026 10:57:13 +0200 Subject: [PATCH 3/4] Test cache_variables --- conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 3169cf9..db92e10 100644 --- a/conanfile.py +++ b/conanfile.py @@ -126,8 +126,8 @@ def generate(self): tc.variables["CMAKE_PROJECT_INCLUDE"] = vcpkg_tc.as_posix() - tc.variables["CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO"] = "Release" - tc.variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "Release" + tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO"] = "Release" + tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "Release" tc.generate() From e5b20326077dae70efe9cfeed4b3c5d48ec01714 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Fri, 24 Jul 2026 11:16:29 +0200 Subject: [PATCH 4/4] set to RelWithDebInfo --- conanfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index db92e10..dd006db 100644 --- a/conanfile.py +++ b/conanfile.py @@ -126,8 +126,7 @@ def generate(self): tc.variables["CMAKE_PROJECT_INCLUDE"] = vcpkg_tc.as_posix() - tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO"] = "Release" - tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "Release" + tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "RelWithDebInfo" tc.generate()