summaryrefslogtreecommitdiff
path: root/src/ToolBox/SOS
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-03-22 14:28:18 -0700
committerMike McLaughlin <mikem@microsoft.com>2016-03-22 14:28:18 -0700
commitcfe34e6d0ed068caab9c4ee370549e86db4ee2bd (patch)
treecfc60ded18c454e47ccca85f34383a4d7b0edfd2 /src/ToolBox/SOS
parent672176b73de7bea8bf66457152ae0c19f156cb56 (diff)
parent4efef62f0ead16b4f8ca2c6ccf0a77ce112f73b9 (diff)
downloadcoreclr-cfe34e6d0ed068caab9c4ee370549e86db4ee2bd.tar.gz
coreclr-cfe34e6d0ed068caab9c4ee370549e86db4ee2bd.tar.bz2
coreclr-cfe34e6d0ed068caab9c4ee370549e86db4ee2bd.zip
Merge pull request #3794 from mikem8361/stripsym
Strip symbols on release builds into separate binaries
Diffstat (limited to 'src/ToolBox/SOS')
-rw-r--r--src/ToolBox/SOS/Strike/CMakeLists.txt11
-rw-r--r--src/ToolBox/SOS/lldbplugin/CMakeLists.txt2
2 files changed, 6 insertions, 7 deletions
diff --git a/src/ToolBox/SOS/Strike/CMakeLists.txt b/src/ToolBox/SOS/Strike/CMakeLists.txt
index f4b157b2c7..77d929d69b 100644
--- a/src/ToolBox/SOS/Strike/CMakeLists.txt
+++ b/src/ToolBox/SOS/Strike/CMakeLists.txt
@@ -146,9 +146,8 @@ add_dependencies(sos mscordaccore)
target_link_libraries(sos ${SOS_LIBRARY})
# add the install targets
-install (TARGETS sos DESTINATION .)
-if(WIN32)
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/sos.pdb DESTINATION PDB)
-else(WIN32)
- install (FILES sosdocsunix.txt DESTINATION .)
-endif(WIN32)
+install_clr(sos)
+
+if(NOT WIN32)
+ install(FILES sosdocsunix.txt DESTINATION .)
+endif(NOT WIN32)
diff --git a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
index 90fbcbd4e1..438ae33478 100644
--- a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
+++ b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
@@ -93,4 +93,4 @@ if (CLR_CMAKE_PLATFORM_UNIX)
endif()
# add the install targets
-install (TARGETS sosplugin DESTINATION .)
+install_clr(sosplugin) \ No newline at end of file