Kevin Ring
2685803664
Build system improvements.
...
1. Set CMAKE_FIND_ROOT_PATH. The vcpkg toolchain will do this itself if
it manages to run, but it won't run when cesium-native's
CMakeLists.txt is add_subdirectory'd into another project. By making
sure this is set, we avoid the need to set `CMAKE_FIND_ROOT_PATH_MODE_LIBRARY`
similar to `BOTH` when cross-compiling in order for the build to be
able to find the vcpkg dependencies.
2. Detect the triplet as `wasm32-emscripten` if _either_
`CESIUM_TARGET_WASM` is explicitly set, or the `CMAKE_SYSTEM_NAME` is
`Emscripten`. This is important when detect-vspkg-triplet is invoked
from outside cesium-native's top-level CMakeLists.txt (e.g., when
cesium-native is included via add_subdirectory).
2025-11-25 19:14:31 +11:00
Richard Bois
2bdeadac3d
When searching for modp_b64 libraries, ignore all presence of /debug in the search paths except those ending with /debug.
2025-11-14 14:45:58 -05:00
Kevin Ring
77715ec5e5
Fix 64-bit Emscripten build.
2025-11-07 21:04:56 +11:00
Kevin Ring
d9d31300d7
Clean up and centralize compiler flags.
2025-11-07 16:41:47 +11:00
Kevin Ring
00c35a1ffc
Remove tidyhtml specific compiler option.
2025-11-06 17:37:32 +11:00
Kevin Ring
58e8bafe71
Remove workaround for tidyhtml.
...
cesium-native doesn't depend on tidy-html, so a workaround for it
doesn't belong here.
2025-11-06 16:06:19 +11:00
Kevin Ring
d0427df530
Consistently use non-header-only spdlog.
2025-10-27 11:17:24 +11:00
Kevin Ring
167a728aa0
Merge remote-tracking branch 'origin/main' into experiment_wasm
2025-10-21 16:41:23 +11:00
Brendan Duncan
5d44fd4670
fix wasm build errors
2025-10-20 22:40:24 -06:00
Kevin Ring
32d275ef0b
Clean up dependencies, especially zlib-ng.
2025-10-17 17:19:41 +11:00
Brendan Duncan
99f1404fe7
clean-up merge changes
2025-10-05 17:07:32 -06:00
Brendan Duncan
50b1530722
don't need specialized wasm compiler flags anymore
2025-09-22 08:05:31 -06:00
Brendan Duncan
56f2dc8e8b
fix wasm build after merger
2025-09-20 19:49:52 -06:00
Sean Lilley
1cb32f876d
Autodetct arm64-linux vs x64-linux
2025-08-08 13:56:23 -04:00
Sean Lilley
6633ab0de9
Merge branch 'main' into no-stringop-overflow
2025-08-08 13:56:03 -04:00
Kevin Ring
6c0fec5aa4
Merge remote-tracking branch 'origin/main' into glm-simd
2025-05-06 18:28:23 +10:00
Tim Moore
1959c3e1c8
Don't reference Microsoft.GSL in Config.cmake.in
...
It's not used anymore and causes an error if no one else uses it.
2025-04-30 10:46:07 +02:00
Kevin Ring
15b407050f
Don't install exports unless libs and headers are required.
2025-04-29 17:39:06 +10:00
Ashley Rogers
2e9fac7284
Enable SIMD code paths for GLM
2025-04-25 11:34:31 -04:00
Tim Moore
ad86c0eb20
remove old warning
2025-03-28 16:02:50 +01:00
Kevin Ring
0cb0634bd3
Merge remote-tracking branch 'origin/main' into vcpkg-pkg
2025-03-27 10:37:16 +11:00
Kevin Ring
b8953491a1
Merge pull request #1133 from CesiumGS/fix-header-warnings-2
...
Make CesiumGltf headers public and fix warnings
2025-03-26 13:37:56 +11:00
Ashley Rogers
a71f0e5db0
Add -ftime-trace option for cmake
2025-03-21 10:48:43 -04:00
Sean Lilley
236b20f162
Disable stringop-overflow warning
2025-03-06 15:59:18 -05:00
Tim Moore
cfda965283
Merge remote-tracking branch 'origin/vcpkg-pkg' into vcpkg-pkg
2025-03-05 17:26:31 -05:00
Tim Moore
4087d1a2b0
Try hard to get the right version of libmodpbase64
...
We were picking up the debug version in release builds, which causes
-- at the least -- an annoying message.
2025-03-05 17:19:56 -05:00
Tim Moore
b39d3f03cf
Merge remote-tracking branch 'origin/main' into vcpkg-pkg
2025-03-03 14:14:23 -05:00
Ashley Rogers
b2453124cc
Merge branch 'enum-metadata-support-2' of github.com:CesiumGS/cesium-native into fix-header-warnings-2
2025-02-27 13:54:39 -05:00
Ashley Rogers
dca602777f
Second time, first pass
2025-02-24 15:45:32 -05:00
Ashley Rogers
db707fd09f
Final fixes and ifdef for debug tracking
2025-02-10 15:09:35 -05:00
Tim Moore
d5e261baf9
Fix Config.cmake.in for ada
2025-02-03 23:46:19 +01:00
Tim Moore
69b45dae4f
Change catch2 to doctest in Config.cmake.in
2025-01-31 17:45:54 +01:00
Tim Moore
ed58d0236b
Merge remote-tracking branch 'origin/main' into vcpkg-pkg
2025-01-31 17:02:12 +01:00
Kevin Ring
79537a5937
Set environment variables properly.
2025-01-31 21:48:57 +11:00
Kevin Ring
a0c954eff1
Use `:` instead of `;` to separate paths on non-Windows.
2025-01-31 21:40:28 +11:00
Kevin Ring
88f7795d24
Pass VCPKG_OVERLAY_PORTS/TRIPLETS via environment var.
...
To avoid issues with semicolon-delimited strings in CMake.
2025-01-31 20:59:02 +11:00
Kevin Ring
2a15f06454
Merge remote-tracking branch 'origin/main' into fix-macos-tests
2025-01-24 10:47:02 +11:00
Kevin Ring
fc8f124487
macOS fixes, especially to losslessNarrow.
2025-01-21 17:34:10 +11:00
Sean Lilley
ef27547b19
Merge branch 'main' into remove-GLM_FORCE_SIZE_T_LENGTH
2025-01-16 15:33:49 -05:00
Kevin Ring
c364566cbf
Merge branch 'main' into clang-tidy-instructions
2025-01-16 18:31:10 +11:00
Ashley Rogers
6cac5d5c5f
Revert setup_clang_tidy change
2025-01-14 09:49:14 -05:00
Ashley Rogers
5d9db9b424
Add Windows and Linux clang-tidy instructions.
2025-01-13 14:58:23 -05:00
Ashley Rogers
7eb9677254
Add option for clang-tidy threads
2025-01-13 14:15:44 -05:00
Ashley Rogers
5d6b7c43fa
Undo GLM_FORCE_CXX2A
2025-01-13 14:04:13 -05:00
Kevin Ring
f3bced2485
Add macOS clang-tidy instructions.
2025-01-13 23:43:21 +11:00
Sean Lilley
e62cfd762d
Remove GLM_FORCE_SIZE_T_LENGTH
2025-01-08 16:08:34 -05:00
Ashley Rogers
4aeee635ca
More checks
2024-12-18 15:25:51 -05:00
Ashley Rogers
99c57bf66c
Enable two more clang-tidy checks
2024-12-18 13:04:47 -05:00
Ashley Rogers
7ef48d56c7
Fix additional clang-tidy issues
2024-12-17 17:41:42 -05:00
Ashley Rogers
1e2e47ab5e
misc-include-cleaner for every file
2024-12-17 17:27:03 -05:00