diff options
author | Davis Goodin <dagood@users.noreply.github.com> | 2017-03-06 11:40:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 11:40:56 -0600 |
commit | 61619268805bace6b730de1237fd3c7545eb99b5 (patch) | |
tree | 88ab014e32723820014e813e22a7b5a2b071e8e9 /functions.cmake | |
parent | ccf4cb343f6b9f47fc4b08d8811ead1caa3c706c (diff) | |
download | coreclr-61619268805bace6b730de1237fd3c7545eb99b5.tar.gz coreclr-61619268805bace6b730de1237fd3c7545eb99b5.tar.bz2 coreclr-61619268805bace6b730de1237fd3c7545eb99b5.zip |
Add stripSymbols argument; refactor symbol package build (#9664)
* Add argument to explicitly enable symbol stripping
* Refactor symbol package build
* Remove unnecessary native file distinctions
* Remove unnecessary WindowsSymbolFile step
Diffstat (limited to 'functions.cmake')
-rw-r--r-- | functions.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.cmake b/functions.cmake index 7d69dcb707..cbcc70f4d1 100644 --- a/functions.cmake +++ b/functions.cmake @@ -121,7 +121,7 @@ endfunction() function(strip_symbols targetName outputFilename) if (CLR_CMAKE_PLATFORM_UNIX) - if (UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE) + if (STRIP_SYMBOLS) # On the older version of cmake (2.8.12) used on Ubuntu 14.04 the TARGET_FILE # generator expression doesn't work correctly returning the wrong path and on @@ -158,7 +158,7 @@ function(strip_symbols targetName outputFilename) endif (CMAKE_SYSTEM_NAME STREQUAL Darwin) set(${outputFilename} ${strip_destination_file} PARENT_SCOPE) - endif(UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE) + endif (STRIP_SYMBOLS) endif(CLR_CMAKE_PLATFORM_UNIX) endfunction() |