1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
tsjost
da8de34f7d Remove some more boost filesystem references 2021-10-12 21:53:56 +02:00
Paul Cercueil
528a686f24 cmake: SDL2: Fix SDL2 headers detection
We are looking for the SDL.h file inside a SDL2 folder located in the
standard include paths, so the path suffix should be simply SDL2.

The /usr/local/include/SDL2 and /usr/include/SDL2 are standard paths
with the SDL2 suffix, so they can be dropped.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-16 22:36:30 +01:00
Paul Cercueil
6ab92da5b0 cmake: FFmpeg: Fix regex for version detection
Fix regex to detect the "4.2.2-1+b1" version currently available on
Debian testing.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-16 22:32:33 +01:00
Filip Gawin
a63b084d31 Implement basic tests for audio decoding and playing 2019-04-10 20:29:34 +02:00
Anonymous Maarten
5e582fd393 conan: update qt, boost, ffmpeg, openal and sdl2 2019-01-05 05:22:28 +01:00
Anonymous Maarten
35731f2031 cmake: simplify wraptargets 2019-01-05 05:14:25 +01:00
Anonymous Maarten
80946d64e6 cmake: detect ffmpeg version 2019-01-05 05:14:25 +01:00
Anonymous Maarten
8efde3a5cb cmake: simplify FindSDL2 + detect SDL2 version
+ allow switching between static and shared SDL2
  without complete reconfiguration and rebuild.
2019-01-05 05:14:25 +01:00
Anonymous Maarten
c3573c8070 cmake: update code coverage cmake script
- add branch coverage
- ignore interface libraries
- ignore generator expressions
2018-12-28 00:58:10 +01:00
Anonymous Maarten
ca4a459e91 cmake: only match '^SF:/src/....' instead of '/src/...'
The previous regex erroneously matches the `src` subfolder of rwengine.
2018-11-29 01:57:48 +01:00
Anonymous Maarten
d43123ba50 ci: add ability to upload to codecov.io 2018-11-27 13:47:25 +01:00
Anonymous Maarten
d1cb0f143c cmake: detect glm version 2018-09-17 19:14:35 +02:00
Anonymous Maarten
7eab14bee0 conan: update + latest versions 2018-08-15 22:53:32 +02:00
Anonymous Maarten
b545b79a4b cmake: do not use rwdep::xxx targets 2018-08-15 09:12:01 +02:00
Anonymous Maarten
dc595748a0 rwtools: enable on ci 2018-08-10 00:48:59 +02:00
Filip Gawin
7fafd3728e Usage of resampler for sounds
Commit fixes #458.

It also loosens the connection
between decoder and player (openAL).

It allows to easier replace
player if there's need.
2018-07-22 20:15:14 +02:00
Anonymous Maarten
7d2da28dbc cmake: add ability to compile using conan package manager 2018-06-14 02:26:18 +02:00
Anonymous Maarten
b6a2b2181d cmake: do not override find modules but wrap them separately 2018-06-14 02:10:54 +02:00
Anonymous Maarten
1e6f9a1edc cmake: detect clang-tidy using cmake module + add helper function 2018-06-07 04:55:21 +02:00
Anonymous Maarten
27fb8bd462 cmake: windows static ffmpeg build has dependency on swresample 2018-02-13 22:15:26 +00:00
Anonymous Maarten
590509037c cmake: let sources depend on the iwyu mapping file 2018-01-08 22:52:48 +00:00
Anonymous Maarten
66b576dcee cmake: simplify packages to ALIASed libraries 2017-12-17 01:36:08 +00:00
Anonymous Maarten
9231ecbcb0 cmake: use OpenGL::GL instead of OpenGL::OpenGL
- OpenGL::GL -> defined to the platform-specific OpenGL libraries
- OpenGL::OpenGL -> defined to libOpenGL if the system is GLVND
2017-12-17 01:36:08 +00:00
Anonymous Maarten
934506f0c8 cmake: Optionally create XXX:XXX targets for override packages 2017-12-17 01:36:08 +00:00
Anonymous Maarten
a40a2706a9 cmake: add support for include-what-you-use to check #include's
The output is currently very verbose and includes many false positives.
Adding a mapping file should solve this.

See
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md
2017-10-29 20:40:57 +00:00
Anonymous Maarten
06c4bf09f7 cmake: make OpenGL an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
5dc707aaed cmake: make OpenAL an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
6ccf85b770 cmake: make bullet an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
66a28acaa4 cmake: make SDL2 an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
9f1ba0fe76 cmake: make ffmpeg an imported target 2017-10-29 20:40:57 +00:00
Anonymous Maarten
47dbea1bb4 cmake: make glm an imported target 2017-10-29 20:40:57 +00:00
darkf
727dbbd218 Remove unnecessary CMake modules 2017-09-16 19:50:51 +01:00
darkf
c08342f1f7 Add FindFFmpeg.cmake 2017-09-16 19:50:51 +01:00
Anonymous Maarten
7bc501106c cmake: cmake does not fail when libmad-devel is not installed 2017-02-20 01:01:30 +00:00
Jannik Vogel
d92bbcdf0d CMake: Use FindSDL2.cmake from OpenMW 2016-08-12 02:13:22 +02:00
Daniel Evans
ded631dad6 Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
Jannik Vogel
9bfb9f8002 CMake: Use FindSDL2.cmake 2016-06-22 23:58:27 +02:00
Christoph Heiss
649f7b144d Replace SFML with SDL2
This entirely replaces all remaining SFML pieces with SDL2 and
brings OpenRW up to OpenGL 3.3
2016-06-22 12:29:39 +02:00
Timmy Sjöstedt
f5390ad4a6 Include libsndfile & OpenAL 2016-05-30 20:06:13 +02:00
Louis Taylor
811ec2c4fa Copy FindGLM.cmake from glm
This was removed in upstream in the following commit:

    62a7daddcf
2016-05-29 00:35:55 +01:00
Daniel Evans
9f85f283cb CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff. 2016-05-19 22:30:06 +01:00