Oliver Hamlet
b492e34ab9
Fix linking tests against static libloot
2025-07-23 19:11:07 +01:00
Oliver Hamlet
46bcd3a10e
Only set up CMake install for shared library
...
The static library has a static dependency on libloot-cpp that causes more difficulty, and resolving that isn't a priority since I don't use libloot as a static library.
2025-07-23 19:10:47 +01:00
Oliver Hamlet
40f3ece061
Add LIBLOOT_BUILD_SHARED CMake option
...
To avoid libloot setting the global BUILD_SHARED_LIBS when used through FetchContent.
2025-07-23 19:07:41 +01:00
Oliver Hamlet
fdd84b11b8
Fix using libloot through CMake's FetchContent
...
- Use PROJECT_SOURCE_DIR and PROJECT_BUILD_DIR instead of CMAKE_SOURCE_DIR and CMAKE_BUILD_DIR because libloot's CMakeLists.txt may not be the top-level one.
- Specify the working directory when calling cargo
- Define an alias and export the loot target so that it's usable without installing the built artifacts first
2025-07-23 18:20:57 +01:00
Oliver Hamlet
b6d9cb0d9e
Remove the libloot_internals_tests target
...
Move its tests to libloot_tests, as there's nothing in the internals that can't be just as easily tested through the public API.
2025-07-22 19:56:21 +01:00
Oliver Hamlet
bdc1f827f6
Make Game::set_additional_data_paths() take Vec<PathBuf>, not &[&Path]
2025-07-22 19:56:21 +01:00
Oliver Hamlet
3d4320c2c9
Compile C++ code with /MP on MSVC
...
This reduces the build time from 32.8s to 28.6s for clean builds on my PC.
2025-07-22 19:56:21 +01:00
Oliver Hamlet
fee6504fa8
Move deny lints to Cargo workspace config
...
To reduce duplication and make it clearer which denials are then overridden for each crate.
2025-07-22 19:56:21 +01:00
dependabot[bot] and GitHub
be7596f747
Bump delegate from 0.13.3 to 0.13.4
...
---
updated-dependencies:
- dependency-name: delegate
dependency-version: 0.13.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 18:32:31 +00:00
Oliver Hamlet
03d835f965
Improve readmes
2025-06-15 20:12:24 +01:00
Oliver Hamlet
fa193c1bdd
Merge branch 'rust-rewrite' into master
2025-06-11 21:21:55 +01:00
Oliver Hamlet
f4511b99bb
Move cpp/docs to docs
2025-06-11 19:06:08 +01:00
Oliver Hamlet
e7f2098519
Remove Miscellaneous Details docs page
...
- The string encoding and errors sections move to the reference page
- The metadata files section moves to the introduction page
- The language codes section is already detailed in a C++ header doc comment
- The caching section is already detailed in C++ header doc comments
- The performance section is outdated and isn't worth keeping once updated.
2025-06-11 17:49:27 +01:00
Oliver Hamlet
96f2744d0a
Move copyright licenses under API documentation
2025-06-11 17:48:00 +01:00
Oliver Hamlet
10ef260817
Exclude .venv directory from sphinx
2025-06-11 17:46:35 +01:00
Oliver Hamlet
efc3e21530
Improve docs for language values
2025-06-11 17:46:19 +01:00
Oliver Hamlet
baa94903c5
Move relevant usage notes to the changelog
2025-06-08 20:59:15 +01:00
Oliver Hamlet
db9f51a2b2
Update changelog and version for 0.27.0
2025-06-08 20:59:14 +01:00
Oliver Hamlet
5e52b30815
Fix indentation in C++ test file
2025-06-08 20:26:08 +01:00
Oliver Hamlet
4c54a93920
Update a couple of docs dependencies
2025-06-08 20:26:08 +01:00
Oliver Hamlet
155fce02be
Match the order of compile options in C++ libloot
2025-06-08 20:26:08 +01:00
Oliver Hamlet
2d846d17e9
Fix indentation in CMake file
2025-06-08 20:26:08 +01:00
Oliver Hamlet
180196f395
Update Google Test to v1.16.0
2025-06-08 20:26:08 +01:00
Oliver Hamlet
649b4748bd
Remove ConditionalMetadata
...
While it makes sense, it doesn't really add any value and there is value in having all the relevant data and methods in a single class.
2025-06-08 20:26:07 +01:00
Oliver Hamlet
11bd321861
Rework handling of esplugin errors
...
The error scenario represented by PluginNotLoadedError is distinguished from all other esplugin errors by LOOT, so it's worth handling separately.
2025-06-08 20:26:07 +01:00