summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum2012-09-28 21:17:40 -0700
committerJosh Blum2012-09-28 21:17:40 -0700
commita6850d87f4f0be82605e00f41cf00da726b87569 (patch)
tree0392e75155cd1991f55e0925e5c89706097b2d19 /lib
parent0aec712e35b937479b99b6486f91fc182217b1a9 (diff)
downloadsandhi-a6850d87f4f0be82605e00f41cf00da726b87569.tar.gz
sandhi-a6850d87f4f0be82605e00f41cf00da726b87569.tar.bz2
sandhi-a6850d87f4f0be82605e00f41cf00da726b87569.zip
started apology integration, removed tsbe
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt38
1 files changed, 13 insertions, 25 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index fd24ccd..73a919c 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -9,37 +9,25 @@ set(GRAS_BINARY_DIR ${CMAKE_BINARY_DIR}/gruel/src)
set(RUNTIME_SOURCE_DIR ${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/runtime)
########################################################################
-# Setup TSBE
+# Setup Theron Deps
########################################################################
-include_directories(${GRAS_SOURCE_DIR}/tsbe/include)
-include_directories(${GRAS_SOURCE_DIR}/tsbe/lib)
+set(THERON_SOURCE_DIR ${GRAS_SOURCE_DIR}/Theron)
+include(${THERON_SOURCE_DIR}/TheronSetup.cmake)
+include_directories(${THERON_INCLUDE_DIRS})
+link_directories(${THERON_LIBRARY_DIRS})
+add_definitions(${THERON_DEFINES})
-file(GLOB tsbe_sources
- "${GRAS_SOURCE_DIR}/tsbe/lib/*.cpp"
-)
-
-list(APPEND gnuradio_core_sources ${tsbe_sources})
+list(APPEND gnuradio_core_libs ${THERON_LIBRARIES})
+list(APPEND gnuradio_core_sources ${THERON_SOURCES})
########################################################################
-# Setup Theron
+# Setup Apology Deps
########################################################################
-include_directories(${GRAS_SOURCE_DIR}/Theron/Include)
-include_directories(${GRAS_SOURCE_DIR}/Theron/Include/External)
-
-if(MSVC)
- include_directories(${GRAS_SOURCE_DIR}/Theron/Include/External/Standard)
-endif(MSVC)
-
-if (NOT WIN32) #not on windows? tell theron headers to use boost
- add_definitions(-DTHERON_USE_BOOST_THREADS)
-endif()
-
-file(GLOB theron_sources
- "${GRAS_SOURCE_DIR}/Theron/Theron/*.cpp"
- "${GRAS_SOURCE_DIR}/Theron/Source/*.cpp"
-)
+include_directories(${GRAS_SOURCE_DIR}/Apology/include)
+include_directories(${GRAS_SOURCE_DIR}/Apology/lib)
-list(APPEND gnuradio_core_sources ${theron_sources})
+file(GLOB apology_sources "${GRAS_SOURCE_DIR}/Apology/lib/*.cpp")
+list(APPEND gnuradio_core_sources ${apology_sources})
########################################################################
# Setup NumaNuma