summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-02-23 16:37:41 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-02-26 17:57:14 +0900
commit2be9164eed151e28452f4db8bb60a1d72c21c2ff (patch)
tree30062d82b33a6d4bf7221319d852e0e7188973d0 /src/CMakeLists.txt
parent0b29aa285d9c91c7b8d8b1a1148824a3068fff59 (diff)
Add high level API functions
Add the following functions * stream_open * stream_close * set_stream_state The functions are not impremented yet. Change-Id: I881ae61978c04bb8cecffbe30a9b821d1e49c43a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1ec3336..7a29782 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,6 +27,13 @@ set(binding_sm_sources
sm-helper.c
dbus/audio_manager_interface.c)
+option(ENABLE_AGL_AHL "Implement AGL High Level API" ON)
+
+if(ENABLE_AGL_AHL)
+ message(STATUS "Adopt high level API of AGL")
+ add_definitions(-DENABLE_AGL_AHL)
+endif()
+
include_directories(dbus)
link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined)