Hleb Valoshka
d417525d67
[cmake] Allow C++ standard definition via command line
2021-10-23 12:15:01 +03:00
Hleb Valoshka
481f81c664
[cmake] Use FindFilesystem instead of own code
2021-10-23 12:15:01 +03:00
Hleb Valoshka
58d303478c
[cmake] Set policy CMP0004 to NEW
2021-10-23 12:15:01 +03:00
Levin Li
bf5689574d
Make AVIF optional
2021-10-14 10:35:26 +08:00
Levin Li
7a91ba9311
Update build script
2021-10-14 10:35:26 +08:00
Hleb Valoshka
7b5adfffd3
[cmake] Remove workaround for static libintl
...
We need a more generic and simpler way to add additional dependencies
manually.
2021-06-24 17:59:04 +03:00
Hleb Valoshka
d3cfa9f333
[cmake] Rename FindCspice to FindCSPICE
2021-06-24 17:59:04 +03:00
Hleb Valoshka
1c68ecdd8e
[cmake] Update FindFFMPEG
2021-06-24 17:59:04 +03:00
Levin Li
5d1bcc2256
Remove make_unique compat
2021-06-13 15:50:22 +08:00
Levin Li
fbc165c9d6
Drop C++11 and defaults to build with C++14
2021-06-13 15:50:22 +08:00
Hleb Valoshka
6e83aa9e04
Refactor movie capture to use FFMPEG only
2021-06-06 08:44:21 +03:00
Hleb Valoshka
8dab250f22
Use FFMpeg to capture video
2021-06-06 08:44:21 +03:00
Hleb Valoshka
5af65a58f3
[cmake] Remove cotire usage
...
* It doesn't work with cmake >= 3.12 and M$ VC++ (not a big issue)
* It doesn't work with extern "C" properly (blocks FFMPEG)
* It's unmaintained
2021-06-06 08:44:21 +03:00
Levin Li
bf10d8d6e1
Make theora and gtk usable on Mac
2021-05-09 15:10:51 +08:00
Levin Li
499e115a70
Remove Eigen and fmt submodules
2021-05-03 21:01:55 +03:00
Hleb Valoshka
c9d2b4ac79
[gtk] Allow Gtk3 usage
2021-04-18 10:41:21 +03:00
Hleb Valoshka
0e97ade98a
[gtk] Add own implementation of EGL-capable window
2021-04-18 10:41:21 +03:00
Levin Li
4959ffbe6e
Correctly set __cplusplus with /Zc:__cplusplus
2021-03-14 20:40:59 +08:00
Hleb Valoshka
757fda0e36
Disable more MSVC warnings
2021-03-08 14:08:36 +03:00
Hleb Valoshka
6b14925798
Produce release builds without exceptions and RTTI
2021-03-08 14:08:36 +03:00
Hleb Valoshka
b714d109af
Fix warnings shown by MinGW compiler
2021-03-03 20:18:32 +03:00
Hleb Valoshka
95c24446c1
Add a C++17 compatible string_view implementation
...
Actually there are some limitation caused by the fact that other classes
(e.g. std::string) don't know about string_view, so such limitation must
be handled manually.
2021-03-03 20:18:32 +03:00
Levin Li
b8caa691f4
Use cmake define for filesystem include
2020-11-17 21:08:55 +08:00
Hleb Valoshka
9e956abe3d
Remove support for legacy TXF fonts
2020-06-24 17:14:31 +03:00
Hleb Valoshka
4fd0562386
[win] promote warning C4316 to an error
...
...to prevent program abnormal termination if classes with members of
Eigen::* types are misaligned in memory
2020-06-22 08:24:10 +03:00
Levin Li
0e1983f48a
Update CMakeLists.txt
2020-06-20 14:00:32 +08:00
Levin Li
dbe84c16c4
Update CMakeLists.txt
...
On Mac with Xcode, CMAKE_CXX_COMPILER_ID is AppleClang
2020-06-20 14:00:32 +08:00
Hleb Valoshka
f0110afdd8
[cmake] Add useful policies
2020-06-16 21:59:21 +03:00
Hleb Valoshka
c588f80824
OpenGL ES 2.0 initial support
2020-06-15 19:27:46 +03:00
Hleb Valoshka
54da875bf8
[sdl] Initial implementation of a basic SDL interface
2020-05-12 18:26:27 +03:00
Hleb Valoshka
c5e0697a6c
[cmake] restore compatibility with older cmake
2020-05-05 16:51:57 +03:00
Hleb Valoshka
ae27c1a1b0
Drop GLEW support
2020-05-05 16:51:57 +03:00
Hleb Valoshka
72bf923741
Better handle libintl dependencies
2020-04-13 09:38:48 +03:00
Levin Li
c6a1b75dcf
Update INSTALL.md, rules, CMakeLists.txt
2020-04-11 22:03:24 +08:00
Hleb Valoshka
a325973907
Install data files from git submodule
2020-03-29 09:12:13 +03:00
Hleb Valoshka
aa03364c90
[cmake] don't install data files
2020-03-29 09:12:13 +03:00
Hleb Valoshka
bd7f9ebc9b
Use libepoxy instead of GLEW
...
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka
815c0e46a4
Initial unit tests implementation
2020-03-07 11:05:35 +03:00
Hleb Valoshka
9e433e6cd8
Build configuration cleanup
2020-03-03 20:04:55 +03:00
Hleb Valoshka
fb4bede3d1
Allow building without NLS
2020-02-15 00:20:13 +03:00
Li Linfeng
02bcf41173
do not use wordexp on unsupported systems
2019-11-22 21:16:19 +08:00
Hleb Valoshka
682aef8422
Initial implementation for TrueType fonts support
2019-11-20 12:16:15 +03:00
Hleb Valoshka
00ee0d4bcd
[cmake] Update for vcpkg-provided cspice
2019-11-06 02:31:27 +03:00
Li Linfeng
f8fcc4c0ae
place config.h generation after mac version check
2019-10-29 21:53:28 +08:00
Li Linfeng
7f64139a53
disable c++fs prior to macOS 10.15
2019-10-29 17:44:35 +08:00
Hleb Valoshka
6202c06869
[osx] Silence warnings about deprecated OpenGL
2019-08-27 23:54:27 +03:00
Hleb Valoshka
4c20e54119
[cmake] define required macros for debug builds
2019-08-22 08:55:46 +08:00
Li Linfeng
71ca974838
Replace the apple macro in qt project
2019-08-21 11:59:40 +03:00
Li Linfeng
c820617bb8
Use __APPLE__ in place of TARGET_OS_MAC
2019-08-20 10:19:42 +03:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +03:00