Commit Graph

250 Commits

Author SHA1 Message Date
Kevin Ring ae62bd8c6a Bump to v0.46.0. 2025-04-01 14:38:54 +11:00
Kevin Ring 58bbb1f159 Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-03-31 11:10:31 +11:00
Tim Moore 9e6554d55d fix grammar 2025-03-28 16:51:59 +01:00
Ashley Rogers 6b94a5adda Merge branch 'main' of github.com:CesiumGS/cesium-native into itwin-client 2025-03-28 11:28:51 -04:00
Tim Moore 6d5cab4507 Don't allow manifest mode when using ezvcpkg 2025-03-28 16:01:14 +01:00
Kevin Ring 0cb0634bd3 Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-03-27 10:37:16 +11:00
Ashley Rogers a71f0e5db0 Add -ftime-trace option for cmake 2025-03-21 10:48:43 -04:00
Ashley Rogers c3a87e2cd9 iTwin client OAuth flow 2025-03-07 16:41:26 -05:00
Tim Moore b39d3f03cf Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-03-03 14:14:23 -05:00
Kevin Ring b3bbd407ac Bump to v0.45.0. 2025-03-03 10:27:08 +11:00
Ashley Rogers 3546686bd7 Address some of the review comments. 2025-02-26 13:53:45 -05:00
Ashley Rogers 7f8e02308a Merge branch 'main' of github.com:CesiumGS/cesium-native into unload-external-tilesets-2 2025-02-13 17:09:40 -05:00
Tim Moore e221a72631 Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-02-13 14:58:27 +01:00
Kevin Ring b659f724ac Fix parseGltfCopyright (again). 2025-02-12 20:58:59 +11:00
Ashley Rogers ae3745171e Merge branch 'main' of github.com:CesiumGS/cesium-native into unload-external-tilesets-2 2025-02-10 15:09:41 -05:00
Ashley Rogers db707fd09f Final fixes and ifdef for debug tracking 2025-02-10 15:09:35 -05:00
Kevin Ring d085706d15 Bump version, update CHANGES.md. 2025-02-10 10:39:25 +11:00
Tim Moore d1d790afe3 Merge branch 'main' into vcpkg-pkg 2025-02-03 22:26:20 +01:00
Kevin Ring 772324108c Bump version, update changelog. 2025-02-03 14:05:16 +11:00
Kevin Ring 8d319e438e Correct comment that is no longer true. 2025-02-01 21:35:28 +11:00
Kevin Ring 9263109d27 Merge remote-tracking branch 'origin/main' into ada-url 2025-02-01 21:20:52 +11:00
Tim Moore ed58d0236b Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-01-31 17:02:12 +01:00
Kevin Ring d52bbcd22c Use modified ktx port.
It uses git to download ktx rather than grabbing the archive from
github. The latter seems to be unreliable lately, perhaps because of LFS
quota limits or somesuch.
2025-01-31 18:04:34 +11:00
Ashley Rogers 7006b8177c Remove uriparser, format, etc 2025-01-28 11:57:53 -05:00
Ashley Rogers 9789911492 Address most of review 2025-01-28 10:12:11 -05:00
Kevin Ring 78f0f40db1 Re-add uriparser for now, and fix macOS compile error. 2025-01-20 10:01:21 +11:00
Kevin Ring 68aebad881 Remove find_package(uriparser) 2025-01-20 09:38:51 +11:00
Ashley Rogers 45d9d7ffa6 Merge from main 2025-01-17 16:06:58 -05:00
Kevin Ring 017d13393c
Merge pull request #1064 from CesiumGS/doctest
Use doctest instead of Catch2 for tests
2025-01-17 09:52:00 +11:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Ashley Rogers efead0ae73 Parts of implementation using ada-url instead of uriparser 2025-01-15 11:44:55 -05:00
Ashley Rogers c662c2d569 Fix clang-tidy issues 2025-01-14 11:33:53 -05:00
Ashley Rogers 7eb9677254 Add option for clang-tidy threads 2025-01-13 14:15:44 -05:00
Kevin Ring 4d9a63829f Bump to v0.43.0, update CHANGES.md. 2025-01-02 08:32:33 +11:00
Tim Moore a248a46069 Change install destination of config files
In the Cesium for Unreal build, CMAKE_INSTALL_LIBDIR contains
a generator expression, which the install(EXPORT ...) command doesn't
process correctly. So, install the configuration files such as
"cesium-nativeTargets.cmake" in
${CMAKE_INSTALL_DATADIR}/cesium-native/cmake, which is a perfectly
fine location.

