mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
5e673f3118
- Always use string pooling when building: this helps reducing the size of the binaries due to string redundancy coming from the usage of __FILE__ / __RELFILE__ in the debugging helper macros. Note also that GCC builds use string pooling by default. - Use suitable add_compile_flags() command. - Add some explanative comments for some settings. Some numbers (obtained with my local builds): Before / After => Reduction =========================== freeldr.sys : 443 KB ( 453.632 bytes) / 364 KB ( 372.736 bytes) => ~ 18% win32k.sys : 1877 KB (1.922.048 bytes) / 1562 KB (1.599.488 bytes) => ~ 17% ntoskrnl.exe : 2253 KB (2.307.072 bytes) / 1902 KB (1.947.136 bytes) => ~ 15.6% kernel32.dll : 3008 KB (3.080.192 bytes) / 2906 KB (2.975.744 bytes) => ~ 3.4% |
||
---|---|---|
.. | ||
Compiler | ||
baseaddress.cmake | ||
baseaddress_dwarf.cmake | ||
baseaddress_msvc.cmake | ||
bison-flex.cmake | ||
CMakeMacros.cmake | ||
compilerflags.cmake | ||
config-amd64.cmake | ||
config-arm.cmake | ||
config.cmake | ||
gcc.cmake | ||
host-tools.cmake | ||
localization.cmake | ||
midl-support.cmake | ||
msvc.cmake | ||
widl-support.cmake | ||
writing_CmakeLists_for_ReactOS.txt |