1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
Anonymous Maarten
7d2da28dbc cmake: add ability to compile using conan package manager 2018-06-14 02:26:18 +02:00
Anonymous Maarten
1839b9c29d ctest: allow script_ci.sh to run on non CI machine 2018-06-14 02:18:10 +02:00
Anonymous Maarten
b6a2b2181d cmake: do not override find modules but wrap them separately 2018-06-14 02:10:54 +02:00
darkf
10b18dada2
Merge pull request #403 from madebr/clangtidy
Add clang-tidy support
2018-06-08 09:30:18 -05:00
Filip Gawin
e88d67bc5a Remove none sanitizer Thx @madebr 2018-06-08 10:18:05 +02:00
Filip Gawin
ec92476818 Add sanitizers
Leak sanitizer - tracks leaks.

Address sanitizer - like above and
prohibiteted operations on memory.

Thread sanitizer - tracks data races.

Undefined behaviour - like name says. ;)
2018-06-08 09:35:31 +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
f23304dfcc ctest: do not fail test on failed test submission 2018-02-13 22:15:26 +00:00
Anonymous Maarten
af7b84637d cmake+ci: rewrite ctest + add appveyor 2018-02-13 22:15:26 +00:00
Anonymous Maarten
27fb8bd462 cmake: windows static ffmpeg build has dependency on swresample 2018-02-13 22:15:26 +00:00
Anonymous Maarten
be879ea97e ci: redo error detection of travic cmake test script 2018-02-01 02:12:45 +00:00
Anonymous Maarten
590509037c cmake: let sources depend on the iwyu mapping file 2018-01-08 22:52:48 +00:00
Anonymous Maarten
bb09015cad ctest: No need to run ctest_coverage() twice 2018-01-08 22:52:48 +00:00
Anonymous Maarten
c758160d09 spelling: seperate -> separate 2018-01-05 06:21:34 +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
0078a5c9b5 ci: let travis build tests with both TEST_NODATA=0 and 1 2017-10-31 08:17:34 +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
a0895d0b2c ctest: the get_git_head_revision expects CMAKE_CURRENT_BINARY_DIR to be set 2017-10-29 20:40:57 +00:00
Anonymous Maarten
9e8a96ab7e tests: execute each test separately by CTest
Disabled by default because empty test suites fail and would cause
Travis to fail.
There can be empty test suites when testing with no data.
2017-10-29 20:40:57 +00:00
Anonymous Maarten
a9f8f27b21 cmake: add coverage support 2017-10-29 20:40:57 +00:00
Anonymous Maarten
ed4509fffa ctest: add experimental ctest script + rename ctest extensions to .ctest 2017-10-29 20:40:57 +00:00
Anonymous Maarten
728ac58768 cmake: move options and compiler configuration to separate files 2017-10-29 20:40:57 +00:00
Anonymous Maarten
aa1bbb0b57 ci: use ctest scripts to run the tests 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
d69fdffdd1 Remove mman-win32 dependency 2017-09-16 19:50:51 +01:00
darkf
c08342f1f7 Add FindFFmpeg.cmake 2017-09-16 19:50:51 +01:00
Anonymous Maarten
65b14fcb9c config: use boost::property_tree for INI read and default generation
* remove inih
* input.invert_y has now behavior as described on wiki
2017-02-20 01:01:30 +00: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
5b0f805a1b MinGW: Stop installing mman-win32 in system directory 2016-08-23 23:05:22 +02: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
haphzd
114abe2286 Windows/MinGW-W64 compatibility 2016-07-28 14:46:48 +03: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
Dmitry Marakasov
6582704b05 Use inih as git submodule
ExternalProject use is discouraged.
- Most package build systems do not allow any fetching on
  configure/build stage
- It's insecure the way it's used now, as it does not specify commit
  hash, so it may fetch whatever malicous code and it'll come
  unoticed
2016-05-25 18:28:57 +03:00
Daniel Evans
2ee4a6e533 Add configuration file to replace OPENRW_GAME_PATH env var
This will permit the storage of other user settings like language and
video settings.
2016-05-20 02:10:11 +01:00
Daniel Evans
9f85f283cb CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff. 2016-05-19 22:30:06 +01:00