Skip to content

Commit f1a64d4

Browse files
feat: strip executable in release builds
1 parent 97e33cc commit f1a64d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ target_link_options(
2020
PRIVATE
2121
-static
2222
-static-libgcc
23+
$<$<CONFIG:Release>:-s>
2324
)
2425

2526
target_include_directories(

0 commit comments

Comments
 (0)