summaryrefslogtreecommitdiffstats
path: root/ALSA-afb
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-05-04 22:18:18 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-05-04 22:18:18 +0200
commit4af77058f518b8326b514970e627ba289dfcf36a (patch)
treedc0366d9baa016355adf08f067000917b0ad7909 /ALSA-afb
parentea5beb82ccad84fe465c8b28794fab2a2b1cd6d4 (diff)
Move to New Template (work in progress)
Diffstat (limited to 'ALSA-afb')
-rw-r--r--ALSA-afb/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ALSA-afb/CMakeLists.txt b/ALSA-afb/CMakeLists.txt
index f18449a..8ba1a78 100644
--- a/ALSA-afb/CMakeLists.txt
+++ b/ALSA-afb/CMakeLists.txt
@@ -17,25 +17,25 @@
###########################################################################
# Add target to project dependency list
-PROJECT_TARGET_ADD(alsa-afb)
+PROJECT_TARGET_ADD(alsa-lowlevel)
# Define project Targets
- ADD_LIBRARY(alsa-afb MODULE Alsa-ApiHat.c Alsa-SetGet.c Alsa-Ucm.c)
+ ADD_LIBRARY(alsa-lowlevel MODULE Alsa-ApiHat.c Alsa-SetGet.c Alsa-Ucm.c)
# Binder exposes a unique public entry point
- SET_TARGET_PROPERTIES(alsa-afb PROPERTIES
- PREFIX ""
- LINK_FLAGS ${BINDINGS_LINK_FLAG}
- OUTPUT_NAME alsa-lowlevel-binding
+ SET_TARGET_PROPERTIES(alsa-lowlevel PROPERTIES
+ PREFIX "afb-"
+ LABELS "BINDING"
+ LINK_FLAGS ${BINDINGS_LINK_FLAG}
+ OUTPUT_NAME ${TARGET_NAME}
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(alsa-afb
+ TARGET_LINK_LIBRARIES(alsa-lowlevel
audio-interface
${link_libraries}
)
# installation directory
- INSTALL(TARGETS alsa-afb
+ INSTALL(TARGETS alsa-lowlevel
LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})
-