These files aren't used by the Cesium Unreal build anyway.
2024-12-10 15:54:53 +01:00
Tim Moore c6d7ae3d88 Smarter defaults for using ezvcpkg
Also, try to make sure that vcpkg actually uses the desired triplet.
2024-12-05 16:03:52 +01:00
Tim Moore b4fbda7d66 Find module for modp_b64 2024-12-05 16:03:52 +01:00
Tim Moore 2357827474 Config file that satisfies external dependencies 2024-12-05 16:03:52 +01:00
Tim Moore e83d66634f cleanup for ezvckpg use and VCPKG_MANIFEST_MODE
VCPKG_MANIFEST_MODE isn't available before project() is called, so
define a new variable CESIUM_USE_EZVCPKG to control the early
loading of ezvcpkg.
2024-12-05 16:03:52 +01:00
Tim Moore 0b4b1d7bc6 find modules for external dependencies
Add a find module for zlib-ng, which can be installed and included by
a config package. Other find modules may be necessary too.
2024-12-05 16:03:52 +01:00
Tim Moore f7edb582bc Don't install dependency headers and librarys in manifest mode 2024-12-05 16:03:52 +01:00
Tim Moore b448245ee1 Install libraries with an EXPORT target
This create the CMake files that create targets in an imported
package.
2024-12-05 16:03:52 +01:00
Kevin Ring 1ece56deca Bump to v0.42.0. 2024-12-02 07:29:07 +11:00
Ashley Rogers 9f9b4d240d Add CMakeDependentOption include 2024-11-22 11:13:26 -05:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Janine Liu 70492de06f Merge branch 'main' into remove-gsl 2024-11-20 13:46:51 -05:00
Janine Liu 49bcfa4d03 Use vcpkg 2024.11.16 2024-11-20 11:26:05 -05:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Ashley Rogers beee019e19 Add clang-tidy to CMake 2024-11-19 15:27:39 -05:00
Kevin Ring bc9165659f Merge remote-tracking branch 'origin/cpp20' into remove-gsl 2024-11-12 15:07:50 +11:00
Kevin Ring 73da501e8c Merge remote-tracking branch 'origin/main' into cpp20 2024-11-12 15:06:45 +11:00
Kevin Ring ca09496f20 Merge remote-tracking branch 'origin/main' into install-debug-libs 2024-11-11 09:21:09 +11:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring 8a198e96f6
Merge branch 'main' into cpp20 2024-11-05 20:46:50 +11:00
Kevin Ring 42c648fcb3 Update cmake version to match package.json version. 2024-11-05 18:40:51 +11:00
Kevin Ring feaf3d14f6 Switch to prerelease vcpkg commit.
This is necessary to pick up a new version of Async++, which is required
for use with C++20.
2024-11-05 16:00:08 +11:00
Ashley Rogers 78513e8921 Improve Doxygen docs 2024-10-25 15:03:08 -04:00
Sean Lilley f5f2d076cd Install debug vcpkg libs 2024-10-06 21:16:19 -04:00
Sean Lilley edf29c325a Use VCPKG_OVERLAY_PORTS and VCPKG_OVERLAY_TRIPLETS as cmake variables instead of env variables 2024-09-10 15:25:01 -04:00
Kevin Ring 642d13adf5 Tiny tweaks. 2024-09-09 13:36:55 +10:00
Jason Sobotka 90c598c55f removed bad vcpkg command
clean up
2024-08-23 16:56:54 -05:00
Jason Sobotka c651ba4642 clean up 2024-08-23 12:45:54 -05:00
Jason Sobotka 4d1b1313a4 ezpkg path setup fixes 2024-08-23 12:31:21 -05:00
Jason Sobotka 3098ab43ff clean up. Fixed names 2024-08-23 11:52:37 -05:00
Jason Sobotka 431f34a417 missed inclusion guard 2024-08-23 11:37:16 -05:00
Jason Sobotka b2108e2b8e Minimal changes to make cesium-native friendly to building in vcpkg manifest mode as part of another build
Small source changes for stricter builds:
Removed extraneous semicolons - GltfReader.cpp, ImageManipulation.cpp
size_t static cast - GltfUtilities.cpp
2024-08-23 11:31:11 -05:00
Kevin Ring 3b36435179 Add option to exclude libraries from installation. 2024-08-16 14:54:09 +10:00
Kevin Ring 616ce1130a Make installation of libs/headers optional. 2024-08-08 13:50:43 +10:00
Kevin Ring 52c3f2c5b2 UWP support. 2024-08-05 18:14:22 +10:00
Kevin Ring d6703f30a0 Merge remote-tracking branch 'jherico/vcpkg-2' into vcpkg-swl 2024-07-23 14:18:49 -04:00
Bradley Austin Davis e8b08710f1 Just use SSL for random bytes 2024-07-02 18:01:13 -07:00
Kevin Ring 7c9ea84178 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-07-02 17:39:20 +10:00
Kevin Ring d2421ba38a
Merge branch 'main' into msvc-allow-both-static-dynamic-runtime 2024-06-21 16:45:48 +10:00
Ashley Rogers 11f9c0f3e5 Fix more review feedback 2024-06-20 14:21:49 -04:00
Ashley Rogers 65dda8335d Respond to review, cut down on stored ellipsoids 2024-06-14 15:33:47 -04:00
Kevin Ring f21014a375 Another go at robust VCPKG_TRIPLET detection logic. 2024-06-13 07:56:31 +10:00
Ashley Rogers 8f5141c15f Force MSVC to error on issues Clang will surface. 2024-06-12 15:46:24 -04:00
Brian L 53726e31ac Add CESIUM_MSVC_STATIC_RUNTIME_ENABLED cmake variable 2024-06-11 13:58:43 -06:00
Kevin Ring da9514e280 Revert enablement of `cxx17` option for Abseil.
It should no longer be necessary on Linux, and it appears to be causing
problems on other platforms.
2024-06-11 08:12:36 +10:00
Kevin Ring 58f29fabef C++17 for Abseil, use VCPKG_TRIPLET env var is provided. 2024-06-10 21:13:07 +10:00
Kevin Ring d7c9abe5ab Remove mysterious find_package(JPEG). 2024-06-07 20:59:59 +10:00
Kevin Ring 35d419a2e4 More thorough VCPKG_TRIPLET selection. 2024-06-07 17:32:12 +10:00
Kevin Ring 2c5f0b3268 Remove Unreal-specific modifications. 2024-06-07 12:12:10 +10:00
Kevin Ring bac574c13d Lots of changes to support Cesium for Unreal. 2024-06-06 20:57:11 +10:00
Kevin Ring ca42500d54 Merge remote-tracking branch 'origin/main' into vcpkg-2 2024-06-05 14:06:47 +10:00
Janine Liu e1ed4db7dc
Merge pull request #854 from CesiumGS/i3dm-2024
Support 3D Tile I3dm legacy tile format
2024-05-29 09:44:15 -04:00
Kevin Ring c0de3dfa88 Merge remote-tracking branch 'origin/main' into ci-ccache 2024-05-10 18:53:07 +10:00
Tim Moore ab70a66f3e Merge branch 'main' into i3dm-2024 2024-05-02 11:39:26 +02:00
Brian Langevin 317b659f89
Update CMakeLists.txt 2024-04-29 14:37:53 -06:00
Brian L e624a84e57 Explicitly set framework destination for ktx 2024-04-26 19:20:19 -06:00
Brian L e768a39ddb See if setting public header is still needed 2024-04-26 12:31:11 -06:00
Tim Moore 0a4a5a9665 Merge branch 'main' into i3dm-2024 2024-04-17 17:56:57 +02:00
Kevin Ring dd35563ff8 Tweaks for the tilers build.
* Use `ktx` library instead of `ktx_read`. The former includes writing
  ability, and there's no library that includes _just_ writing.
