13 Commits
Author SHA1 Message Date
Oliver Hamlet 10fa75b60c Remove unnecessary rpath config 2024-09-04 19:45:21 +01:00
Oliver Hamlet 3ca8d8b179 Increase test discovery timeout
When running test discovery through Wine the executable startup is
very slow, so it can take longer than the default 5 second timeout.
2024-09-04 19:42:41 +01:00
Oliver Hamlet a9e5b3d1bb Update Google Test to 1.15.2 2024-08-24 11:12:59 +01:00
Oliver Hamlet 35bbc28dba Integrate tests with CTest 2024-08-09 19:16:01 +01:00
Oliver Hamlet e6cdbb2e71 Use Starfield plugins in Starfield tests 2024-06-28 18:38:36 +01:00
Oliver Hamlet 8a02621bb2 Recognise new Fallout 4 BA2 versions
This assumes that there are no relevant differences in how the new versions store file paths and hashes.
2024-04-29 18:02:13 +01:00
Oliver Hamlet b7f9dfef4a Tidy up setting target-specific flags 2024-04-28 15:18:03 +01:00
Oliver Hamlet d14db4fcb2 Create package usable with CMake's find_package()
This changes the archive's directory structure to use the standard layout on Linux. While it makes less sense on Windows, it's probably easier to deal with a consistent layout.
2024-04-28 15:18:03 +01:00
Oliver Hamlet 69b0cee405 Remove linking to stdc++fs on Linux
It's not been necessary since GCC 9.1 and isn't present with GCC 12.
2024-04-28 15:17:29 +01:00
Oliver Hamlet f49cb27d4c Improve handling of Boost dependency 2024-04-28 15:17:16 +01:00
Oliver Hamlet 87504b9b26 Switch yaml-cpp to FetchContent
So that an existing installed copy it can be used more easily.
2024-04-28 15:17:15 +01:00
Oliver Hamlet dd9755b26c Switch spdlog to FetchContent
So that an existing installed copy it can be used more easily.
2024-04-28 15:17:15 +01:00
Oliver Hamlet 9c17322340 Make the CMake config for tests optional
Managed using the new LIBLOOT_BUILD_TESTS config option, which defaults to ON.

Also manage the Google Test and testing-plugins dependencies using FetchContent, as it integrates more neatly with FindPackage.

This means that if you're not interested in the tests, you don't need to build them or download and build Google Test or download the testing plugins.
2024-04-28 15:17:12 +01:00