summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-18 04:11:47 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-18 04:11:47 (GMT)
commit2dd364f751055ff86d7f50dccceda0d097c94f84 (patch)
treed03ec867e2cff54701972a2c9d200054e27d781f /Modules
parent4241e699c770d326602d1bc424f0d2e2f475ec76 (diff)
downloadCMake-2dd364f751055ff86d7f50dccceda0d097c94f84.zip
CMake-2dd364f751055ff86d7f50dccceda0d097c94f84.tar.gz
CMake-2dd364f751055ff86d7f50dccceda0d097c94f84.tar.bz2
ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/QNX.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
index e3e19f7..6c38af1 100644
--- a/Modules/Platform/QNX.cmake
+++ b/Modules/Platform/QNX.cmake
@@ -13,6 +13,8 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
+SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
+SET(CMAKE_EXE_EXPORTS_CXX_FLAG "-Wl,--export-dynamic")
# Initialize C link type selection flags. These flags are used when
# building a shared library, shared module, or executable that links