Commit Graph

58 Commits

Author SHA1 Message Date
Ted John c67962577a Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING 2020-04-26 14:35:08 +01:00
Ted John e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
Ted John bac91cd563 Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
Ted John 639faa2085 Fix GCC issues 2020-04-26 14:35:03 +01:00
Ted John a1ebcdea5c Add duktape library 2020-04-26 14:34:58 +01:00
Ted John be9cb19df5 Replace cURL with WinHttp implementation on Windows
This reduces the number of third party dependencies for Windows builds. WinHttp is quite a nice straight forward API so doesn't involve too much extra code.
2020-02-08 17:47:03 +00:00
Ted John d6da718717 Link to bcrypt instead of ncrypt 2020-02-05 21:24:31 +00:00
Ted John c8ef6233aa Add CNG implementation of crypto functions 2020-02-04 22:49:43 +00:00
Ted John 06174adf14 Revert "Fix Windows debug builds"
This reverts commit 90f788efd1.
Original problem was environment related.
2020-02-04 20:40:37 +00:00
Ted John 90f788efd1 Fix Windows debug builds 2020-02-02 01:54:29 +00:00
Ted John 0689829980
Update Windows dependencies to v20 (#10642) 2020-02-01 21:38:07 +00:00
Ted John c06476f93f Update target Windows SDK to 10.0.17763.0 (#9190) 2019-05-02 21:07:02 +02:00
Ted John 381e2c12bc Fix debug builds 2019-02-01 19:25:17 +00:00
Michał Janiszewski f2233d3cc3 Update MSVC project to use Google benchmark 2019-01-22 19:45:56 +01:00
Aaron van Geffen 85bc21ce25 Adjust IncludePath for the MSVC project. 2019-01-07 22:08:06 +01:00
Michał Janiszewski 23f930043b Auto-upload crashes to backtrace.io 2018-10-24 23:36:14 +02:00
Michał Janiszewski afacbdb57e Link against breakpad 2018-08-25 22:13:43 +02:00
Michał Janiszewski 1135cbb5d0 Use C++17 explicitly in MSVC project (#7751)
Use C++17 explicitly instead of relying on the moving target of
"latest" to match all other compiler settings.
2018-07-03 12:07:14 +01:00
Michael Steenbeek ec3a1e575e
Replace Math::Min and Max with std variants 2018-06-20 17:11:35 +02:00
Ted John 2c64bbf3e3 Change msvc projects to use winssl triplet from vcpkg 2018-05-26 18:57:37 +01:00
Ted John 34531f7afb
Fix signed/unsigned mismatch warnings (#7529)
Unignore MSVC warning: C4245:
'conversion_type': conversion from 'type1' to 'type2', signed/unsigned mismatch
2018-05-16 21:22:17 +01:00
Ted John efb9f8a006 Enable full debug information for MSVC 2018-04-17 17:41:04 +01:00
Ted John cd562f2ff2 Add msbuild property to use shared libraries 2018-03-09 16:28:48 +01:00
Ted John 39a38dc193 Include SDL2 using sub directory 2018-03-09 16:28:47 +01:00
Ted John cd6739c340 Use debug CRT for debug
Now that we can link to debug versions of our dependencies we can now use the debug CRT.
2018-03-09 16:28:47 +01:00
Ted John 3cba240035 Keep default libs 2018-03-09 16:28:47 +01:00
Ted John 3bbc34d841 Set vcpkg triplet 2018-03-09 16:28:47 +01:00
Ted John d2864a139b Use new dependencies split format 2018-03-09 16:28:47 +01:00
Michał Janiszewski f2d1cd418f Force AVX2 project-wide for MSVC 2018-02-12 22:24:22 +01:00
Michał Janiszewski 50f4d8d73a Add /Zc:externConstexpr option to MSVC 2018-01-29 15:37:17 +01:00
Justin Gottula d93a07a58d Disable link-time code generation for MSVC Debug builds
Every time I do a debug build, I get a warning message from the linker
telling me that /LTCG is doing nothing and that removing it from the
options will speed up the linking process.

(I believe this is due to LTCG being incompatible with incremental
linking; and AFAIK incremental linking is enabled in debug builds by
default.)
2018-01-22 01:39:30 +00:00
Ted John d48f8c4f36 Enable SSE4.1 for Windows builds 2018-01-01 23:49:09 +01:00
Ted John 99d7aaa2d6 Remove RCT2 interop 2017-12-04 19:04:06 +00:00
Ted John f4263d2cec Update VS dependencies to v13 2017-08-28 13:10:43 +01:00
Ted John c87a0e59fd Use dedicated msbuild property for enabling warnings 2017-07-24 22:04:40 +02:00
Michał Janiszewski 252f3fd5c4 Add more warnings to MSVC 2017-07-24 22:04:40 +02:00
Michał Janiszewski 41819c5fb3 Fix the warnings section 2017-07-24 22:04:40 +02:00
Michał Janiszewski f72b5b51a4 Manually enable some warnings in MSVC 2017-07-24 22:04:40 +02:00
Michał Janiszewski 7503e963fd Add /permissive- switch to MSVC
MSVC2017 has a new compiler switch to become more conformant. See
https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/

On MSVC2015 (as used currently in our AppVeyor setup) this switch is
safely ignored.

This should help reduce the need to fix build errors only found on
Travis et al.
2017-07-24 12:31:36 +02:00
Ted John d90b29d1de Define NDEBUG on Windows 2017-07-19 18:19:13 +01:00
Ted John c609a0bff8 Remove RCT2 interop code in proj / prop files 2017-06-13 12:23:26 +01:00
Ted John a5e4a0965f Ignore final warnings for X8DrawingEngine 2017-06-10 15:48:05 +01:00
Hielke Morsink b7ca273d0d Set 'Show all files' on by default in VS 2017-05-15 16:03:06 +02:00
Ted John 57dc2af732 Update VS prerequisites and force Windows 10 SDK 2017-03-18 02:05:21 +00:00
Ted John 3a4bc87198 Allow control of assertion behaviour
This allows tests to change the behaviour at runtime so that OpenRCT2 aborts instead of showing a message box.
2017-02-09 17:57:39 +00:00
Ted John 13a8eee1b4 More warning fixes, more warnings disabled 2017-01-12 13:12:53 +00:00
Ted John ca9c3cc5ee Fix more warnings, disable others 2017-01-12 13:00:12 +00:00
Ted John 498c60ebb6 Remove C4310 and document other warnings 2017-01-12 12:28:19 +00:00
Ted John 6126a60ac9 Increase warning level
Disables various warnings of which there are too many to solve right now.
2017-01-12 12:28:19 +00:00
Ted John a2e3f10ca1 Update VS project files 2017-01-04 18:28:37 +00:00