Joshua Ashton
403af8820b
build: Disable SSSE3
...
Apparently people are still using Phenoms in 2021. *sigh*
2021-03-27 13:23:27 +00:00
Joshua Ashton
dd2823287a
build: Enable -mfpmath=sse
2021-03-27 12:33:37 +00:00
Joshua Ashton
f8c7e29d6f
build: Enable SSE3 and SSSE3 for x86
2021-03-27 12:33:05 +00:00
Joshua Ashton
0367bf95c4
[build] MSVC check cleanup
2021-03-03 18:57:42 +01:00
Joshua Ashton
aae889ccd9
[build] Use --file-alignment=4096 with MinGW
...
Avoids a copy in the Wine loader as well as enables debug symbols to work in perf.
2021-03-03 18:57:42 +01:00
Philip Rebohle
5083b8474c
[meta] Release 1.8.1
2021-03-01 16:49:02 +01:00
Philip Rebohle
d66ecf4a94
[meta] Release 1.8
2021-02-19 05:29:50 +01:00
Nicholas Fraser
cd49d03ee9
[build] Add optional build-id
...
Build-ids are required for doing certain kinds of performance tracing.
For example build-ids let Linux perf find the correct objects and
transfer them to other machines via "perf archive".
This adds an option to add -Wl,--build-id to the linker. It can be
enabled by passing -Dbuild_id=true to meson or --build-id to
package-release.sh.
Signed-off-by: Nicholas Fraser <nfraser@codeweavers.com>
2021-02-18 17:52:55 +01:00
Philip Rebohle
8163eb4185
[meta] Do not use built-in arguments
...
Breaks ancient meson versions. Should fix #1893 .
2021-01-12 00:54:16 +01:00
Philip Rebohle
7d673063f5
[meta] Move SSE/SSE2 enablement out of cross files
...
Fixes Proton build, which uses an outdated Meson version.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2021-01-04 01:00:10 +01:00
Philip Rebohle
b67639bdf0
[meta] Release 1.7.3
2020-12-02 16:14:56 +01:00
Philip Rebohle
7b9644f355
[meta] Release 1.7.2
2020-10-07 17:41:54 +02:00
Philip Rebohle
ea53923406
[meta] Release 1.7.1
2020-08-13 19:10:20 +02:00
Biswapriyo Nath
3b52cad243
fix clang errors
...
File changes:
* meson.build: add -Wno-unused-private-field and -Wno-microsoft-exception-spec
option to suppress clang compiler warnings
* d3d9/d3d9_swvp_emu.h: include unordered_map for std::unordered_map
2020-07-21 11:41:28 +02:00
Biswapriyo Nath
0b4489a31c
meson: use if-else to detect rc compiler
...
this will help to add/build other architecture
2020-07-15 10:05:50 +02:00
Philip Rebohle
2e378257ea
[meta] Release 1.7
2020-05-16 17:07:18 +02:00
Philip Rebohle
436357e280
[meta] Remove support for winelib builds
...
Untested, unmaintained, and constantly causing issues on various
setups for no apparent reason. Time to get rid of it for good.
Closes #1584 .
2020-04-20 17:35:08 +02:00
Philip Rebohle
dbc9f40aa1
[meta] Release 1.6.1
2020-04-19 21:43:03 +02:00
Philip Rebohle
9c7945d936
[meta] Release 1.6
2020-03-20 16:07:25 +01:00
Joshua Ashton
19842532c2
[build] Specify C++ std manually in meson build
...
Meson doesn't specify this otherwise...
2020-03-18 03:47:55 +00:00
nopjmp
3835230ce5
[meta] use c++latest only for old versions of MSVC
...
c++latest is only needed for c++17 features when the compiler is before MSVC 15.3
2020-03-14 11:26:03 +01:00
Philip Rebohle
1e426cdb08
[meta] Release 1.5.5
2020-02-29 15:45:57 +01:00
Philip Rebohle
2435c6369c
[meta] Release 1.5.4
2020-02-07 01:02:22 +01:00
Philip Rebohle
6a5d472e60
[meta] Release 1.5.3
2020-01-30 16:17:31 +01:00
Philip Rebohle
e242d7f312
[meta] Release 1.5.2
2020-01-25 00:32:25 +01:00
Philip Rebohle
4308d9b4b3
[meta] Release 1.5.1
2020-01-09 20:10:58 +01:00
Philip Rebohle
3cdae3ae1d
[meta] Release 1.5
2019-12-16 14:41:29 +01:00
Joshie
54ed8f0bb0
[d3d9] Implement Direct3D9 Frontend ( #1275 )
...
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Co-authored-by: Robin Kertels <robin.kertels@gmail.com>
Co-authored-by: pchome <pchome@users.noreply.github.com>
Co-authored-by: Christopher Egert <cme3000@gmail.com>
Co-authored-by: Derek Lesho <dereklesho52@Gmail.com>
Co-authored-by: Luis Cáceres <lacaceres97@gmail.com>
Co-authored-by: Nelson Chen <crazysim@gmail.com>
Co-authored-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Co-authored-by: Riesi <riesi@opentrash.com>
Co-authored-by: gbMichelle <gbmichelle.dev@gmail.com>
2019-12-16 04:28:01 +01:00
Philip Rebohle
0e44bc3068
[meta] Release 1.4.6
2019-12-03 14:52:22 +01:00
Philip Rebohle
9e965546fc
[meta] Release 1.4.5
2019-11-19 23:36:01 +01:00
Philip Rebohle
7db98a1aa4
[meta] Release 1.4.4
2019-10-27 17:56:31 +01:00
Philip Rebohle
ad3542f4fc
[meta] Release 1.4.3
2019-10-18 17:50:38 +02:00
Philip Rebohle
70ef456911
[meta] Release 1.4.2
2019-10-04 21:07:36 +02:00
Philip Rebohle
6b5d01c934
[meta] Release 1.4.1
2019-09-27 23:03:23 +02:00
Philip Rebohle
21b2a9a078
[meta] Release 1.4
2019-09-21 16:15:37 +02:00
Philip Rebohle
e2808309a3
[metæ] Release 1.3.4
2019-09-08 21:03:46 +02:00
orbea
c57e63f7d2
Work around build failure with winegcc/clang. ( #1184 )
...
Fixes #1182 .
2019-09-05 18:01:33 +02:00
Philip Rebohle
2466992549
[meta] Use -std=c++17
...
Realistically, there is no way to build recent versions of DXVK
anymore with a compiler that doesn't have C++17 support.
GCC 8.x (maybe 7.x?) or Clang 5.x should support this.
2019-09-01 13:36:47 +02:00
Philip Rebohle
2776ef43a3
[meta] Release 1.3.3
2019-08-29 20:56:47 +02:00
Jacek Caban
e7b71926e3
[build] Check if --add-stdcall-alias and --enable-stdcall-fixup is supported before using it.
...
lld-link linker does not support nor need it.
2019-08-26 20:07:58 +02:00
Philip Rebohle
9fdd7bf789
[meta] Release 1.3.2
2019-08-05 20:38:22 +02:00
Philip Rebohle
f5cec978c8
[meta] Release 1.3.1
2019-07-20 20:33:19 +02:00
Philip Rebohle
7cb385facd
[meta] Release 1.3
2019-07-13 19:15:30 +02:00
Philip Rebohle
7491c06389
[meta] Release 1.2.3
2019-06-26 17:33:57 +02:00
Philip Rebohle
dc3e5e5949
[meta] Release 1.2.2
2019-06-15 12:58:31 +02:00
Philip Rebohle
cdc5e93dac
[meta] Release 1.2.1
2019-05-19 14:43:33 +02:00
Philip Rebohle
26602b296f
[meta] Release 1.2
2019-05-13 20:40:11 +02:00
Philip Rebohle
37f9a7ffff
[meta] Release 1.1.1
2019-05-04 15:59:18 +02:00
Robin
fd9a938c7e
[build] Fix MSVC build with version info
2019-04-08 10:14:57 +02:00
Philip Rebohle
1da7b1e87c
Revert "[meta] Release 1.1"
...
This reverts commit a696f69ec2
.
2019-04-07 10:13:18 +02:00
Philip Rebohle
a696f69ec2
[meta] Release 1.1
2019-04-06 16:26:21 +02:00
pchome
3eb9f35fc3
[build] Use generator
to produce resource files
2019-04-06 11:33:45 +02:00
pchome
67446eda47
[build] Fix winelib wrc
2019-04-06 11:33:45 +02:00
Sveinar Søpler
4f9dd8d3d0
[build] Add version info to compiled DLLs
...
Fixes #980 .
2019-04-05 21:09:57 +02:00
Philip Rebohle
7fa2fb5188
[meta] Release 1.0.1
2019-03-14 19:07:18 +01:00
Philip Rebohle
10140f40ca
[dxvk] Release 1.0
2019-02-25 20:26:50 +01:00
Philip Rebohle
455f60e00a
[utils] Remove winetricks verb and old setup script
2019-02-25 18:28:11 +01:00
Philip Rebohle
35c7d687ff
[meta] Release 0.96
2019-01-26 18:41:48 +01:00
Philip Rebohle
ddce33692c
[meta] Release v0.95
2019-01-12 21:42:49 +01:00
eszlari
22172b2afc
[build] Use meson_version ( #845 )
2019-01-04 11:46:08 +01:00
Philip Rebohle
92f3648efa
[meta] Release 0.94
2018-12-15 13:54:57 +01:00
Philip Rebohle
10b272b4c9
[meta] Release 0.93
2018-11-24 10:41:41 +01:00
Philip Rebohle
8d2f8fca64
[meta] Release v0.92
2018-11-11 16:16:01 +01:00
Philip Rebohle
5a1b37b770
[build] Don't use empty dependencies
...
Fixes build error with Meson 0.44.
2018-11-05 07:55:36 +01:00
Philip Rebohle
e0f1510901
[meta] Release 0.91
2018-11-04 17:23:27 +01:00
dhewg
a05c93dd17
cross build cleanup ( #746 )
...
- Don't turn off warnings for winelib builds, fix them. Using __declspec on winelib builds just doesn't make sense.
- Drop the custom cross property 'winelib'. Detect it instead.
- Move the libdl dependency to the build system
- Don't run wine during mingw build process. Same as for wine builds, see 715d2571
2018-11-04 16:18:32 +01:00
Philip Rebohle
890e5f8c9c
[meta] Release v0.90
2018-10-13 16:31:32 +02:00
Philip Rebohle
09bbb68d98
[meta] Release v0.81
2018-10-05 21:14:11 +02:00
Jens Peters
a29f698305
[build] Indicate the working tree status in the version string. ( #679 )
...
This adds '+' to the version string when the working copy is dirty.
See https://git-scm.com/docs/git-describe
2018-09-30 22:19:05 +02:00
Philip Rebohle
1c865328d3
[meta] Release v0.80
2018-09-23 19:01:15 +02:00
Philip Rebohle
dc29eb4d07
[meta] Release 0.72
2018-09-14 19:24:43 +02:00
Philip Rebohle
ae62499e3a
[meta] Release v0.71
2018-09-02 11:40:38 +02:00
Jacek Caban
95e04de3ad
[build] Use d3dcompiler as lib name when linking to d3dcompiler_47 in winelib build.
...
As of 169c033bda
Wine provides an importlib d3dcompiler that links to d3dcompiler_47, just like MSVC does.
2018-08-31 05:37:34 +02:00
jacekcw
2ff614b241
[build] Use native Vulkan ABI for winelib builds ( #520 )
...
Allows 32-bit winelib builds to run.
2018-08-17 19:55:37 +02:00
Philip Rebohle
0aa427d5d8
[meta] Release 0.70
2018-08-17 12:44:54 +02:00
Philip Rebohle
11e9ebdf81
[meta] wine_utils -> utils
2018-08-17 11:50:36 +02:00
Mikhail Paulyshka
9cce41394b
[build] partially revert previous d3dcompiler related change
2018-08-15 21:59:44 +02:00
Philip Rebohle
3df313bf6d
[meta] Revert accidental d3dcompiler version change
2018-08-15 20:41:56 +02:00
Philip Rebohle
fabcdbc3ae
[dxbc] Add definitions for extended double instructions
2018-08-15 20:11:34 +02:00
Mikhail Paulyshka
3df708d500
[build] reduce the number of d3dcompiler versions
2018-08-15 13:17:16 +02:00
Philip Rebohle
861165f32a
[meta] Fix formatting errors
...
Some filthy little tabs have somehow made
it into the world of spaces to wreak havoc.
2018-08-13 18:30:51 +02:00
Philip Rebohle
8c1063b512
[d3d10] Add build files and implement D3D10CreateDevice functions
2018-08-13 17:22:00 +02:00
Philip Rebohle
294bdf5bd4
[meta] Release v0.65
2018-08-12 13:06:44 +02:00
Philip Rebohle
96176e3952
[meta] Release v0.64
2018-08-03 15:18:30 +02:00
Philip Rebohle
e555df93a1
[build] Improve winelib builds
...
Closes #513 , which this is based on.
2018-07-28 15:07:36 +02:00
Philip Rebohle
d11b8b5402
[meta] Release 0.63
2018-07-21 13:47:27 +02:00
Mikhail Paulyshka
f38ee85a39
[build] Fix compilation on MSVC ( #505 )
...
* [build] do not use shared_library/objects property with MSVC
* [util] use ./com/com_include.h instead of windef.h
It is required for Windows 10 SDK.
* [util] store thread procedure lambda in std::function
* [dxgi] fix annoying MSVC warning
warning C4099: 'IDXGIVkInteropDevice': type name first seen using 'class' now seen using 'struct'
2018-07-21 12:43:33 +02:00
Jacek Caban
ead2147738
[build] Use -mwindows to link executables.
2018-07-19 08:55:34 +02:00
Jacek Caban
06511aa72c
[build] Use .spec files instead of .def files in winelib build
2018-07-19 08:55:34 +02:00
Jacek Caban
635a43fefe
[build] Explicitly specify .dll and .exe extensions in winelib build
...
meson can't handle that itself.
2018-07-19 08:55:34 +02:00
Jacek Caban
2fb0ccae7f
[buid] Support linking system DLLs in winelib builds
...
find_library doesn't work when using winegcc. Specify linker command instead.
2018-07-19 08:55:34 +02:00
Jacek Caban
f81de6bacf
[build] Define NOMINMAX for all toolchains
...
mingw doesn't need it for C++, but won't hurt to be more explicit. Both msvc and Wine need it.
2018-07-19 08:55:34 +02:00
Philip Rebohle
f7691d4db7
[meta] Release v0.62
2018-07-14 08:47:42 +02:00
varris1
336cb6a67b
[build] Moved git command into the command list ( #493 )
...
According to the meson documentation, vcs commands need to be a part
of the command string list. Right now, it pulls the version number no
matter what.
2018-07-11 19:26:45 +02:00
Philip Rebohle
2fce0a7685
[build] Extract version number from git if available
...
Logs the version number and game executable name as well.
2018-07-11 17:39:00 +02:00
Joshua Ashton
5e1f478673
[build] add_global_arguments -> add_project_arguments ( #339 )
2018-05-03 04:09:33 +02:00
Joshua Ashton
cfd3723221
Workaround for C++ STD not being set on MSVC/Visual Studio 2017 ( #304 )
2018-04-19 11:47:17 +02:00
Adrià Cereto Massagué
1bfd37a013
Some changes to the packaging script ( #162 )
...
* enable unity build for releases
* let the packaging script work wth relative paths
* add build option to enable building the test binaries; disabled by default
* disable unity build until it's been more tested
2018-03-14 20:38:38 +01:00
Philip Rebohle
25cae39cdb
[spirv] Remove SPIR-V tools integration
...
SPIR-V tools did not turn out to be useful, but increased the
binary size by a significant amount and caused build problems.
- spirv-opt: Far too slow for the intended purpose, and Nvidia
specific shader issues have been reported and fixed.
- spirv-val: Not much value in practice since shaders can be
written to a directory and validated manually.
2018-03-13 14:32:03 +01:00
Mikhail Paulyshka
9deb73a2a7
Add support for MSVC, attempt 3 ( #130 )
...
* [dxvk] fixes for MSVC
* nullptr -> int is illegal conversion for MSVC. nullptr was replaced with VK_NULL_HANDLE
* MSVC does not support source code strings longer than 65535 chars. String was replaced with array of chars.
* [utils] fixes for MSVC
* __mingw_uuidof() does not exists in MSVC
* apply GCC pragma only for GCC
* added missing header
* [dxbc] fixes for MSVC
*added missing header
* [dxgi] fixes for MSVC
* user __declspec(uuid()) instead of _mingw_uuidof()
* do not use DLLEXPORT macro for MSVC
* [d3d11] fixes for MSVC
* replace WINBOOL with BOOL
* do not declare D3D11 structs for MSVC
* do not use DLLEXPORT macro for MSVC
* [meson] fix build scripts for MSVC
* change cpp version from c++1z to c++latest for MSVC
* set -DOMINMAX definition for MSVC
* disable test and wine_utils for MSVC
* use .def files instead of __declspec(dllexport) for MSVC (bypass 'C2375: redefinition; different linkage' error)
* fix .def files for MinGW
* add --enable-stdcall-fixup linker flag for MinGW
2018-03-06 18:34:34 +01:00