Issue
I was making a cpp program using Visual Studio. The size of the executable was 490 KB.
But when i make the same executable by creating CMake Project in visual studio, the size of the executable is 1140 KB.
Both works, however.
Solution
It was found that CMake was building RelWithDebInfo set(CMAKE_BUILD_TYPE Release) solved my problem. Size of executable was reduced to 483 KB.
Answered By - habi Answer Checked By - Timothy Miller (WPSolving Admin)