Commit Graph

79 Commits

Author SHA1 Message Date
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
Ted John c4926ff8d5 Define ZIP_STATIC 2016-12-16 01:25:01 +00:00
Ted John 020bb99cae Add libzip to includes for VS project 2016-12-16 01:25:01 +00:00
Ted John c8dbc24ceb Enable all C++ features for MSVC 2016-12-16 01:19:41 +00:00
Ted John 433207dc81 Do not assert when testing 2016-12-02 17:18:45 +00:00
Ted John 872976bff4 Force UTF-8 compile and fix manifest DPI 2016-12-02 10:49:58 +00:00
Ted John 4ccb50409b Add test configurations 2016-12-02 02:49:50 +00:00
Ted John 91e19c7d48 Move a lot of the common properties to a shared props file 2016-12-02 00:59:52 +00:00
Ted John ee0ca426b3 Allow building for both VS2015 and VS2017 2016-11-26 23:53:29 +00:00