Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace uriparser usage with CesiumUtility::Uri #1589

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

azrogers
Copy link
Contributor

With uriparser getting replaced with ada in CesiumGS/cesium-native#1072, we need to remove the usage of uriparser in Cesium for Unreal so we can remove it from the dependencies entirely. This change utilizes the CesiumUtility::Uri::uriPathToNativePath and CesiumUtility::Uri::getPath methods to resolve file URIs. As part of it, I needed to wrap includes of CesiumUtility/Uri.h in THIRD_PARTY_INCLUDES_START and _END macros as ada references multiple macros in #if directives, such as ADA_USING_LIBRARY, that aren't necessarily defined. This causes errors on MSVC. The THIRD_PARTY_INCLUDES_ macros ignore errors in the included header files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant