reactos/sdk/cmake
Hermès Bélusca-Maïto 5e673f3118
[CMAKE] MSVC cmake settings improvements.
- 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%
2019-01-12 18:09:51 +01:00
..
Compiler
baseaddress.cmake
baseaddress_dwarf.cmake
baseaddress_msvc.cmake
bison-flex.cmake
CMakeMacros.cmake [MODULES] Add a convenient option to transfer files into a new installation (#877) 2018-11-16 23:26:58 +01:00
compilerflags.cmake
config-amd64.cmake [CMAKE] MSVC cmake settings improvements. 2019-01-12 18:09:51 +01:00
config-arm.cmake [CMAKE] MSVC cmake settings improvements. 2019-01-12 18:09:51 +01:00
config.cmake
gcc.cmake
host-tools.cmake
localization.cmake
midl-support.cmake
msvc.cmake [CMAKE] MSVC cmake settings improvements. 2019-01-12 18:09:51 +01:00
widl-support.cmake
writing_CmakeLists_for_ReactOS.txt