OSDN Git Service
(root)
/
yamml
/
yamml-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0dc08
)
MinGW のリリースビルドではシンボルを削除するようにした
author
starg
<starg@users.osdn.me>
Mon, 11 Jul 2016 09:56:42 +0000
(18:56 +0900)
committer
starg
<starg@users.osdn.me>
Mon, 11 Jul 2016 09:56:42 +0000
(18:56 +0900)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c146e3d
..
898255d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-64,6
+64,10
@@
if("${CMAKE_BUILD_TYPE}" MATCHES "Rel")
set(Boost_USE_DEBUG_RUNTIME OFF)
endif()
+if("${CYGWIN}" OR "${MINGW}")
+ list(APPEND CMAKE_EXE_LINKER_FLAGS_RELEASE "-s")
+endif()
+
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
include(cmake/common.cmake)