cmake creates a huge binary when i have a standard library

I’ve got the problem. In my CMakeLists.txt file was present

add_compile_options(-Wall -Werror -std=c++17 -g)



did not have any effect.

I just removed -g parameter and Debug symbols simply disappear from output binary

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top