Commit Graph

11 Commits

Author SHA1 Message Date
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