Commit Graph

44 Commits

Author SHA1 Message Date
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