Commit Graph

20 Commits

Author SHA1 Message Date
Guilhem Massol
f3086cfced [Compilation] Fix Clang 23 2026-05-12 22:45:56 +02:00
Gliniak
3e1bff213d [Cmake] Fixed whoopsie. Disabled profiler from default 2026-05-09 11:31:12 +02:00
Gliniak
ec18a89da4 [APP] Allow profiler to be enabled via cmake option
- Hide profiler buttons if profiler is disabled
- From default it is disabled
2026-05-04 19:53:37 +02:00
Adrian
5174c2f2e0 [BUILD] Remove IMGUI_USE_STB_SPRINTF for checked builds 2026-04-22 19:50:17 +02:00
Herman S.
02ca07484c [Build] Ensure clang/lld are pinned to the correct version 2026-03-27 14:54:15 +09:00
Herman S.
57c4051eca [macOS] Build infrastructure and portability fixes
Build system:
- Enable ObjC++, macOS deployment target, framework linking
- Fix AppleClang detection
- macOS platform name for output directories
- Skip Vulkan on macOS, null graphics without Vulkan dependency
- macOS SDL2 framework detection and discord-rpc macOS sources

Portability fixes:
- mach_absolute_time for macOS tick counting
- _NSGetExecutablePath for macOS
- guard MAP_FIXED_NOREPLACE, ftruncate64->ftruncate
- guard Vulkan include/usage, fix data root for all POSIX
2026-03-27 02:44:00 +09:00
Herman S.
5fcb6985e7 [Build] Mark third-party includes as SYSTEM to suppress warnings
Prevents -Werror from failing on warnings in code we don't control
2026-03-26 23:49:21 +09:00
Herman S.
648b2bad78 [Build/A64] Extend ARM64 architecture detection for macOS 2026-03-26 23:10:47 +09:00
Herman S.
6c20f64e0d [Build] Guard Linux-specific CMake config behind platform check
GTK3, system SDL2 (pkg-config), Linux link libraries, linker groups,
and _GLIBCXX_DEBUG were in the generic non-MSVC branch, breaking
cmake configure on non-Linux POSIX platforms.
2026-03-26 23:10:47 +09:00
Herman S.
883c2030d0 [ARM64] Initial commit for arm64 backend
Based entirely off existing xbyak x86 implementation and available
tests. Still needs a lot of optimization and testing on non-Windows
platforms.

So far passes all tests and boots at least some games on Windows.
2026-03-22 15:57:37 +09:00
Gliniak
1c529287a3 [Build] Revert of 3791149f34 2026-03-20 23:38:05 +01:00
Gliniak
3791149f34 [Build] Fixed incorrect destination for VS executable 2026-03-20 21:54:59 +01:00
Gliniak
00001a4fb1 [Build] Fixed missing version.h in Visual Studio 2026-03-20 21:34:31 +01:00
Herman S.
1e8f1837cf [Build] Use CMAKE_BINARY_DIR for output paths and version.h include
version.h is now found via CMAKE_BINARY_DIR on the include path instead
of a hardcoded "build/version.h" path. This allows out-of-tree and
multi-config builds to each generate and find their own version header
without colliding.
2026-03-21 01:30:31 +09:00
Herman S.
65de2491b5 [Build] Include .pdb files with Release target 2026-03-17 14:25:58 +09:00
Herman S.
086decfa6e [Build] Enable test discovery in VS Test Explorer 2026-03-05 16:18:23 +09:00
Gliniak
e576f3d924 [Cmake] Added directory split in Visual studio (and probably other IDEs)
Back as it was:
- src
- third_party

There is CmakePredefinedTargets, but it cannot be hidden
There is also an issue with tests as they aren't visible
2026-03-04 20:12:09 +01:00
Herman S.
4bd93883ac [Build] Convert buildshaders to custom build rules 2026-03-04 20:57:42 +09:00
Herman S.
a09292c98f [Build] Fix VS to send Debug build output to the same place as Ninja 2026-03-04 20:57:41 +09:00
Herman S.
71c5702ee8 [Build] Convert build system to raw cmake and remove premake layer 2026-03-04 17:37:36 +09:00