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

24 Commits

Author SHA1 Message Date
Filip Gawin
f62a0d2b47 cmake: add -Wold-style-cast warning check to CXX sources (thx @madebr) 2018-07-29 22:21:01 +02:00
Daniel Evans
caa1e1eee0
Merge pull request #508 from madebr/conan
Add support for Conan
2018-07-03 23:14:46 +01:00
Christoph Heiss
359d61e544
cmake: Fix linking failure when using the C++17 or C++TS filesystem library on macOS. 2018-06-26 14:16:10 +02:00
Anonymous Maarten
7d2da28dbc cmake: add ability to compile using conan package manager 2018-06-14 02:26:18 +02:00
Anonymous Maarten
e4788b4229 cmake: add configuration option for static Boost 2018-06-14 02:18:06 +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
8f70b36d6f cmake: include all dependencies at top of main CMakeLists.txt 2018-06-14 02:10:54 +02:00
Anonymous Maarten
8f86154ec8 cmake: expand module path before configure rw_interface 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
c862da5ac1 cmake: add clang-tidy autofix option 2018-06-07 04:55:21 +02:00
Anonymous Maarten
6e33af303e cmake: add support clang-tidy (=C/C++ linter) 2018-06-07 04:55:21 +02:00
Anonymous Maarten
af7b84637d cmake+ci: rewrite ctest + add appveyor 2018-02-13 22:15:26 +00:00
Anonymous Maarten
fdb669a518 cmake: detect compiler and pass arguments accordingly 2018-02-13 22:15:26 +00:00
Lucas Eriksson
6f50fa4ab7 Add experimental flag needed by glm 0.9.9 2018-02-10 17:03:27 +00:00
Anonymous Maarten
90acef28f7 rwlib: iwyu: reduce warnings
- use mapping file
- forward define FileContentsInfo, CutsceneTracks, GameTexts
- no more "#pragma once"
- add mapping file
2018-01-08 22:52:48 +00:00
Anonymous Maarten
0422a6b5c0 cmake: Do not overwrite INTERFACE_LINK_LIBRARIES prop on TEST_COVERAGE 2018-01-05 06:21:34 +00:00
Anonymous Maarten
4dc7da89ad tests: boost 1.64 has a print_log_value<nullptr_t> implementation
fixes:
error C2766: explicit specialization;
'boost::test_tools::tt_detail::print_log_value<std::nullptr_t>' has
already been defined
C:\Boost\include\boost-1_64\boost/test/tools/detail/print_helper.hpp(169):
note: see previous definition of 'print_log_value<std::nullptr_t>
2017-12-17 01:31:09 +00:00
Daniel Evans
9c48b4424a Add build time option for CXX17 or boost filesystem 2017-10-31 00:55:19 +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
a9f8f27b21 cmake: add coverage support 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