diff options
author | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2017-08-29 20:58:47 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2017-08-29 20:58:47 +0900 |
commit | 2e602801b372b0b68111316b89f567213e3ea378 (patch) | |
tree | c7d53d765baba6d1cf2435eb51d913fd6abe6c11 /cmake | |
parent | f743c3428f41b8d127e538ea8a6505a0c882cdb2 (diff) |
Add sound manager initial source code
First version 2017/08/29
SoundManager consists of main 4 parts
1. doc
Document of sound manager and audio manager architecture
This describes application sequence
Please open ApplicationGuide.md with browser
2. include
Contains API of libsoundmanager
LibSoundmanager API is going to be modified, so please don't use for now
Update will be done in near future
3. soundmanager_binding
Contains soundmanager binding. This is the service midleware
If installing this, soundmanager is automatically launched by AppFW(systemd)
4. sample
Contains sample applications. These applications follow the AudioManager sequence and using soundmanager binding
Change-Id: I75b6c5c652e1dc00b39bc499a2ee6bf1e2aeaf6d
Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/Findgtest.cmake | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cmake/modules/Findgtest.cmake b/cmake/modules/Findgtest.cmake new file mode 100644 index 0000000..8ea850f --- /dev/null +++ b/cmake/modules/Findgtest.cmake @@ -0,0 +1,38 @@ +SET(MODULE_NAME gtest) + +SET(${MODULE_NAME}_FOUND FALSE) + +FIND_PATH(${MODULE_NAME}_INCLUDE_DIRS + NAMES gtest/gtest.h + PATHS /usr/include /usr/local/include +) + +FIND_LIBRARY(LIB_GTEST + NAMES gtest + PATHS /usr/lib + /usr/lib64 + /usr/local/lib + /usr/local/lib64 +) + +FIND_LIBRARY(LIB_GTEST_MAIN + NAMES gtest_main + PATHS /usr/lib + /usr/lib64 + /usr/local/lib + /usr/local/lib64 +) + +IF(LIB_GTEST AND LIB_GTEST_MAIN) + SET(${MODULE_NAME}_FOUND TRUE) + SET(${MODULE_NAME}_LIBRARIES ${LIB_GTEST} ${LIB_GTEST_MAIN}) +ENDIF() + +MARK_AS_ADVANCED( + ${MODULE_NAME}_FOUND + ${MODULE_NAME}_INCLUDE_DIRS + ${MODULE_NAME}_LIBRARIES +) + +MESSAGE(STATUS "${MODULE_NAME}_INCLUDE_DIRS: ${${MODULE_NAME}_INCLUDE_DIRS}") +MESSAGE(STATUS "${MODULE_NAME}_LIBRARIES: ${${MODULE_NAME}_LIBRARIES}") |