13 Commits

Author SHA1 Message Date
Stephen E. Baker
bb5f323963 CTest fixes
* Allow ctest to run from build dir
* Remove extra libs linked to ctest
* Prevent test from running twice

Manually adding tests isn't useful as we have catch_discover_tests which
does the same thing on a granular basis for catch2
2025-05-16 21:47:51 -04:00
Stephen E. Baker
9263bce95a Extra debug information on appveyor test failure 2025-05-16 21:47:51 -04:00
Stephen E. Baker
5c638a2dba Switch to external vcpkg with manifests
Adds support for independently versioning different vcpkg
dependendencies, better binary cache support, and external registries
for specific ports which are now used instead of forking for ffmpeg and
sdl2_mixer.

If you previously built using USE_VCPKG_DEPS you need to migrate
to the new build method.

1. Delete your CorsixTH/vcpkg directory.
2. Delete your build directory
3. Download and install vcpkg following the instructions at:
   https://learn.microsoft.com/en-us/vcpkg/get_started/get-started
4. Run `cmake --prefix dev`
5. Open the visual studio project for your new build directory at
   `./build/dev`
2024-02-18 13:40:52 -05:00
Stephen E. Baker
3e11b55dd4 Add soundfont to appveyor 2023-05-06 20:07:32 -04:00
Stephen E. Baker
dc30786961 Only build release dependencies appveyor
To cut down the build time when vcpkg cannot be loaded from cache.
2023-05-03 20:19:03 -04:00
Stephen E. Baker
b8ad7b5c12 Use Visual Studio 2019 for appveyor
Visual Studio 2017 image wasn't compatible with Lua 5.4
2021-05-16 18:56:18 -04:00
DavidFair
1dd1672127 Add Catch2 for unit testing (#1550)
Adds catch 2 to CMakeLists in a basic form which duplicates all files
across, with an example test to validate it runs correctly

Moves the implementation of CorsixTH into a main executable and a
seperate static lib we can link against for unit testing. This means we
don't have to mess around with deps for unit testing.

Appveyor and travis changes
2019-06-14 08:16:23 -04:00
Stephen E. Baker
c1bd0668c4 Fix appveyor script 2019-03-11 19:59:56 -04:00
Stephen E. Baker
031640f7ef Take advantage of built in vcpkg in appveyor 2017-11-10 21:41:30 -05:00
Stephen E. Baker
6768a00be8 Use release build for appveyor so it can be run without VS 2016-06-03 08:52:21 -04:00
Stephen E. Baker
fc64fe9de9 Include Campaigns with AppVeyor 2016-04-04 11:19:42 -04:00
Stephen E. Baker
4799271e2d Use Visual Studio 2015 for AppVeyor 2016-04-04 11:19:11 -04:00
Stephen E. Baker
a001c9d244 Add script for appveyor build system
Appveyor users Windows virutal machines and MSVC for continuous integration
2015-09-20 19:38:11 -04:00