1
General discussions / What type of library does different CMAKE_BUILD_TYPE generate?
« on: February 03, 2018, 02:45:49 pm »
I see different CMAKE_BUILD_TYPE option in CMake. I especially want to know about MinSizeRel.
The *.lib file generated are all have different sizes (even between Release and RelWithDebInfo).
I know that:
- Debug : Build un-optimized debug library with debugging symbol (.pdb)
- Release : Build optimized library without debugging symbol.
- RelWithDebInfo : ?? Build optimized library with debugging symbol ??
- MinSizeRel : ?
The documentation here https://www.sfml-dev.org/tutorials/2.4/compile-with-cmake.php stated that the last two are meant for more advanced build and doesn't explain further.
Can somebody explain?
The *.lib file generated are all have different sizes (even between Release and RelWithDebInfo).
I know that:
- Debug : Build un-optimized debug library with debugging symbol (.pdb)
- Release : Build optimized library without debugging symbol.
- RelWithDebInfo : ?? Build optimized library with debugging symbol ??
- MinSizeRel : ?
The documentation here https://www.sfml-dev.org/tutorials/2.4/compile-with-cmake.php stated that the last two are meant for more advanced build and doesn't explain further.
Can somebody explain?