Strip debugging symbol table entries on OS X Release builds.
authorAditya Mandaleeka <adityam@microsoft.com>
Tue, 7 Jun 2016 23:01:32 +0000 (16:01 -0700)
committerAditya Mandaleeka <adityam@microsoft.com>
Tue, 7 Jun 2016 23:01:32 +0000 (16:01 -0700)
functions.cmake

index 345903b..9b77ad4 100644 (file)
@@ -113,7 +113,7 @@ function(strip_symbols targetName outputFilename)
           POST_BUILD
           VERBATIM 
           COMMAND ${DSYMUTIL} --flat --minimize ${strip_source_file}
-          COMMAND ${STRIP} -u -r ${strip_source_file}
+          COMMAND ${STRIP} -S ${strip_source_file}
           COMMENT Stripping symbols from ${strip_source_file} into file ${strip_destination_file}
         )
       elseif(CMAKE_SYSTEM_NAME STREQUAL Linux)