Oliver Hamlet
2b59b6f76a
Set /MP for specific CMake targets
...
So that libloot doesn't override the global setting if included as a dependency.
2025-08-01 18:19:48 +01:00
Oliver Hamlet
4acc64247e
Deduplicate Cargo package fields across workspace
...
Also deduplicate version numbers in CMakeLists.txt.
2025-07-31 22:08:46 +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
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
f4511b99bb
Move cpp/docs to docs
2025-06-11 19:06:08 +01:00
Oliver Hamlet
db9f51a2b2
Update changelog and version for 0.27.0
2025-06-08 20:59:14 +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
Oliver Hamlet
2b0eec9929
Remove ConditionSyntaxError
...
It's not usefully different from throwing std::runtime_error.
2025-06-08 17:58:27 +01:00
Oliver Hamlet
fe3e2b2711
Remove FileAccessError
...
It wasn't usefully different from just throwing std::runtime_error.
2025-06-08 17:58:27 +01:00
Oliver Hamlet
ba50882ad3
Update changelog and version for 0.26.3
2025-06-08 09:23:43 +01:00
Oliver Hamlet
699915efff
Update the versions and changelog to 0.26.2
...
To reflect the v0.26.2 release of the C++ implementation.
2025-05-16 23:28:01 +01:00
Oliver Hamlet
7b870488c4
Copy docs from C++ libloot
2025-05-08 19:27:13 +01:00
Oliver Hamlet
eabc7a5d85
Sync with libloot v0.26.1
...
Aside from adding GameType::oblivionRemastered and its usage, this is almost entirely about moving C++ files and tests around.
2025-05-02 17:56:49 +01:00
Oliver Hamlet
83d9420422
Rename cxx directory to cpp
...
Also update the crate name and references to it. This helps distinguish the C++ wrapper that's built using CXX from CXX itself.
2025-04-29 17:42:46 +01:00