aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-18 16:40:44 -0800
committerJosh Blum <josh@joshknows.com>2010-03-18 16:40:44 -0800
commit35bcf1c6e696c9f05297c39ba05b4117dfeb8e17 (patch)
tree0b95b3b231d5e502a157acaba8b1e1067f0b3b15 /host/lib
parente24a1e88f62794d8d89736e54cb64242e008c209 (diff)
downloaduhd-35bcf1c6e696c9f05297c39ba05b4117dfeb8e17.tar.gz
uhd-35bcf1c6e696c9f05297c39ba05b4117dfeb8e17.tar.bz2
uhd-35bcf1c6e696c9f05297c39ba05b4117dfeb8e17.zip
created config.hpp to handle export macros, added exports to public api stuff
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index 46e1b0947..8e6bd693c 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -61,6 +61,8 @@ ADD_LIBRARY(uhd SHARED ${libuhd_sources})
TARGET_LINK_LIBRARIES(uhd ${Boost_LIBRARIES})
+SET_TARGET_PROPERTIES(uhd PROPERTIES DEFINE_SYMBOL "UHD_DLL_EXPORTS")
+
INSTALL(TARGETS uhd
LIBRARY DESTINATION ${LIBRARY_DIR}
ARCHIVE DESTINATION ${LIBRARY_DIR}