Commit Graph

22 Commits

Author SHA1 Message Date
pentarctagon
2c840acc68 try this baseline 2024-09-06 12:15:21 -05:00
pentarctagon
c8fbbadc27 fixes VS build issues apparently 2024-09-06 09:13:05 -05:00
Charles Dang
f1e6a0e0b1 Bump vcpkg baseline
Gives us (among other things) these updates:

Boost:             1.82                            -> 1.84
OpenSSL/libcrypto: 3.1.0a-dev (runtime 3.1.0a-dev) -> 3.2.0a-dev (runtime 3.2.0a-dev)
libcurl:           8.1.2 (runtime 8.1.2-DEV)       -> 8.6.0 (runtime 8.6.0-DEV)
Cairo:             1.17.8 (runtime 1.17.8)         -> 1.18.0 (runtime 1.18.0)
Pango:             1.50.14 (runtime 1.50.14)       -> 1.50.14 (runtime 1.50.14)
SDL:               2.26.5 (runtime 2.26.5)         -> 2.30.0 (runtime 2.30.0)
SDL_image:         2.6.3 (runtime 2.6.3)           -> 2.8.2 (runtime 2.8.2)
SDL_mixer:         2.6.3 (runtime 2.6.3)           -> 2.8.0 (runtime 2.8.0)
2024-02-28 13:18:26 -05:00
Rafael Fillipe Silva
dafb78cdf1 implement super cycle detection for the schema self validator
The super tag dependency forms a directed graph. Boost Graph's depth first search implementation was used with a back edge detector to find the cycles.

This is a preparation for enumerating all keys that a tag can use, including the keys from the super tags. If cycles aren't handled, it is impossible to validate mandatory keys without entering an infinite loop.
2024-02-26 10:12:43 -06:00
lomekragow
bf27dc89dd
add "pkgconf" to vcpkg.json (#7913) 2023-09-19 22:50:08 -05:00
Pentarctagon
8bc5d7b72f
address codeql issue (#7832) 2023-08-20 19:45:47 -05:00
Charles Dang
b50a8012ea Updated vcpkg baseline
As of 812080c89a,
libvorbis is "a dependency instead of a feature" of sdl2-mixer.
2023-07-08 15:10:39 -04:00
Pentarctagon
9315079389 Add curl-based functionality to download files from a URL.
This is a complement to #7416 where it replaces opening the replay's download URL in a browser with directly downloading it into the player's save folder.
2023-03-15 14:49:16 -05:00
Steve Cotton
be432e441b Bump vcpkg baseline to use a non-obsolete version of libtool
The vital commit is fd766eba2b4cf59c7123d46189be373e2cee959d, but
I'm taking the most recent version of vcpkg as the new baseline
because it might as well use the latest.
2023-01-17 14:09:46 +01:00
Charles Dang
ca83759ef0 Bump vcpkg baseline again to fix issue with images not loading in debug builds
T'was likely this fix https://github.com/microsoft/vcpkg/pull/28137
2022-12-17 22:26:01 -05:00
Pentarctagon
10f6357832 Update vcpkg schema URL. 2022-12-15 11:01:27 -06:00
Charles Dang
8e6f507910 Bump vcpkg baseline, update for new SDL_image config 2022-11-28 00:33:43 -05:00
Pentarctagon
0ac49cf126 Update vcpkg baseline. 2022-11-05 20:49:36 -05:00
Pentarctagon
c5ccc99e50 Let's try this instead.. 2022-08-30 22:40:30 -05:00
Pentarctagon
e85b64c6f0 See if this gets vcpkg caching working. 2022-08-30 22:22:40 -05:00
Charles Dang
c414056b8d
Fixed vcpkg build issue for port update to 2.6.1 (#6958) 2022-08-12 19:02:02 -04:00
Pentarctagon
f44acd68c2 Add build support for webp images. 2022-03-12 13:47:46 -06:00
Charles Dang
b2db5d0498 Don't link with boost::thread 2022-03-09 01:30:57 -05:00
Charles Dang
e6ff517950 Removed unused boost::assign and boost::multi-array includes and deps
boost::assign was removed a long time ago, and the only use of boost::multi-array was unused and removed in 9cf445e526.
2022-03-09 01:21:38 -05:00
Charles Dang
432ed5c32f Added openssl to vcpkg list explicitly 2022-01-14 14:12:19 -05:00
Iris Morelle
19da178e68 vcpkg: Boost 1.77 necessitates an explicit boost-math dependency 2021-10-21 14:25:11 -03:00
Pentarctagon
b95d72f9c1 Use cmake to create VS project files.
Due to an upstream change in vcpkg that breaks the simple integration previously available with `vcpkg integrate install`, building using that setup method is no longer possible. In order to work correctly, cmake must instead be used to generate the VS project files, since that is able to integrate with vcpkg, since vcpkg also uses cmake to build all the library dependencies.

An additional benefit of this is that it will no longer be necessary to separately update the VS project files since it will read the same source_lists files as cmake (on linux) and scons do.

This also enables running the WML unit tests on Windows with this in order to confirm that a valid wesnoth.exe is in fact being generated as well as fixes building the boost unit tests.

The warning level for both release and debug builds are now at level three, the remaining warnings have been fixed, and therefore strict builds have been enabled - any warning will now cause the build to fail, just like for the linux jobs.

Known issues:
* The boost unit tests don't actually run successfully - they fail on CI at least with an exit code on 201 - however I don't know if this is a real problem or just a problem with running headless on CI.
* The debug build doesn't quite work since the executables are built against the non-debug dlls but cmake copies over the debug dlls into the output directory. For now this can be worked around by copying the release dlls into the debug directory.
* The instructions in INSTALL.md are not very good since I don't use Windows and thus can't write anything more detailed. Ideally someone who uses Windows can add more detailed step by step instructions at some point.

Fixes #5741
2021-05-07 00:02:02 -05:00