[CMAKE/MSVC] Enable function level linking and comdat folding independent from build...
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Mar 2016 16:38:26 +0000 (16:38 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Mar 2016 16:38:26 +0000 (16:38 +0000)
commit92100df1fca43bdf3f28126637bdcba6aabbf79b
tree8392724a4f65a812c906fd11445b3c26552a9dce
parent920ada6ae072accc17a9fec0d3c26488e988f256
[CMAKE/MSVC] Enable function level linking and comdat folding independent from build type. This reduces freeldr size and allows to build with /RTC1 again. Since GCC doesn't support function level linking, cmlib should be refactored by moving some functions into different source files to avoid linking unused code into freeldr.

svn path=/trunk/; revision=71066
reactos/cmake/msvc.cmake