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
Bradley Austin Davis
24d783fb01
Migrate dependencies to vcpkg
2024-02-24 00:37:37 +00:00
Bradley Austin Davis
d89d170467
Speed up CI builds with ccache/sccache
2024-02-23 10:44:25 -08:00
Kevin Ring
c341a72806
Revert "Merge pull request #786 from jherico/feature-vcpkg"
...
This reverts commit 198ed9d4b4 , reversing
changes made to 09c1eb76b4 .
2024-02-23 09:08:15 +11:00
Ashley Rogers
5db2f0d180
Add zlib-ng to vcpkg
2024-02-20 14:25:09 -05:00
Ashley Rogers
9729924b10
Use CMAKE_CURRENT_SOURCE_DIR
2024-02-20 13:49:59 -05:00
Bradley Austin Davis
2a45ba649b
Update CMakeLists.txt
2024-02-05 21:53:55 -08:00
Bradley Austin Davis
0cf71b2710
fixup! Migrating dependencies to vcpkg
2024-02-02 11:30:27 -08:00
Bradley Austin Davis
e20c154c55
Migrating dependencies to vcpkg
2024-02-02 10:40:59 -08:00
Kevin Ring
761630d45a
Add CesiumGltfContent library.
2023-11-15 17:20:08 +11:00
Kevin Ring
dff7e61171
Create CesiumRasterOverlays library.
2023-11-14 18:29:47 +11:00
Kevin Ring
a71a982986
Add new Cesium3DTilesContent library.
2023-11-02 17:41:09 +11:00
Kevin Ring
f10e6dc60e
Install uriparser includes to the right location.
2023-10-20 14:43:19 +11:00
Kevin Ring
e9b5e4cb15
Merge pull request #715 from Klebert-Engineering/main
...
CMake Usability Improvements
2023-09-04 15:05:24 +10:00
Kevin Ring
9b44b7d5ae
Install csprng, except on UWP.
2023-08-04 19:41:08 +10:00
Kevin Ring
335ea90678
Hackily get cesium-native compiling on UWP.
2023-08-04 08:53:12 +10:00
Kevin Ring
f935ed55da
Install meshoptimizer targets.
2023-08-01 09:30:14 +10:00
Joseph Birkner
62fb7ded3f
deps: Make GLM strict behavior optional.
2023-07-26 16:17:11 +02:00
Joseph Kaile
84f2e8f550
automatically unzip data if gzipped data is detected
2023-05-18 13:11:49 -04:00
Joseph Kaile
d103bb813a
Revert "switch to add_subdirectory"
...
This reverts commit d7d3048f4f .
2023-03-15 16:09:00 -04:00
Joseph Kaile
d7d3048f4f
switch to add_subdirectory
2023-03-14 15:44:11 -04:00
Joseph Kaile
b20d0464ea
pass osx version directly to libjpegturbo
2023-03-08 02:09:43 -05:00
Joseph Kaile
ce53fe64d6
set osx version to 11
2023-03-08 01:25:32 -05:00
Joseph Kaile
b0d3620596
use generator expression to simplify code a bit
2023-03-06 22:36:05 -05:00
Joseph Kaile
a443f1f50e
pass debug postfix, fix \MT \MD mismatch
2023-03-04 15:32:35 -05:00
Joseph Kaile
9c1fe35158
fix for debug library postfix
2023-03-04 12:32:53 -05:00
Joseph Kaile
924449323e
install library file
2023-02-21 12:34:28 -05:00
Kevin Ring
f31638fbfa
Cleaner RasterOverlay error reporting.
2022-10-18 17:59:23 +11:00
Kevin Ring
0a8c7ce21e
Support for adding extra includes to Cesium library builds.
2022-10-03 19:37:05 -04:00
Joseph Kaile
fe5588ddf7
addng webp parsing to gltf image reader
2022-08-17 17:52:34 -04:00
Nithin Pranesh
027fb29bc5
Merge branch 'main' into node-variants
2022-03-02 11:24:32 -05:00
Kevin Ring
966aba6089
Fix code generation for MAXAR_mesh_variants.
2022-02-17 19:30:51 +11:00
Nithin Pranesh
e0b6344933
Merge branch 'main' into ktx2-nithin
2022-02-01 12:19:55 -05:00
Sean Lilley
f14c6709e1
Misc generator improvements
2021-12-27 13:31:29 -05:00
Nithin Pranesh
53b828a9ca
Merge remote-tracking branch 'origin/main' into ktx2-nithin
2021-12-19 17:23:39 -05:00
Sean Lilley
2b204aaecd
Added Cesium3DTilesWriter
2021-12-06 19:34:22 -05:00
Sean Lilley
2cdcb92e20
Namespace cleanup
2021-12-02 18:34:22 -05:00
Nithin Pranesh
645f2bca06
fix broken merge
2021-11-22 03:56:23 -05:00
Sean Lilley
a9110dbb74
Initial KTX2
...
(cherry picked from Sean's hackathon project)
2021-11-22 03:45:23 -05:00
Nithin Pranesh
b42320ec01
Add KTX-Software as cmake dependency
...
Co-authored-by: Kevin Ring <kevin@kotachrome.com>
2021-11-22 03:10:23 -05:00
Kevin Ring
f55669af5b
cmake install s2geometry.
2021-11-09 13:41:21 +11:00
Ian Lilley
7b0c8eac9a
made formatting consistent with other calls to target_compile_definitions
2021-11-03 12:13:12 -04:00
Ian Lilley
24eb427c3d
made compile definitions public
2021-11-03 12:06:28 -04:00
Ian Lilley
944e85f9d5
added new GLM defines
2021-11-01 10:29:11 -04:00
Sean Lilley
471bc06c24
Add Cesium3DTilesReader
2021-10-10 22:11:26 -04:00
Sean Lilley
4dbe87294f
Add Cesium3DTiles project
2021-10-10 18:20:15 -04:00
Daniel Krupka
8b3bb34827
Rename Cesium3DTiles -> Cesium3DTilesSelection
2021-07-30 11:45:37 -04:00
Kevin Ring
64422fd63b
Merge remote-tracking branch 'origin/main' into refactor-json-writing
2021-07-29 14:09:25 +10:00
Daniel Krupka
6a0c4fa5de
Merge remote-tracking branch 'origin/main' into refactor-json-writing
2021-07-27 11:03:16 -04:00
Sean Lilley
074d098272
Fix linux build
2021-07-26 17:29:48 -04:00
Bao Tran
1c608a9dd4
attempt to unify draco target
2021-07-26 17:03:13 -04:00
Bao Tran
3dc4c2da40
suppress draco warning on MSVC and define draco alias target
2021-07-26 16:43:36 -04:00
Sean Lilley
46c5a41827
Update draco version so that cesium-native builds in gcc 11
2021-07-26 16:17:57 -04:00
Ian Lilley
f936094973
disable coverage by default
2021-07-23 15:13:27 -04:00
Ian Lilley
9a41bb58a8
removed some unecessary coverage options and disabled for msvc
2021-07-23 11:58:16 -07:00
Daniel Krupka
f47aaaa5dc
Extract JSON writing to non-glTF library
2021-07-23 13:59:50 -04:00
Ian Lilley
cb6b25fb33
cmake option for code coverage
2021-07-23 11:51:40 -04:00
Kevin Ring
6ece726757
Fix problems when tracing is disabled.
2021-06-22 17:19:33 +10:00
Kevin Ring
50d5428855
Add option to prefix all sqlite3 symbols with cesium_.
2021-05-27 16:19:38 +10:00
Samuel Vargas
ce4a15411c
Add cmake-modules as submodule
2021-04-20 13:47:10 -04:00
Kevin Ring
999c382cc1
Merge remote-tracking branch 'origin/main' into gltf-extensions
2021-04-16 16:07:23 +10:00
Kevin Ring
222692b590
Separate CesiumJsonReader library.
2021-04-13 22:05:36 +10:00
Samuel Vargas
2678459aea
Merge tag 'pre-clang-format' into gltf-writer-clang-format
...
The last commit before we ran clang-format on the entire codebase
2021-03-09 16:31:49 -05:00
Shehzan Mohammed
c61e2185b0
Add debug postfixes to libs
2021-03-06 11:59:47 -05:00
Samuel Vargas
5599075907
Remove 'o' typo from CMakeLists.txt
2021-03-05 07:46:08 -05:00
Samuel Vargas
5ee7b03529
Add a custom target for generating code coverage
2021-03-05 07:41:16 -05:00
Samuel Vargas
f643405726
Add CesiumGltfWriter
2021-03-05 07:41:16 -05:00
Kevin Ring
d7c30f907d
Add a comment.
2021-03-05 14:16:51 +11:00
Kevin Ring
9346d3aee4
RapidJSON includes.
2021-03-05 14:14:52 +11:00
Kevin Ring
da0b567120
Fix some install bits.
2021-03-05 14:04:28 +11:00
Kevin Ring
44139b6a21
Absolute path for modp_b64, attempt to include GSL headers.
2021-03-05 09:58:36 +11:00
Kevin Ring
c5e398275b
Exclude extern directory.
...
But still (mostly?) install the right stuff.
2021-03-05 08:09:53 +11:00
Shehzan Mohammed
3faff010d7
Installing thirdparty deps working on linux
2021-03-03 20:47:31 -05:00
Samuel Vargas
05638d6c73
Add ctest support back in
2021-03-02 15:15:59 -05:00
Samuel Vargas
5d03477551
Rearchitecture cesium-native's CMake structure
...
This is necessary to support using cesium-native as submodule in
in asset-pipeline
- `draco` and `sqlite3` are guarded with if target blocks to allow
asset-pipeline to provide their own version of the targets.
- Tests are now a dedicated target that clients don't have to build
- Test sources / headers are now a target property instead of using the $<BUILD_INTERFACE... hack
- Added common include variables in extern/CMakeLists.txt
- Defined `RAPIDJSON_HAS_CXX11_RVALUE_REFS` for move support for RapidJson
- Private include directories are automatically extracted via CMake magic
for use in catch tests
- Globbing is now wrapped in a dedicated function that allows one to use
CONFIGURE_DEPENDS depending on their preferences (defaults to OFF)
to retain the old behavior.
2021-03-02 14:28:04 -05:00
Kevin Ring
4d31c3ef62
Merge pull request #139 from CesiumGS/ion-ui-oauth2
...
Add CesiumIonClient library
2021-03-02 17:55:44 +11:00