add connan package manager#9540
Draft
hakuturu583 wants to merge 6 commits intocarla-simulator:ue5-devfrom
Draft
Conversation
Implement Conan packaging for libcarla C++ libraries to enable easier distribution and consumption by external projects. This change adds Conan support while maintaining full backward compatibility with traditional CMake builds. Key changes: - Add conanfile.py with package configuration for libcarla/0.10.0 - Define dependencies from ConanCenter (Boost, Eigen, zlib, libpng) - Add CMake install rules in LibCarla/CMakeLists.txt - Create carla-config.cmake.in for find_package() support - Add test_package/ to verify package installation works - Use generator expressions for build/install interface paths - Make external dependencies PRIVATE to avoid export conflicts - Install FetchContent dependencies (rpclib, RecastNavigation) - Conditional Boost::python linking (only when BUILD_PYTHON_API=ON) The implementation uses a hybrid approach: - ConanCenter dependencies managed by Conan - Custom forks (rpclib, RecastNavigation) via FetchContent - All dependency headers installed with the package Backward compatibility verified: - Traditional CMake build (cmake -B build) still works - No changes required to existing build scripts - Unreal Engine integration unaffected Usage: conan create . --build=missing -s build_type=Release Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Conanパッケージマネージャーのビルド成果物をバージョン管理から除外し、リポジトリをクリーンに保つための設定を追加。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update all Japanese comments in conanfile.py and LibCarla/CMakeLists.txt to English for better international accessibility and consistency with the rest of the codebase. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Define internal library components (rpc, recast, detour, detourcrowd) and explicitly declare dependencies for carla-server and carla-client components to ensure proper linking in downstream projects. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update our CHANGELOG.md based on your changes. |
Update Japanese comments in CMake configuration and test package to English for better international accessibility. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add entry for PR carla-simulator#9540 which introduces Conan package manager support for libcarla. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #
Where has this been tested?
Possible Drawbacks
This change is