Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 47685d2

Browse files
committed
🩹 Add bin to cpp_info.bindirs
- 📝 Add README.md to root of repo
1 parent eebe99c commit 47685d2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

11.3/conanfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ def package(self):
5858
def package_info(self):
5959
# Add bin directory to PATH
6060
bin_folder = os.path.join(self.package_folder, "bin")
61-
self.env_info.PATH.append(bin_folder)
61+
self.buildenv_info.append_path("PATH", bin_folder)
62+
self.cpp_info.bindirs = [bin_folder]

12.2/conanfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ def package_info(self):
6161
# Add bin directory to PATH
6262
bin_folder = os.path.join(self.package_folder, "bin")
6363
self.env_info.PATH.append(bin_folder)
64+
self.cpp_info.bindirs = [bin_folder]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# libhal GNU ARM Embedded Toolchain Repo
2+
3+
Here you can find conan packages for the GNU ARM Embedded Toolchain packages
4+
used for libhal, but reusable for any other project that uses conan as well.

0 commit comments

Comments
 (0)