* Move STB image resize implementation code into CesiumGltfReader
  (instead of CesiumGltfContent).
2024-04-15 09:30:05 +10:00
Kevin Ring 30f5d14864 CesiumLegacyTerrain -> CesiumQuantizedMeshTerrain. 2024-04-10 14:07:11 +10:00
Tim Moore 3ba003a539 Make CESIUM_DEBUG_PREFIX and CESIUM_RELEASE_PREFIX cache variables
This allows the developer to override them usefully in situations
where they need to be set e.g., make a debug library masquerade as
release.

Also allow CESIUM_DEBUG_PREFIX to be empty.
2024-04-07 13:25:23 +02:00
Kevin Ring 5ba8b7af35 Add CesiumLegacyTerrain library for quantized-mesh parsing. 2024-04-04 22:12:57 +11:00
Sean Lilley 3085144bd2 Add PRIVATE 2024-03-13 08:56:37 -04:00
Sean Lilley 4e446c4a5a Only disable warning in GCC 13 2024-03-13 08:56:00 -04:00
Sean Lilley 06b6d4fdb7 Add -Wno-dangling-reference to CMake 2024-03-13 08:36:59 -04:00
Bradley Austin Davis eff92f66d9 fixup! Migrate dependencies to vcpkg 2024-03-01 21:49:34 -08:00