Aarni Koskela
76c310eade
Use CMAKE_OSX_DEPLOYMENT_TARGET 15.0 by default
...
As it is, the CI-built macOS binaries refuse to work on
macOS Sequoia because it defaults to the runner machine's level.
This sets a lower-than-default default for the target.
2026-09-02 10:39:36 +03:00
Bartosz Taudul
d8139f2058
Allow disabling LTO, mold linker, ccache.
2026-03-31 23:15:15 +02:00
Bartosz Taudul
5877db5411
Move NO_ISA_EXTENSIONS option to config.cmake.
2026-03-31 23:15:14 +02:00
Bartosz Taudul
e89eadf91a
Fix copy pasta.
2026-03-31 23:15:11 +02:00
Alex Gunnarson
921d426488
Add conditional compilation option for MSVC
2025-12-17 15:26:58 -07:00
Igor S. Gerasimov
ade4182214
Tracy can not be compiled for too old target
2025-11-26 14:14:08 +01:00
Bartosz Taudul
b04dfcd43d
Use ccache if available.
2025-02-21 23:27:15 +01:00
foxtran
07d38d608e
Enable -fexperimental-library only for C++
2024-12-20 11:55:18 +01:00
foxtran
01a7f62650
Enable -fexperimental-library only for AppleClang
2024-12-20 11:39:49 +01:00
Bartosz Taudul
ee06542f1f
Restrict mold linker to Linux.
2024-10-30 17:11:51 +01:00
Bartosz Taudul
0e47224578
Universally use add_compile_options().
2024-09-27 14:10:30 +02:00
Bartosz Taudul
8f8871454c
Fix macos build, hopefully.
2024-09-26 16:02:47 +02:00
Bartosz Taudul
f6882e2a5d
Use a proper way to enable compiler diagnostics with color.
2024-09-23 23:11:08 +02:00
Bartosz Taudul
7792b95443
Workaround MSVC mutex fubar.
2024-09-23 23:10:11 +02:00
Bartosz Taudul
821f2f907b
Tracy compiles its own freetype.
2024-09-20 21:46:32 +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
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
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
4420f5863f
Workaround CMake + ninja lack of compiler output color.
2024-05-04 13:30:53 +02: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
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
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