Commit Graph

75 Commits

Author SHA1 Message Date
Matthias Moninger 62b0a5edfe
Build with link time code generation only on the develop branch 2023-03-26 16:50:18 +02:00
Matthias Moninger b8966a83e3
Enable Large address awareness for 32-bit builds (#19549)
* Enable large address awareness for 32 bit builds allowing 4GiB memory

* Fix debug builds failing for 32 bit

* Update changelog.txt
2023-03-04 15:55:40 +00:00
ACGNnsj d3ea4bfbc8
Remove Duplicated Preprocessor Macro Definition (#19376)
* Update openrct2.common.props

Remove duplicated preprocessor macro definition of _USE_MATH_DEFINES which defined in src/openrct2/common.h and SDL2/SDL_stdinc.h

* Remove the definition of _USE_MATH_DEFINES from 'common.h'
2023-02-14 08:19:58 +00:00
Silent 0f978fe907
Remove the last non-Unicode Windows functions 2022-10-07 15:05:43 +02:00
Ted John d493563f7e Fix windows builds 2022-06-06 23:41:14 +01:00
Michał Janiszewski 3bc5c6c563 Introduce MSVC ARM64 platform 2022-05-07 23:48:27 +02:00
Michał Janiszewski f3a24dbfef Only allow breakpad to be used on x86-like targets 2022-05-07 23:48:26 +02:00
Michał Janiszewski 4b810d9f46 Only use x86 extensions on x86-like targets 2022-05-07 23:47:54 +02:00
Michał Janiszewski feb89d1c0e Unify how Breakpad gets used in the project 2022-05-07 23:47:53 +02:00
Michał Janiszewski aa0b49de7b
Fix debug breakpad library name for libs v32 (#16900) 2022-03-28 21:06:54 +00:00
Michał Janiszewski dd0856a36d
Update MSVC dependencies to v32 (#16870)
* Remove vcpkg-provided duktape
  - Update include path to consume vendored copy of duktape
* Change names of libraries for linking
2022-03-25 20:52:06 +01:00
Ted John b5d66e099e Embed our own duktape library
Duktape is geared around compile time switches. We can't rely on shared libraries.
2022-01-18 18:29:27 +00:00
ζeh Matt 4e46fa4f6d
Enable parallel builds for debug configuration (#15324) 2021-09-06 12:35:20 +01:00
Ted John c204767176
Fix RTL for Windows 2020-09-18 19:46:12 +02:00
Simon Jarrett f3aba68e46 Update project build files 2020-09-16 20:18:54 +01:00
Matt 59349b0a31 Add WIN32_LEAN_AND_MEAN to common.props 2020-08-05 16:27:48 +02:00
Matt f604b41d14 Disable vcpkg for all projects 2020-07-25 20:02:57 +02:00
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