Strip the release executable.
For *some* reason, there's debug info in one of the MinGW-w64 libs, which account for roughly half the bloat of the release exe.
This commit is contained in:
parent
065e63f27c
commit
7059295cb3
1 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,10 @@ endif()
|
||||||
|
|
||||||
target_link_options(MassBuilderSaveTool PRIVATE -static -static-libgcc -static-libstdc++)
|
target_link_options(MassBuilderSaveTool PRIVATE -static -static-libgcc -static-libstdc++)
|
||||||
|
|
||||||
|
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||||
|
target_link_options(MassBuilderSaveTool PRIVATE -Wl,-S)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(MassBuilderSaveTool PRIVATE
|
target_link_libraries(MassBuilderSaveTool PRIVATE
|
||||||
Corrade::Containers
|
Corrade::Containers
|
||||||
Corrade::Utility
|
Corrade::Utility
|
||||||
|
|
Loading…
Reference in a new issue