Commit Graph

20 Commits

Author SHA1 Message Date
Evgeniy Zheltonozhskiy 22b0cffccd Fix almost all warnings (#157)
There are possible deprecation warnings could be on new ffmpeg. It will be investigated later.

Related to #42.
2018-06-12 01:59:24 +03:00
Evgenii Zheltonozhskii b3cdb38c0b Add clang-format target to CMake and Travis 2018-06-06 11:25:23 +03:00
Alex 69661217d2
Remove PCH (#148)
This commit brings many changes:

1. Remove cotire;
2. Remove PCH files (stdafx.xxx) and mentions;
3. Rearrange and clean includes:
3.1. Remove core includes path, use full header path core/xxx;
3.2. Move object_ptr to separate file base/object_ptr.h;
3.3. Add missing includes;
5. Add forward decls;
6. Get rid of some Qt private parts;
7. Fix ALL compilation errors after removing cotire on Windows, Linux, MacOS.

Closes #133.
Related to #96.
2018-06-04 16:25:31 +03:00
Anton Kashcheev cc8c119b7a Renamed project name in CMakeLists. 2018-04-22 16:16:24 +03:00
Stanislav Ershov bf0dc8e64e Fix warning against overriding '/std:c++latest' with '/std:c++17'
This warning is fixed via updating to CMake 3.10
that learnt to set /std:c++17 for MSVS2017.
2018-03-12 18:30:19 +03:00
Pavel Perekhozhikh 1cb6dcee54 [Refactoring] set current standart to c++17 and change any logic to std::clamp (if it's possible) 2018-02-28 22:12:25 +02:00
crackedmind b25df92d35 Link in threading libraries if necessary 2017-12-20 14:38:02 +02:00
crackedmind e4358bef35 Update cmake for linux builds 2017-12-20 14:38:02 +02:00
Berkus Decker 6c6c23c5a1 Set flag only if supported by the compiler 2017-12-20 14:38:02 +02:00
Berkus Decker b58adbd2b1 Add ALSA and PulseAudio support on Linux 2017-12-20 14:38:02 +02:00
Berkus Decker 44e89b9cbe Set LINUX os flag 2017-12-20 14:38:02 +02:00
Berkus Decker a67bd6e770 Adjust OpenAL detection on Linux systems 2017-12-20 14:38:02 +02:00
Berkus Decker 03b2257931 Fix cmake version check for policy introduced in 3.10 2017-12-20 14:38:02 +02:00
Berkus Decker badbf7a900 Enable tests 2017-12-20 14:38:02 +02:00
Berkus Decker 7e683880be Reorg cmake structure - remove duplication, reorder sections 2017-12-20 14:38:02 +02:00
Berkus Decker 44eb8751e0 Move detection to parent cmake file 2017-12-20 14:38:02 +02:00
Berkus Decker fb783cfd64 Use OpenAL-provided cmake config, update readme 2017-12-20 14:38:02 +02:00
Berkus Decker d2c6b4041a Switch to FindOpus.cmake 2017-12-20 14:38:02 +02:00
Berkus Decker 53996d1983 Suppress policy message about automoc-ing generated files 2017-12-20 14:38:02 +02:00
Berkus Decker c28a457572 Add cmake files 2017-12-20 14:38:02 +02:00