diff options
author | Brad King <brad.king@kitware.com> | 2010-06-07 18:30:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-07 18:30:21 (GMT) |
commit | ec66c9db8c89edc037cf4b79cfa7ff9cc1233703 (patch) | |
tree | e10e74f53c77244cd678a4b95f801feb6c1b94cb | |
parent | 1af9bfd82779238b141520981be8004bf30c19b5 (diff) | |
parent | cd3a4f00255d0000ccf0310793f39010666d7021 (diff) | |
download | CMake-ec66c9db8c89edc037cf4b79cfa7ff9cc1233703.zip CMake-ec66c9db8c89edc037cf4b79cfa7ff9cc1233703.tar.gz CMake-ec66c9db8c89edc037cf4b79cfa7ff9cc1233703.tar.bz2 |
Merge branch 'cygwin-exe-export-all'
-rw-r--r-- | Modules/Platform/CYGWIN-GNU.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/CYGWIN-GNU.cmake b/Modules/Platform/CYGWIN-GNU.cmake index 6a80f62..24bb92a 100644 --- a/Modules/Platform/CYGWIN-GNU.cmake +++ b/Modules/Platform/CYGWIN-GNU.cmake @@ -45,6 +45,7 @@ macro(__cygwin_compiler_gnu lang) SET(CMAKE_${type}_LINK_DYNAMIC_${lang}_FLAGS "-Wl,-Bdynamic") ENDFOREACH(type) + set(CMAKE_EXE_EXPORTS_${lang}_FLAG "-Wl,--export-all-symbols") # TODO: Is -Wl,--enable-auto-import now always default? set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,--enable-auto-import") set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS}") |