From 521281617cec5d89725c4844eac68b5a772fab57 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sat, 11 Mar 2017 00:27:30 +0100 Subject: Work in Progress Static/Dynamic Lib Fixed. Source Tree cleaned up Compile but to be tested Business Logic not done --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 006ff74..0bd639d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,18 +98,21 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES Debug) SET(include_dirs ${INCLUDE_DIRS} - ${CMAKE_SOURCE_DIR}/AlsaSound/HALayer/include + ${CMAKE_CURRENT_SOURCE_DIR}/Common ${json-c_INCLUDE_DIRS} ${afb-daemon_INCLUDE_DIRS} ) -SET(link_libraries +# AudioCommon is linked statically with each audiobindings +SET(link_libraries + ${CMAKE_BINARY_DIR}/Common/libaudiocommon.a ${libefence_LIBRARIES} ${json-c_LIBRARIES} ) # Bindings to compile # -------------------- +add_subdirectory(Common) add_subdirectory(AlsaSound) add_subdirectory(AudioLogic) add_subdirectory(htdocs) -- cgit 1.2.3-korg