Commit b6ae425
committed
cmake unity build
* Improve compile times, tested no ccache full compile:
* Linux debug 9800x3d: 1m25s to 25s (3.4x speedup)
* Linux release 9800x3d: ??? to 1m31s (???x speedup)
* Windows debug 9800x3d: 1m21s to 13s (6.2x speedup)
* Windows release 9800x3d: 1m24s to 18s (4.6x speedup)
* Linux debug github runner: 11m50s to ???s (???x speedup)
* Linux release github runner: 13m43s to ??? (???x speedup)
* From ~1.4k obj to ~190
* Lots of files not unity build due to IInput vs vgui::IInput
ambiguity
* Not doing materialsystem as it .inc relies on 1-file-per-obj
* Windows cmd to measure:
* powershell -Command "Measure-Command {cmake --build --preset windows-[debug/release] | Out-Default}"
* fixes #19811 parent b880939 commit b6ae425
67 files changed
Lines changed: 1764 additions & 891 deletions
File tree
- src
- game
- client
- neo/ui
- server
- hl2
- mathlib
- public
- tier1
- vgui_controls
- vgui
- tier1
- vgui2/vgui_controls
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
0 commit comments