Commit Graph

37 Commits

Author SHA1 Message Date
Bartosz Taudul
25899fef73
Disable ImGui debug tools in non-debug builds. 2024-09-19 20:13:37 +02:00
Bartosz Taudul
0f0f2c6b9b
Compile everything on emscripten with the same set of flags. 2024-09-18 19:13:26 +02:00
Bartosz Taudul
3bb6f1bb68
Adjust link flags for emscripten.
Increase the thread pool to account for background jobs. Increase stack
size, as it was overflowing. Move the pthread flag out of config.cmake.
2024-09-18 19:13:26 +02:00
Bartosz Taudul
97cf0bd11f
Bump freetype to 2.13.3. 2024-09-08 15:33:36 +02:00
Bartosz Taudul
5c1cc80897
Bump capstone to 5.0.3. 2024-08-21 19:22:58 +02:00
Bartosz Taudul
30cbc77e23
Update CPM to 0.40.2. 2024-08-08 19:42:15 +02:00
Bartosz Taudul
5098fc2a70
No mold on emscripten. 2024-07-17 22:54:18 +02:00
Bartosz Taudul
521e371c60
Ignore CMake build directories. 2024-07-12 17:13:16 +02:00
Bartosz Taudul
d9fe3ed9a6
Add CMake option to not use parallel STL. 2024-06-08 00:20:12 +02:00
Bartosz Taudul
005d092903
Don't set debug flags in non-debug builds (to shut up the compiler). 2024-05-24 01:16:06 +02:00
Bartosz Taudul
c5e64a182c
Do not "eliminate unused debug types". It's broken. 2024-05-24 01:07:02 +02:00
Matias Kangasjärvelä
63da2886d1 Enable multi-processor compilation in Visual Studio projects 2024-05-18 15:01:43 +03:00
Bartosz Taudul
813f4243db
Restrict using mold linker to clang. 2024-05-12 19:44:58 +02:00
Bartosz Taudul
d6b059f0cc
Download up-to-date glfw and freetype. 2024-05-06 00:07:56 +02:00
Bartosz Taudul
66a32de0f7
Move physical memory size getter to a separate source file. 2024-05-04 16:53:40 +02:00
Bartosz Taudul
4420f5863f
Workaround CMake + ninja lack of compiler output color. 2024-05-04 13:30:53 +02:00
Bartosz Taudul
a1a7e63d93
Disable assembly in zstd. 2024-04-30 13:44:07 +02:00
Bartosz Taudul
2f8fe4180d
Fix variable name. 2024-03-29 20:00:21 +01:00
Bartosz Taudul
e38d9fa7ce
Use mold linker if available. 2024-03-23 02:08:36 +01:00
Bartosz Taudul
afceec59aa
Enable AVX2 code generation on MSVC. 2024-03-22 22:07:43 +01:00
Bartosz Taudul
aac38a7deb
Update CI.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-22 13:49:08 +01:00
Bartosz Taudul
8b8cd7d28b
Add -pthread to emscripten compile and link commands. 2024-03-21 23:04:41 +01:00
Bartosz Taudul
434d73c7bd
Emscripten support.
Doesn't work due to i64 vs i32 type mismatch in glGetIntegerv, which
seems like some general compatibility bullshit, not something related
to CMake.
2024-03-21 23:04:41 +01:00
Bartosz Taudul
fec5e6bb9c
UNIX variable is true on Apple. 2024-03-21 23:04:40 +01:00
Bartosz Taudul
1df45c00c0
Generate private-code with wayland-scanner. 2024-03-21 23:04:40 +01:00
Bartosz Taudul
71bde8d11a
Add wayland-scanner CMake module.
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake

3dba889fef06c8760edab41159b98aaa4150b9b5
2024-03-21 23:04:40 +01:00
Bartosz Taudul
f523521831
Fix copypasta. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
25898a9c7a
Enable LTO. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
46718851da
Extract some common definitions. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
375f4526df
Set TRACY_VERSION_STRING directly in version.cmake. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
cc4ed68271
Extract common set of server files to a separate cmake build file.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:38 +01:00
Bartosz Taudul
35246b4191
Remove vcpkg. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
970250fc85
Another stupid macro needed for MSVC to not crap the pants. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
1bada6a6fd
Set NOMINMAX on win32. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
ee81795f26
Move discovery of external dependencies to cmake/vendor.cmake.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul
a5f256ca2d
Add CMake Package Manager.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul
061b990875
Move version.cmake to cmake/ subdirectory.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00