Commit Graph

244 Commits

Author SHA1 Message Date
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
Kevin Ring 5f87226795 Get rid of Windows newlines.
Mostly so it's easier to see what changed.
2021-02-17 13:53:54 +11:00
unknown f139ca92a6 auto generating test data macro 2021-02-09 17:09:57 -05:00
Kevin Ring f7caafa626 Add CesiumIonClient library.
Also move Uri to CesiumUtility, and add a `post` method to
`IAssetAccessor`.
2021-02-08 21:59:53 +11:00
Kevin Ring 6d9e83447b Merge remote-tracking branch 'origin/master' into gltf 2021-01-14 23:46:26 +11:00
Kevin Ring ae16a4888f Separate files for glTF reader PoC. 2021-01-04 17:41:37 +11:00
unknown 9a3b16f7af indentations to spaces 2020-12-23 16:11:10 -05:00
unknown dfc5f938e0 add option to CMakeList to expose private header for testing 2020-12-22 18:39:56 -05:00
Kevin Ring 7a0f1907af WIP transition to cgltf. 2020-12-08 14:02:09 +11:00
Kevin Ring fc0e171c03 Fix problems compiling with clang. 2020-12-03 10:23:17 +11:00
Kevin Ring 6a3b9d5e7b Move async bits to CesiumAsync library. 2020-12-02 16:34:41 +11:00
Kevin Ring 7f284ab837 Basics working again after changing everything. 2020-11-25 17:25:00 +11:00
Kevin Ring 786f574376 WIP async/promise-like system. 2020-11-24 21:22:46 +11:00
Kevin Ring 5af23f6569 Use standard Debug build by default.
You can link against the release runtime library on Windows by adding
`-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL` to the command-line
while CMake configuring. This is required by Unreal Engine.
2020-10-02 15:49:05 +10:00
Kevin Ring 318cb90d7d Only discover tests in top-level build. 2020-10-01 23:06:35 +10:00
Kevin Ring 8782333ef1 Improvements to CMake build. 2020-10-01 22:46:16 +10:00
Kevin Ring 50928c5443 Merge remote-tracking branch 'origin/master' into doc 2020-07-25 23:44:20 +10:00
Kevin Ring 0330fdf00c Fix linux compile error.
"ISO C++11 requires whitespace after the macro name"
2020-07-25 23:42:56 +10:00
Kevin Ring 3c8ddfa9f0 Add doxygen build via cmake. 2020-07-25 23:22:40 +10:00
Kevin Ring 08b4348c60 Move tests into library directories. 2020-07-25 22:56:53 +10:00
Kevin Ring 3b138ec145 Put everything in the right namespace. 2020-07-24 22:59:53 +10:00
Kevin Ring 6d4beea85d Better physical org of files. 2020-07-24 21:15:46 +10:00
Kevin Ring 789db6ffff Factor out repetitive cmake config in each lib. 2020-07-24 16:26:54 +10:00
Kevin Ring 9dc9a84441 Start moving to finer-grained libs. 2020-07-24 15:24:35 +10:00
Kevin Ring 9e91890be3 Fix linux build. 2020-07-23 15:19:15 +10:00
Kevin Ring 2762434e87 Introduce cesium-native library and move most of the code there. 2020-06-28 20:57:29 +10:00